java.lang.reflect.InvocationTargetException

Google Groups | schri...@gmail.com (JIRA) | 4 months ago
  1. 0

    [JIRA] (JENKINS-37103) Job DSL documentation broken

    Google Groups | 4 months ago | schri...@gmail.com (JIRA)
    java.lang.reflect.InvocationTargetException
  2. 0

    About: Jenkins ver. 1.651.3 job-dsl:1.48 Steps: * Load attached job (config.xml) * From job page, click "Job DSL API Reference" Stack trace thrown: {code} Error while serving http://jenkins/plugin/job-dsl/api-viewer/build/data/update-center.jsonp java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:320) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:163) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:403) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at com.cloudbees.jenkins.ha.HAHealthCheckFilter.doFilter(HAHealthCheckFilter.java:35) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at com.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:38) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at com.cloudbees.opscenter.client.plugin.OfflineSecurityRealmFilter._doFilter(OfflineSecurityRealmFilter.java:90) at com.cloudbees.opscenter.client.plugin.OfflineSecurityRealmFilter.doFilter(OfflineSecurityRealmFilter.java:67) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at com.cloudbees.opscenter.security.ClusterSessionFilter._doFilter(ClusterSessionFilter.java:69) at com.cloudbees.opscenter.security.ClusterSessionFilter.doFilter(ClusterSessionFilter.java:44) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:201) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:102) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at org.jenkinsci.plugins.suppress_stack_trace.SuppressionFilter.doFilter(SuppressionFilter.java:34) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException: Cannot get property 'JSONObject' on null object at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56) at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:156) at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:44) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at javaposse.jobdsl.plugin.JobDslPlugin.doDynamic(JobDslPlugin.groovy:35) ... 78 more {code}

    Jenkins JIRA | 4 months ago | Owen Wood
    java.lang.reflect.InvocationTargetException
  3. 0

    groovy script fails for jenkins_ssh_slave if credential is changed

    GitHub | 2 years ago | bellpeterm
    java.lang.NullPointerException: Cannot get property 'username' on null object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Groovy script that fails on jenkins_ssh_slave

    GitHub | 2 years ago | martinb3
    java.lang.NullPointerException: Cannot get property 'id' on null object
  6. 0

    Grails request.getFile works in Jetty but returns Null when deployed to Glassfish 3.1.2 server

    Stack Overflow | 4 years ago | Universitas
    java.lang.NullPointerException: Cannot get property 'originalFilename' on null object

  1. musketyr 2 times, last 1 month ago
  2. Luka 1 times, last 2 months ago
  3. rlovtangen 2 times, last 2 months ago
  4. mortalman7 7 times, last 4 months ago
7 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

    Cannot get property 'JSONObject' on null object

    at org.codehaus.groovy.runtime.NullObject.getProperty()
  2. Groovy
    AbstractCallSite.callGetProperty
    1. org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56)
    2. org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:156)
    3. org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:44)
    4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
    4 frames
  3. javaposse.jobdsl.plugin
    JobDslPlugin.doDynamic
    1. javaposse.jobdsl.plugin.JobDslPlugin.doDynamic(JobDslPlugin.groovy:35)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. Stapler
    Stapler.service
    1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:320)
    2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:163)
    3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
    4. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:403)
    5. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
    6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
    7. org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
    8. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
    9. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
    10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
    11. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
    12. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
    12 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    1 frame
  7. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
    2 frames
  8. com.cloudbees.jenkins
    HAHealthCheckFilter.doFilter
    1. com.cloudbees.jenkins.ha.HAHealthCheckFilter.doFilter(HAHealthCheckFilter.java:35)
    1 frame
  9. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  10. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
    1 frame
  11. com.cloudbees.jenkins
    SlowRequestFilter.doFilter
    1. com.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:38)
    1 frame
  12. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    1 frame
  13. com.cloudbees.opscenter
    OfflineSecurityRealmFilter.doFilter
    1. com.cloudbees.opscenter.client.plugin.OfflineSecurityRealmFilter._doFilter(OfflineSecurityRealmFilter.java:90)
    2. com.cloudbees.opscenter.client.plugin.OfflineSecurityRealmFilter.doFilter(OfflineSecurityRealmFilter.java:67)
    2 frames
  14. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    1 frame
  15. com.cloudbees.opscenter
    ClusterSessionFilter.doFilter
    1. com.cloudbees.opscenter.security.ClusterSessionFilter._doFilter(ClusterSessionFilter.java:69)
    2. com.cloudbees.opscenter.security.ClusterSessionFilter.doFilter(ClusterSessionFilter.java:44)
    2 frames
  16. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    1 frame
  17. net.bull.javamelody
    PluginMonitoringFilter.doFilter
    1. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:201)
    2. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)
    3. net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85)
    3 frames
  18. org.jvnet.hudson
    HudsonMonitoringFilter.doFilter
    1. org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:102)
    1 frame
  19. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    2. hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
    3. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    3 frames
  20. org.jenkinsci.plugins
    SuppressionFilter.doFilter
    1. org.jenkinsci.plugins.suppress_stack_trace.SuppressionFilter.doFilter(SuppressionFilter.java:34)
    1 frame
  21. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    1 frame
  22. jenkins.metrics.impl
    MetricsFilter.doFilter
    1. jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
    1 frame
  23. Hudson
    PluginServletFilter.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
    2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
    2 frames
  24. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  25. Hudson
    CrumbFilter.doFilter
    1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
    1 frame
  26. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  27. 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:171)
    3 frames
  28. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  29. Stapler
    CompressionFilter.doFilter
    1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
    1 frame
  30. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  31. Hudson
    CharacterEncodingFilter.doFilter
    1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
    1 frame
  32. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
    1 frame
  33. Stapler
    DiagnosticThreadNameFilter.doFilter
    1. org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
    1 frame
  34. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    12. org.eclipse.jetty.server.Server.handle(Server.java:370)
    13. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
    14. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
    15. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
    16. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
    17. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    18. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    18 frames
  35. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
    2 frames
  36. winstone
    BoundedExecutorService$1.run
    1. winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
    1 frame
  37. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames