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
NullPointerException when creating ScalingPolicyController #249
Comments
This is a know issue with Java 7 and Asgard. We checked in a fix (#246) last week. For now, you can either switch to Java 6 or build Asgard from source. We'll try to have new release version of Asgard published by the end of the week containing the fix. |
Ah - thanks for the detail. If that changes, I'll just grab the source and build it myself. |
I'm having a similar error using Java "1.6.0_24". I get the error bellow trying to create an autoscaling policy or trying to access an already created. Even with an error, the policy is created.
|
@phstc Do you know if you were running OpenJDK or Oracle JDK when you saw the NullPointerException in TypeResolver? I've seen TypeResolver errors in the past when running on OpenJDK 6. Switching to Oracle JDK 6 fixed the problem at the time. It's also possible that some of your Asgard files were cached in Tomcat's work directory, so replacing the Asgard war file wasn't sufficient for a complete upgrade. If you still the see the problem, try stopping Tomcat, replacing the Asgard war with the latest release, then deleting Tomcat's work directory, then restarting Tomcat. |
I got these errors running Oracle JDK. Now, I'm using only the standalone version, it is working well. |
Ubuntu 12.10, running the latest standalone jar (v1.1.1) file from https://netflix.box.com/asgard
After creating an application and ASG, I went to add a scaling policy, and got a NullPointerException
The text was updated successfully, but these errors were encountered: