java.lang.NullPointerException

Server Fault | Oleksandr | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hudson plugin problem

    Stack Overflow | 7 years ago | Olexandr
    java.lang.NullPointerException
  2. 0

    Hudson plugin problem

    Server Fault | 7 years ago | Oleksandr
    java.lang.NullPointerException
  3. 0

    A NullPointerException is thrown when saving a view configuration in Jenkins 1.406. This does not occur in 1.404 or 1.405 (so is likely an independent issue from [JENKINS-9180]. Stack trace: {code:title=Error 500} Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at hudson.model.View.doConfigSubmit(View.java:638) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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 hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636) Generated by Winstone Servlet Engine v0.9.10 at Thu Apr 14 09:18:26 MDT 2011 {code} Installed plugins: ||Name||Version||Enabled||Pinned|| |active-directory |1.18 |true |false| |analysis-core |1.18 |true |false| |build-publisher |1.11-SNAPSHOT (private-03/02/2011 01:06) |true |false| |build-timeout |1.7 |true |false| |cccc |0.3 |true |false| |cmakebuilder |1.8 |true |false| |cobertura |1.3-SNAPSHOT (private-03/02/2011 15:02) |true |false| |configurationslicing |1.16 |true |false| |copy-to-slave |1.3 |true |false| |copyartifact |1.14 |true |false| |createjobadvanced |1.5 |true |false| |cvs |1.3 |true |true| |cygpath |1.3 |true |false| |dashboard-view |2.0.2 |true |false| |disk-usage |0.13-SNAPSHOT (private-03/02/2011 01:24) |true |false| |downstream-buildview |1.6 |true |false| |doxygen |0.7 |true |false| |email-ext |2.13 |true |false| |git |1.1.6 |true |false| |heavy-job |1.0 |true |false| |join |1.9 |true |false| |jquery |1.0.2 |true |false| |jquery-ui |1.0.2 |true |false| |jython |1.3 |true |false| |label-verifier |1.0 |true |false| |log-trigger |0.2-SNAPSHOT (private-07/09/2010 09:26) |true |false| |maven-plugin |1.406 |true |false| |nodenamecolumn |1.1 |true |false| |page-markup |0.3 |true |false| |plot |1.4 |true |false| |python |1.1 |true |false| |scis-ad |1.2 |false |false| |scp |1.9-SNAPSHOT (private-03/02/2011 13:33) |true |false| |sectioned-view |1.15 |true |false| |slave-gc |0.1-SNAPSHOT (private-09/28/2010 10:58) |true |false| |slave-squatter |1.2-SNAPSHOT (private-03/03/2011 16:08) |true |false| |sloccount |1.5 |true |false| |ssh-slaves |0.15 |true |true| |subversion |1.25 |true |true| |systemloadaverage-monitor |1.1 |true |false| |tasks |4.15 |true |false| |terminal |1.3 |true |false| |trac |1.10 |true |false| |URLSCM |1.5 |true |false| |versioncolumn |0.1 |true |false| |versionnumber |1.3.2 |true |false| |violations |0.7.7 |true |false| |vmware |0.8 |true |false| |warnings |3.15 |true |false| |xshell|0.6|true|false|

    Jenkins JIRA | 6 years ago | jsiirola
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A NullPointerException is thrown when saving a view configuration in Jenkins 1.406. This does not occur in 1.404 or 1.405 (so is likely an independent issue from [JENKINS-9180]. Stack trace: {code:title=Error 500} Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at hudson.model.View.doConfigSubmit(View.java:638) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) 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 hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 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:636) Generated by Winstone Servlet Engine v0.9.10 at Thu Apr 14 09:18:26 MDT 2011 {code} Installed plugins: ||Name||Version||Enabled||Pinned|| |active-directory |1.18 |true |false| |analysis-core |1.18 |true |false| |build-publisher |1.11-SNAPSHOT (private-03/02/2011 01:06) |true |false| |build-timeout |1.7 |true |false| |cccc |0.3 |true |false| |cmakebuilder |1.8 |true |false| |cobertura |1.3-SNAPSHOT (private-03/02/2011 15:02) |true |false| |configurationslicing |1.16 |true |false| |copy-to-slave |1.3 |true |false| |copyartifact |1.14 |true |false| |createjobadvanced |1.5 |true |false| |cvs |1.3 |true |true| |cygpath |1.3 |true |false| |dashboard-view |2.0.2 |true |false| |disk-usage |0.13-SNAPSHOT (private-03/02/2011 01:24) |true |false| |downstream-buildview |1.6 |true |false| |doxygen |0.7 |true |false| |email-ext |2.13 |true |false| |git |1.1.6 |true |false| |heavy-job |1.0 |true |false| |join |1.9 |true |false| |jquery |1.0.2 |true |false| |jquery-ui |1.0.2 |true |false| |jython |1.3 |true |false| |label-verifier |1.0 |true |false| |log-trigger |0.2-SNAPSHOT (private-07/09/2010 09:26) |true |false| |maven-plugin |1.406 |true |false| |nodenamecolumn |1.1 |true |false| |page-markup |0.3 |true |false| |plot |1.4 |true |false| |python |1.1 |true |false| |scis-ad |1.2 |false |false| |scp |1.9-SNAPSHOT (private-03/02/2011 13:33) |true |false| |sectioned-view |1.15 |true |false| |slave-gc |0.1-SNAPSHOT (private-09/28/2010 10:58) |true |false| |slave-squatter |1.2-SNAPSHOT (private-03/03/2011 16:08) |true |false| |sloccount |1.5 |true |false| |ssh-slaves |0.15 |true |true| |subversion |1.25 |true |true| |systemloadaverage-monitor |1.1 |true |false| |tasks |4.15 |true |false| |terminal |1.3 |true |false| |trac |1.10 |true |false| |URLSCM |1.5 |true |false| |versioncolumn |0.1 |true |false| |versionnumber |1.3.2 |true |false| |violations |0.7.7 |true |false| |vmware |0.8 |true |false| |warnings |3.15 |true |false| |xshell|0.6|true|false|

    Jenkins JIRA | 6 years ago | jsiirola
    java.lang.NullPointerException
  6. 0

    Exception when editing views in Jenkins 1.406

    Google Groups | 6 years ago | Riccardo Foschia
    javax.servlet.ServletException: java.lang.NullPointerException

    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 hudson.model.Descriptor.newInstancesFromHeteroList()
    2. Hudson
      View.doConfigSubmit
      1. hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:626)
      2. hudson.util.DescribableList.rebuildHetero(DescribableList.java:164)
      3. hudson.model.ListView.submit(ListView.java:262)
      4. hudson.model.View.doConfigSubmit(View.java:484)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185)
      2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      7. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      8. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      9. org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:408)
      11. org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      11 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      1 frame
    6. winstone
      RequestDispatcher.doFilter
      1. winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      2. winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      3. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      3 frames
    7. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      1 frame
    8. net.bull.javamelody
      MonitoringFilter.doFilter
      1. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:304)
      1 frame
    9. org.jvnet.hudson
      HudsonMonitoringFilter.doFilter
      1. org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:31)
      1 frame
    10. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      2 frames
    11. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    12. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      1 frame
    13. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    14. Hudson
      HudsonFilter.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      3 frames
    15. winstone
      RequestHandlerThread.run
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      3. winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      4. winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      5 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame