java.lang.reflect.InvocationTargetException

SpringSource Issue Tracker | Rossen Stoyanchev | 6 years ago
  1. 0

    After importing a project STS went away because of a VM crash. {code} [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/ui/AJDTNameEnvironmentProvider.java::0 class 'org.eclipse.ajdt.ui.AJDTNameEnvironmentProvider' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/codeconversion/ITDAwareNameEnvironment.java::0 class 'org.eclipse.ajdt.core.codeconversion.ITDAwareNameEnvironment' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/buildpath/AddToInpathAction.java::0 class 'org.eclipse.ajdt.internal.buildpath.AddToInpathAction' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/buildpath/AddToAspectpathAction.java::0 class 'org.eclipse.ajdt.internal.buildpath.AddToAspectpathAction' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/wizards/OpenAJJarPackageWizardActionDelegate.java::0 class 'org.eclipse.ajdt.internal.ui.wizards.OpenAJJarPackageWizardActionDelegate' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/wizards/exports/CreateAJJarActionDelegate.java::0 class 'org.eclipse.ajdt.internal.ui.wizards.exports.CreateAJJarActionDelegate' is already woven and has not been built in reweavable mode [Fatal Error] :-1:-1: Premature end of file. [Fatal Error] :-1:-1: Premature end of file. # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4E4D4554484F440E4350500529), pid=3510, tid=140553677723392 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_19-b02 mixed mode) # An error report file with more information is saved as hs_err_pid3510.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # {code} The same result after restarting: {code} [1] 4706 $ [Fatal Error] :-1:-1: Premature end of file. [Fatal Error] :-1:-1: Premature end of file. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.springsource.sts.roo.core.RooCoreActivator.invokeMethod(RooCoreActivator.java:88) at com.springsource.sts.roo.core.RooCoreActivator.registerHttpPgpUrlHandler(RooCoreActivator.java:112) at com.springsource.sts.roo.core.RooCoreActivator.access$0(RooCoreActivator.java:95) at com.springsource.sts.roo.core.RooCoreActivator$1.run(RooCoreActivator.java:66) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at java.util.TreeSet.addAll(TreeSet.java:245) at org.springframework.roo.felix.pgp.PgpServiceImpl.trustDefaultKeys(PgpServiceImpl.java:96) ... 9 more log4j:WARN No appenders could be found for logger (org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser). log4j:WARN Please initialize the log4j system properly. log4j:WARN No appenders could be found for logger (org.springframework.security.config.http.HttpSecurityBeanDefinitionParser). log4j:WARN Please initialize the log4j system properly. # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4E4D4554484F440E4350500529), pid=4710, tid=139749567252224 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_19-b02 mixed mode) # An error report file with more information is saved as hs_err_pid4710.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # {code}

    SpringSource Issue Tracker | 6 years ago | Rossen Stoyanchev
    java.lang.reflect.InvocationTargetException
  2. 0

    After importing a project STS went away because of a VM crash. {code} [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/ui/AJDTNameEnvironmentProvider.java::0 class 'org.eclipse.ajdt.ui.AJDTNameEnvironmentProvider' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/codeconversion/ITDAwareNameEnvironment.java::0 class 'org.eclipse.ajdt.core.codeconversion.ITDAwareNameEnvironment' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/buildpath/AddToInpathAction.java::0 class 'org.eclipse.ajdt.internal.buildpath.AddToInpathAction' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/buildpath/AddToAspectpathAction.java::0 class 'org.eclipse.ajdt.internal.buildpath.AddToAspectpathAction' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/wizards/OpenAJJarPackageWizardActionDelegate.java::0 class 'org.eclipse.ajdt.internal.ui.wizards.OpenAJJarPackageWizardActionDelegate' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/wizards/exports/CreateAJJarActionDelegate.java::0 class 'org.eclipse.ajdt.internal.ui.wizards.exports.CreateAJJarActionDelegate' is already woven and has not been built in reweavable mode [Fatal Error] :-1:-1: Premature end of file. [Fatal Error] :-1:-1: Premature end of file. # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4E4D4554484F440E4350500529), pid=3510, tid=140553677723392 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_19-b02 mixed mode) # An error report file with more information is saved as hs_err_pid3510.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # {code} The same result after restarting: {code} [1] 4706 $ [Fatal Error] :-1:-1: Premature end of file. [Fatal Error] :-1:-1: Premature end of file. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.springsource.sts.roo.core.RooCoreActivator.invokeMethod(RooCoreActivator.java:88) at com.springsource.sts.roo.core.RooCoreActivator.registerHttpPgpUrlHandler(RooCoreActivator.java:112) at com.springsource.sts.roo.core.RooCoreActivator.access$0(RooCoreActivator.java:95) at com.springsource.sts.roo.core.RooCoreActivator$1.run(RooCoreActivator.java:66) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at java.util.TreeSet.addAll(TreeSet.java:245) at org.springframework.roo.felix.pgp.PgpServiceImpl.trustDefaultKeys(PgpServiceImpl.java:96) ... 9 more log4j:WARN No appenders could be found for logger (org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser). log4j:WARN Please initialize the log4j system properly. log4j:WARN No appenders could be found for logger (org.springframework.security.config.http.HttpSecurityBeanDefinitionParser). log4j:WARN Please initialize the log4j system properly. # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4E4D4554484F440E4350500529), pid=4710, tid=139749567252224 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_19-b02 mixed mode) # An error report file with more information is saved as hs_err_pid4710.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # {code}

    SpringSource Issue Tracker | 6 years ago | Rossen Stoyanchev
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    While trying to save the slave config at http://davidkarlsen.com/hudson/computer/hudson-slave1/configSubmit I get: Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at java.util.TreeMap.put(TreeMap.java:541) at java.util.TreeSet.add(TreeSet.java:238) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at java.util.TreeSet.addAll(TreeSet.java:295) at hudson.model.Node.getAssignedLabels(Node.java:187) at hudson.model.Slave.(Slave.java:152) at hudson.model.Slave.(Slave.java:130) at hudson.slaves.DumbSlave.(DumbSlave.java:53) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:391) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:344) at hudson.model.Descriptor.newInstance(Descriptor.java:351) at hudson.model.Computer.doConfigSubmit(Computer.java:927) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:318) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:144) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:408) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:78) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:619) Generated by Winstone Servlet Engine v0.9.10 at Mon Nov 23 02:27:34 CET 2009

    Jenkins JIRA | 7 years ago | davidkarlsen
    java.lang.NullPointerException
  5. 0

    Exception is thrown for Typo: Rename To quick fix

    YouTrack | 4 years ago
    java.lang.NullPointerException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at java.util.TreeSet.addAll()
    2. Java RT
      TreeSet.addAll
      1. java.util.TreeSet.addAll(TreeSet.java:245)
      1 frame
    3. org.springframework.roo
      PgpServiceImpl.trustDefaultKeys
      1. org.springframework.roo.felix.pgp.PgpServiceImpl.trustDefaultKeys(PgpServiceImpl.java:96)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. com.springsource.sts
      RooCoreActivator$1.run
      1. com.springsource.sts.roo.core.RooCoreActivator.invokeMethod(RooCoreActivator.java:88)
      2. com.springsource.sts.roo.core.RooCoreActivator.registerHttpPgpUrlHandler(RooCoreActivator.java:112)
      3. com.springsource.sts.roo.core.RooCoreActivator.access$0(RooCoreActivator.java:95)
      4. com.springsource.sts.roo.core.RooCoreActivator$1.run(RooCoreActivator.java:66)
      4 frames
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame