-
Notifications
You must be signed in to change notification settings - Fork 24
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
ClassCastException from expound-str
when running in AWS Lambda
#216
Comments
Ah, the runtime is |
Thanks for reporting this! I'm not super familiar with Lambda. Are you using a tool to create an uberjar? If so, which tool? Can you reproduce by running the uberjar locally? The reason I ask is that the error message matches these bugs in various tools: healthfinch/depstar#10 If you can reproduce locally, I wonder if it's possible to shrink the repro by just using |
Ah, yes, I’m using depstar. I’ll try to reproduce locally. Thanks! |
Did you have any luck tracking down a repro for this locally? |
@bhb I just spent an hour trying to reproduce, but so far I have been unsuccessful. If you have any suggestions, please share. Thanks! |
🤔 I guess the next thing would be to try to run the repro code in an actual Lambda “function” on the actual Lambda service. I don’t have time for that right now… maybe later this week… |
In case it helps, I see |
@aviflax I'm going to close this, since it appears to be an issue with the classloader. |
I’m using Expound in an AWS Lambda function to provide useful error messages when the invocation payload is invalid. This works when I test it locally using a vanilla JRE, but fails when running in AWS Lambda.
I don’t understand the error message, so I don’t think I can be any more helpful than just providing it as a bug report and asking: is there something we can do about this?
The error:
The text was updated successfully, but these errors were encountered: