java.lang.NullPointerException

Jenkins JIRA | Niklas Saers | 5 years ago
  1. 0

    Hi, When I hit Manage Jenkins, Configure System, and say Add Clang Static Analyzer, check Install Automatically and give it the name "Default Clang" and hit Save, I get the following error at /configSubmit : Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.removeTrailingSlashes(ClangScanBuildToolInstallation.java:39) at jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.(ClangScanBuildToolInstallation.java:33) 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:419) at org.kohsuke.stapler.RequestImpl.access$300(RequestImpl.java:75) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:626) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:372) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:368) at org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:402) at hudson.tools.ToolDescriptor.configure(ToolDescriptor.java:102) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2553) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2516) 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: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:104) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) 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.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:680)

    Jenkins JIRA | 5 years ago | Niklas Saers
    java.lang.NullPointerException
  2. 0

    Hi, When I hit Manage Jenkins, Configure System, and say Add Clang Static Analyzer, check Install Automatically and give it the name "Default Clang" and hit Save, I get the following error at /configSubmit : Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.removeTrailingSlashes(ClangScanBuildToolInstallation.java:39) at jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.(ClangScanBuildToolInstallation.java:33) 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:419) at org.kohsuke.stapler.RequestImpl.access$300(RequestImpl.java:75) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:626) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:372) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:368) at org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:402) at hudson.tools.ToolDescriptor.configure(ToolDescriptor.java:102) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2553) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2516) 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: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:104) 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:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) 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.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:680)

    Jenkins JIRA | 5 years ago | Niklas Saers
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.removeTrailingSlashes()
    2. jenkins.plugins.clangscanbuild
      ClangScanBuildToolInstallation.<init>
      1. jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.removeTrailingSlashes(ClangScanBuildToolInstallation.java:39)
      2. jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.<init>(ClangScanBuildToolInstallation.java:33)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    4. Stapler
      RequestImpl.bindJSONToList
      1. org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:419)
      2. org.kohsuke.stapler.RequestImpl.access$300(RequestImpl.java:75)
      3. org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:626)
      4. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:372)
      5. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:368)
      6. org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:402)
      6 frames
    5. Hudson
      ToolDescriptor.configure
      1. hudson.tools.ToolDescriptor.configure(ToolDescriptor.java:102)
      1 frame
    6. jenkins.model
      Jenkins.doConfigSubmit
      1. jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2553)
      2. jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2516)
      2 frames
    7. 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:597)
      4 frames
    8. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
      2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
      3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
      4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104)
      5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      8. org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
      9. org.kohsuke.stapler.Stapler.service(Stapler.java:159)
      9 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      1 frame
    10. 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
    11. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      2 frames
    12. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    13. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      1 frame
    14. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    15. 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
    16. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    17. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    18. 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
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame