java.lang.NullPointerException

Jenkins JIRA | alpheratz | 8 years ago
  1. 0

    Hudson ver. 1.265, Java 1.6u11, Vista SP1 Freshly installed plugin; fresh start of Hudson. If i hit: http://localhost:9898/job/Calc/0/jmeter/ (the "JMeter Report" link on http://localhost:9898/job/Calc/0/, I get: === Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at hudson.plugins.jmeter.JMeterBuildAction.getJmeterReport (JMeterBuildAction.java:55) at hudson.plugins.jmeter.JMeterBuildAction.getTarget (JMeterBuildAction.java:67) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:363) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:294) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:294) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352) at org.kohsuke.stapler.Stapler.service(Stapler.java:112) 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:61) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) 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 Fri Dec 19 09:39:58 EST 2008 === The project DOES show graphs (ie the overview graphs at http://localhost:9898/job/Calc/) but they are empty of data...just axes. Console output is: === started [CalcWS] $ cmd.exe /C gant.bat -P C:\DEVTOOLS\apache-ant-1.7.1\lib\ant-trax.jar && exit %%ERRORLEVEL%% [delete] Deleting directory C:\DEVELOPMENT\CalcWS\jmeter\results [mkdir] Created dir: C:\DEVELOPMENT\CalcWS\jmeter\results Starting... ANT_HOME=C:\DEVTOOLS\apache-ant-1.7.1 [jmeter] Executing test plan: C:\DEVELOPMENT\CalcWS\jmeter\calc.jmx ==> C:\DEVELOPMENT\CalcWS\jmeter\results\jmeter-results.jtl [jmeter] Created the tree successfully using C:\DEVELOPMENT\CalcWS\jmeter\calc.jmx [jmeter] Starting the test @ Fri Dec 19 09:09:47 EST 2008 (1229641787160) [jmeter] Tidying up ... @ Fri Dec 19 09:09:51 EST 2008 (1229641791087) [jmeter] ... end of run [xslt] Processing C:\DEVELOPMENT\CalcWS\jmeter\results\jmeter-results.jtl to C:\DEVELOPMENT\CalcWS\jmeter\results\jmeter-results.html [xslt] Loading stylesheet c:\DEVTOOLS\jakarta-jmeter-2.3.2\extras\jmeter- results-report_21.xsl Recording JMeter reports jmeter/results/jmeter-results.jtl Failed to parse C:\DEVELOPMENT\Hudson\jobs\Calc\builds\2008-12-19_09-09-45 \jmeter.xml Error at line 4 char 140: No such accessible method: addSample() on object: hudson.plugins.jmeter.HttpSample JMeter report analysis failed. Setting Build to unstable. finished: UNSTABLE === The referened jmeter.xml file looks well-formed and OK to me. Cheers, Alph

    Jenkins JIRA | 8 years ago | alpheratz
    java.lang.NullPointerException
  2. 0

    Hudson ver. 1.265, Java 1.6u11, Vista SP1 Freshly installed plugin; fresh start of Hudson. If i hit: http://localhost:9898/job/Calc/0/jmeter/ (the "JMeter Report" link on http://localhost:9898/job/Calc/0/, I get: === Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at hudson.plugins.jmeter.JMeterBuildAction.getJmeterReport (JMeterBuildAction.java:55) at hudson.plugins.jmeter.JMeterBuildAction.getTarget (JMeterBuildAction.java:67) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:363) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:294) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:294) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352) at org.kohsuke.stapler.Stapler.service(Stapler.java:112) 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:61) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) 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 Fri Dec 19 09:39:58 EST 2008 === The project DOES show graphs (ie the overview graphs at http://localhost:9898/job/Calc/) but they are empty of data...just axes. Console output is: === started [CalcWS] $ cmd.exe /C gant.bat -P C:\DEVTOOLS\apache-ant-1.7.1\lib\ant-trax.jar && exit %%ERRORLEVEL%% [delete] Deleting directory C:\DEVELOPMENT\CalcWS\jmeter\results [mkdir] Created dir: C:\DEVELOPMENT\CalcWS\jmeter\results Starting... ANT_HOME=C:\DEVTOOLS\apache-ant-1.7.1 [jmeter] Executing test plan: C:\DEVELOPMENT\CalcWS\jmeter\calc.jmx ==> C:\DEVELOPMENT\CalcWS\jmeter\results\jmeter-results.jtl [jmeter] Created the tree successfully using C:\DEVELOPMENT\CalcWS\jmeter\calc.jmx [jmeter] Starting the test @ Fri Dec 19 09:09:47 EST 2008 (1229641787160) [jmeter] Tidying up ... @ Fri Dec 19 09:09:51 EST 2008 (1229641791087) [jmeter] ... end of run [xslt] Processing C:\DEVELOPMENT\CalcWS\jmeter\results\jmeter-results.jtl to C:\DEVELOPMENT\CalcWS\jmeter\results\jmeter-results.html [xslt] Loading stylesheet c:\DEVTOOLS\jakarta-jmeter-2.3.2\extras\jmeter- results-report_21.xsl Recording JMeter reports jmeter/results/jmeter-results.jtl Failed to parse C:\DEVELOPMENT\Hudson\jobs\Calc\builds\2008-12-19_09-09-45 \jmeter.xml Error at line 4 char 140: No such accessible method: addSample() on object: hudson.plugins.jmeter.HttpSample JMeter report analysis failed. Setting Build to unstable. finished: UNSTABLE === The referened jmeter.xml file looks well-formed and OK to me. Cheers, Alph

    Jenkins JIRA | 8 years ago | alpheratz
    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 hudson.plugins.jmeter.JMeterBuildAction.getJmeterReport()
    2. hudson.plugins.jmeter
      JMeterBuildAction.getTarget
      1. hudson.plugins.jmeter.JMeterBuildAction.getJmeterReport(JMeterBuildAction.java:55)
      2. hudson.plugins.jmeter.JMeterBuildAction.getTarget(JMeterBuildAction.java:67)
      2 frames
    3. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.invoke(Stapler.java:363)
      2. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:294)
      3. org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
      4. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:294)
      5. org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
      6. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173)
      7. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      8. org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
      9. org.kohsuke.stapler.Stapler.invoke(Stapler.java:352)
      10. org.kohsuke.stapler.Stapler.service(Stapler.java:112)
      10 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      1 frame
    5. 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
    6. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:61)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53)
      2 frames
    7. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    8. Hudson
      HudsonFilter.doFilter
      1. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
      1 frame
    9. 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
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame