aws / jsii

jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS Cloud Development Kit to deliver polyglot libraries from a single codebase!
https://aws.github.io/jsii
Apache License 2.0
2.6k stars 243 forks source link

com.amazon.ask.Skill cannot be cast to com.amazon.ask.AlexaSkill #2232

Closed sravani-chil closed 3 years ago

sravani-chil commented 3 years ago
START RequestId: 036aa13f-318f-4ab4-bfc0-b79de8a80b12 Version: $LATEST
com.amazon.ask.Skill cannot be cast to com.amazon.ask.AlexaSkill: java.lang.ClassCastException
java.lang.ClassCastException: com.amazon.ask.Skill cannot be cast to com.amazon.ask.AlexaSkill
    at com.main.HelloWorldStreamHandler.<init>(HelloWorldStreamHandler.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

END RequestId: 036aa13f-318f-4ab4-bfc0-b79de8a80b12
REPORT RequestId: 036aa13f-318f-4ab4-bfc0-b79de8a80b12  Duration: 119.34 ms Billed Duration: 200 ms Memory Size: 512 MB Max Memory Used: 100 MB Init Duration: 1132.02 ms   
com.amazon.ask.Skill cannot be cast to com.amazon.ask.AlexaSkill
java.lang.ClassCastException

:bug: Bug Report

Affected Languages

General Information

What is the problem?

Verbose Log

SomayaB commented 3 years ago

Hi @sravani-chil, can you provide more details to help us understand the issue you encountered. Please fill in the issue template by editing the body of the issue above.

github-actions[bot] commented 3 years ago

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.