Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access Cfn layer of resource class software.amazon.awscdk.Resource$Jsii$Proxy #4280

Closed
FrankFAmz opened this issue Sep 26, 2023 · 1 comment
Labels
bug This issue is a bug. language/java Related to Java bindings needs-reproduction This issue needs reproduction. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@FrankFAmz
Copy link

Describe the bug

recently we got a weird issue when merged from live in pipeline:
Exception in thread "main" java.lang.RuntimeException: Cannot access Cfn layer of resource class software.amazon.awscdk.Resource$Jsii$Proxy

image

Would be appreciate it if someone can bring something helpful

Expected Behavior

version set build passed

Current Behavior

merge from live failed

Reproduction Steps

@jsii/kernel.RuntimeError: Cannot access Cfn layer of resource class software.amazon.awscdk.Resource$Jsii$Proxy
at KernelHost.completeCallback (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11674:35)
at KernelHost.processRequest (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11720:24)
at KernelHost.completeCallback (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11678:33)
at KernelHost.processRequest (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11720:24)
at KernelHost.completeCallback (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11678:33)
at KernelHost.processRequest (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11720:24)
at KernelHost.completeCallback (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11678:33)
at KernelHost.processRequest (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11720:24)
at KernelHost.completeCallback (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11678:33)
at KernelHost.processRequest (/tmp/jsii-java-runtime5041658735360254138/lib/program.js:11720:24)
at software.amazon.jsii.JsiiRuntime.processErrorResponse(JsiiRuntime.java:147)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:116)
at software.amazon.jsii.JsiiRuntime.processCallbackResponse(JsiiRuntime.java:197)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:121)
at software.amazon.jsii.JsiiRuntime.processCallbackResponse(JsiiRuntime.java:197)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:121)
at software.amazon.jsii.JsiiRuntime.processCallbackResponse(JsiiRuntime.java:197)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:121)
at software.amazon.jsii.JsiiRuntime.processCallbackResponse(JsiiRuntime.java:197)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:121)
at software.amazon.jsii.JsiiRuntime.processCallbackResponse(JsiiRuntime.java:197)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:121)
at software.amazon.jsii.JsiiRuntime.processCallbackResponse(JsiiRuntime.java:197)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:121)
at software.amazon.jsii.JsiiRuntime.processCallbackResponse(JsiiRuntime.java:197)
at software.amazon.jsii.JsiiRuntime.requestResponse(JsiiRuntime.java:121)
at software.amazon.jsii.JsiiClient.callMethod(JsiiClient.java:184)
at software.amazon.jsii.Kernel.call(Kernel.java:52)
at software.amazon.awscdk.Stage.synth(Stage.java:109)

Possible Solution

No response

Additional Information/Context

No response

SDK version used

Aws-cdk-lib-java-2.x, Maven-software-amazon-jsii_jsii-runtime-1.x

Environment details (OS name and version, etc.)

AL2_x86_64

@FrankFAmz FrankFAmz added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 26, 2023
@mrgrain mrgrain added the language/java Related to Java bindings label May 15, 2024
@mrgrain mrgrain added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jun 4, 2024
@mrgrain mrgrain closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
Copy link
Contributor

github-actions bot commented Jun 4, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

@mrgrain mrgrain added needs-reproduction This issue needs reproduction. and removed needs-triage This issue or PR still needs to be triaged. labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. language/java Related to Java bindings needs-reproduction This issue needs reproduction. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants