java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by alpheratz,
  • 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
    via by alpheratz,
    • 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)
    No Bugmate found.