Comments (5)
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.
from asgard.
Ah - thanks for the detail.
I'm happy to wait for the next release - it's not critical for me right now.
If that changes, I'll just grab the source and build it myself.
from asgard.
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.
Error 500: Executing action [show] of controller [com.netflix.asgard.ScalingPolicyController] caused exception: Runtime error executing action
Servlet: grails
URI: /asgard/grails/scalingPolicy/show.dispatch
Exception Message:
Caused by:
Class: ScalingPolicyController
At Line: [83]
Code Snippet:
java.lang.NullPointerException
at com.sun.beans.TypeResolver.resolve(TypeResolver.java:321)
at com.sun.beans.TypeResolver.resolve(TypeResolver.java:351)
at com.sun.beans.TypeResolver.resolve(TypeResolver.java:172)
at com.sun.beans.TypeResolver.resolveInClass(TypeResolver.java:93)
at java.beans.FeatureDescriptor.getParameterTypes(FeatureDescriptor.java:385)
at java.beans.MethodDescriptor.setMethod(MethodDescriptor.java:116)
at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:74)
at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:58)
at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1200)
at java.beans.Introspector.getBeanInfo(Introspector.java:424)
at java.beans.Introspector.getBeanInfo(Introspector.java:190)
at com.netflix.asgard.CachedMap.putAllAndRemoveMissing(CachedMap.groovy:256)
at com.netflix.asgard.AwsCloudWatchService.getAlarms(AwsCloudWatchService.groovy:103)
at com.netflix.asgard.ScalingPolicyController$_closure4.doCall(ScalingPolicyController.groovy:83)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.grails.SavedRequestFilter.doFilter(SavedRequestFilter.java:55)
at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:270)
at de.javakaffee.web.msm.SessionTrackerValve.invoke(SessionTrackerValve.java:126)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
from asgard.
@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.
from asgard.
I got these errors running Oracle JDK. Now, I'm using only the standalone version, it is working well.
from asgard.
Related Issues (20)
- Flaky test in DeploymentWorkflowSpec
- Support for the new C4.* and D2.* instances
- Wiki documentation for user data customization incorrect HOT 3
- Documentation needed for ASGARD-907 - IAM Credentials
- Support for AWS CodeDeploy
- Asgard services fail to start on version 1.5.1
- Trouble compiling / running asgard on jdk8 HOT 2
- Support for new "StepScaling" policies
- Stop task on ASG redirects to 127.0.0.1
- how to do a rolling push on ASG with a launch config that assigns public ip to all instances
- Asgard in Windows
- Problem running Asgard .jar file: "asgard-standalone.jar" HOT 1
- Problem running Asgard .jar file: "asgard-standalone.jar" in Ubuntu HOT 1
- Error in building Asgard project in eclipse(groovy-grails-tool-suite-3.6.4.RELEASE-e4.4.2-win32-x86_64)
- Ephemeral Failures when logging in via Github
- Eureka-Integration wiki page has dead link.
- Issue regarding running Asgard 1.5.1 on EC2 (ubuntu) HOT 2
- Improve wiki documentation on Asguard IAM permissions
- Cover deploy frameworks (Asgard, Spinnaker, etc) HOT 1
- Application unable to deploy in tomcat getting below messages HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asgard.