java.lang.NullPointerException

devshed.com | 5 months ago
  1. 0

    Java.lang.NullPointerException

    devshed.com | 5 months ago
    java.lang.NullPointerException
  2. 0

    Tide + GlassFishV3 = EJB not scanned

    Google Groups | 6 years ago | Marcelo
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Whenever I try to save a configuration change (either global or for one job) I get the following (it has been happening for at least a few Hudson versions): Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"} at hudson.model.Descriptor.newInstance(Descriptor.java:497) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171) at hudson.matrix.MatrixProject.submit(MatrixProject.java:596) at hudson.model.Job.doConfigSubmit(Job.java:1062) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:581) 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:259) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:126) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:65) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:79) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:538) at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:538) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:454) at org.kohsuke.stapler.Stapler.service(Stapler.java:136) 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.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:47) 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) Caused by: java.lang.NullPointerException at java.util.ArrayList.(ArrayList.java:131) at hudson.matrix.Axis.(Axis.java:74) at hudson.matrix.LabelAxis.(LabelAxis.java:40) 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:409) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:355) at hudson.model.Descriptor.newInstance(Descriptor.java:488) ... 55 more Generated by Winstone Servlet Engine v0.9.10 at Mon Sep 27 08:52:00 PDT 2010

    Jenkins JIRA | 6 years ago | crusius
    java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}

    2 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.ArrayList.<init>()
    2. Java RT
      ArrayList.<init>
      1. java.util.ArrayList.<init>(ArrayList.java:131)
      1 frame
    3. gui
      MainMenu$2.actionPerformed
      1. gui.SimpleListModel.<init>(SimpleListModel.java:26)
      2. gui.ViewProducts.<init>(ViewProducts.java:21)
      3. gui.MainMenu.jButton2ActionPerformed(MainMenu.java:94)
      4. gui.MainMenu.access$100(MainMenu.java:18)
      5. gui.MainMenu$2.actionPerformed(MainMenu.java:51)
      5 frames
    4. Java RT
      Dialog.setVisible
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      6. java.awt.Component.processMouseEvent(Component.java:6263)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      8. java.awt.Component.processEvent(Component.java:6028)
      9. java.awt.Container.processEvent(Container.java:2041)
      10. java.awt.Component.dispatchEventImpl(Component.java:4630)
      11. java.awt.Container.dispatchEventImpl(Container.java:2099)
      12. java.awt.Component.dispatchEvent(Component.java:4460)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      16. java.awt.Container.dispatchEventImpl(Container.java:2085)
      17. java.awt.Window.dispatchEventImpl(Window.java:2475)
      18. java.awt.Component.dispatchEvent(Component.java:4460)
      19. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      20. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      21. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      22. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
      23. java.awt.Dialog$1.run(Dialog.java:1045)
      24. java.awt.Dialog$3.run(Dialog.java:1097)
      25. java.security.AccessController.doPrivileged(Native Method)
      26. java.awt.Dialog.show(Dialog.java:1095)
      27. java.awt.Component.show(Component.java:1563)
      28. java.awt.Component.setVisible(Component.java:1515)
      29. java.awt.Window.setVisible(Window.java:841)
      30. java.awt.Dialog.setVisible(Dialog.java:985)
      30 frames
    5. Unknown
      Main$1.run
      1. Main$1.run(Main.java:29)
      1 frame
    6. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      6. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      7. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      8. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      8 frames