java.lang.NullPointerException: Cannot get property 'config' on null object

GitHub | jknudsen | 3 months ago
  1. 0

    Grails 3.2.0.M2 war from command line java -jar xxxx.war fails

    GitHub | 3 months ago | jknudsen
    java.lang.NullPointerException: Cannot get property 'config' on null object
  2. 0

    GitHub comment 9#153378965

    GitHub | 1 year ago | akiong
    java.lang.NullPointerException: Cannot get property 'basicRemote' on null object
  3. 0

    GitHub comment 24#188462727

    GitHub | 9 months ago | pun-ky
    java.lang.NullPointerException: Cannot get property 'mainAttributes' on null object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-900].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Preview on script field throws "Cannot get property 'name' on null object" *This happens when there is no configured searcher*, and only affects the _preview_ functionality. {code:java} 2016-01-12 12:47:29,717 http-bio-8080-exec-294 WARN creator 767x684330x1 1fkbbcu 192.168.96.233,127.0.0.1 /rest/scriptrunner-jira/latest/scriptfields/15299/preview [onresolve.scriptrunner.runner.ScriptFieldManagerImpl] Cannot get property 'name' on null object java.lang.NullPointerException: Cannot get property 'name' on null object at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60) at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:172) at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:47) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296) at com.onresolve.scriptrunner.runner.ScriptFieldManagerImpl.getPreview(ScriptFieldManagerImpl.groovy:350) at com.onresolve.scriptrunner.runner.rest.jira.ScriptFieldsEndpoint.previewScriptField(ScriptFieldsEndpoint.groovy:91) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) <+13> (AbstractResourceMethodDispatchProvider.java:205) (ResourceJavaMethodDispatcher.java:75) (HttpMethodRule.java:288) (RightHandPathRule.java:147) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537) {code} ref https://answers.atlassian.com/questions/19145762/cannot-get-property-value-on-null-object

    JIRA | 9 months ago | Thanos Batagiannis
    java.lang.NullPointerException: Cannot get property 'name' on null object
  6. 0

    REST Assured stops processing expectations if an error occurred in one of expectations

    GitHub | 8 months ago | aklexel
    java.lang.IllegalArgumentException: Cannot get property 'lottoId' 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 'config' on null object

    at org.codehaus.groovy.runtime.NullObject.getProperty()
  2. Groovy
    AbstractCallSite.callGetProperty
    1. org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60)
    2. org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:172)
    3. org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:47)
    4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
    4 frames
  3. Unknown
    gsp_test320M2index_gsp$_run_closure2$_closure4.doCall
    1. gsp_test320M2index_gsp$_run_closure2$_closure4.doCall(gsp_test320M2index_gsp.groovy:37)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. groovy.lang.Closure.call(Closure.java:414)
    6. groovy.lang.Closure.call(Closure.java:408)
    6 frames
  6. org.grails.taglib
    TagBodyClosure.call
    1. org.grails.taglib.TagBodyClosure.executeClosure(TagBodyClosure.java:200)
    2. org.grails.taglib.TagBodyClosure.captureClosureOutput(TagBodyClosure.java:102)
    3. org.grails.taglib.TagBodyClosure.call(TagBodyClosure.java:213)
    3 frames
  7. org.grails.plugins
    SitemeshTagLib$_closure4.doCall
    1. org.grails.plugins.web.taglib.SitemeshTagLib.wrapContentInBuffer(SitemeshTagLib.groovy:106)
    2. org.grails.plugins.web.taglib.SitemeshTagLib$_closure4.doCall(SitemeshTagLib.groovy:177)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  9. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. groovy.lang.Closure.call(Closure.java:414)
    5 frames
  10. org.grails.gsp
    GroovyPage.invokeTag
    1. org.grails.gsp.GroovyPage.invokeTagLibClosure(GroovyPage.java:417)
    2. org.grails.gsp.GroovyPage.invokeTag(GroovyPage.java:335)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  12. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
    6. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
    7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
    7 frames
  13. Unknown
    gsp_test320M2index_gsp$_run_closure2.doCall
    1. gsp_test320M2index_gsp$_run_closure2.doCall(gsp_test320M2index_gsp.groovy:66)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  15. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. groovy.lang.Closure.call(Closure.java:414)
    6. groovy.lang.Closure.call(Closure.java:408)
    6 frames
  16. org.grails.taglib
    TagBodyClosure.call
    1. org.grails.taglib.TagBodyClosure.executeClosure(TagBodyClosure.java:200)
    2. org.grails.taglib.TagBodyClosure.captureClosureOutput(TagBodyClosure.java:102)
    3. org.grails.taglib.TagBodyClosure.call(TagBodyClosure.java:213)
    3 frames
  17. org.grails.plugins
    SitemeshTagLib$_closure3.doCall
    1. org.grails.plugins.web.taglib.SitemeshTagLib.captureTagContent(SitemeshTagLib.groovy:48)
    2. org.grails.plugins.web.taglib.SitemeshTagLib.captureTagContent(SitemeshTagLib.groovy)
    3. org.grails.plugins.web.taglib.SitemeshTagLib$_closure3.doCall(SitemeshTagLib.groovy:156)
    3 frames
  18. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  19. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. groovy.lang.Closure.call(Closure.java:414)
    5 frames
  20. org.grails.gsp
    GroovyPage$invokeTag$4.callCurrent
    1. org.grails.gsp.GroovyPage.invokeTagLibClosure(GroovyPage.java:417)
    2. org.grails.gsp.GroovyPage.invokeTag(GroovyPage.java:335)
    3. org.grails.gsp.GroovyPage$invokeTag$4.callCurrent(Unknown Source)
    3 frames
  21. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
    2 frames
  22. Unknown
    gsp_test320M2index_gsp.run
    1. gsp_test320M2index_gsp.run(gsp_test320M2index_gsp.groovy:80)
    1 frame
  23. org.grails.gsp
    GroovyPageWritable.writeTo
    1. org.grails.gsp.GroovyPageWritable.doWriteTo(GroovyPageWritable.java:162)
    2. org.grails.gsp.GroovyPageWritable.writeTo(GroovyPageWritable.java:82)
    2 frames
  24. org.grails.web
    AbstractGrailsView.renderMergedOutputModel
    1. org.grails.web.servlet.view.GroovyPageView.renderTemplate(GroovyPageView.java:76)
    2. org.grails.web.servlet.view.AbstractGrailsView.renderWithinGrailsWebRequest(AbstractGrailsView.java:71)
    3. org.grails.web.servlet.view.AbstractGrailsView.renderMergedOutputModel(AbstractGrailsView.java:55)
    3 frames
  25. Spring MVC
    AbstractView.render
    1. org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
    1 frame
  26. org.grails.web
    AbstractGrailsView.renderMergedOutputModel
    1. org.grails.web.sitemesh.GrailsLayoutView.renderInnerView(GrailsLayoutView.java:125)
    2. org.grails.web.sitemesh.GrailsLayoutView.obtainContent(GrailsLayoutView.java:106)
    3. org.grails.web.sitemesh.GrailsLayoutView.renderTemplate(GrailsLayoutView.java:55)
    4. org.grails.web.servlet.view.AbstractGrailsView.renderWithinGrailsWebRequest(AbstractGrailsView.java:71)
    5. org.grails.web.servlet.view.AbstractGrailsView.renderMergedOutputModel(AbstractGrailsView.java:55)
    5 frames
  27. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
    2. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1257)
    3. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1037)
    4. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:980)
    5. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
    6. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
    7. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
    7 frames
  28. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    1 frame
  29. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
    1 frame
  30. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  31. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  32. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  33. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  34. org.springframework.boot
    ApplicationContextHeaderFilter.doFilterInternal
    1. org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
    1 frame
  35. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  36. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  37. Spring Boot Actuator
    WebRequestTraceFilter.doFilterInternal
    1. org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:105)
    1 frame
  38. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  39. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  40. org.grails.web
    GrailsWebRequestFilter.doFilterInternal
    1. org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:75)
    1 frame
  41. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  42. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  43. org.grails.web
    HiddenHttpMethodFilter.doFilterInternal
    1. org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
    1 frame
  44. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  45. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  46. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    2 frames
  47. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    2 frames
  48. Spring Boot Actuator
    MetricsFilter.doFilterInternal
    1. org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:107)
    1 frame
  49. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  50. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
    9 frames
  51. Grizzly HTTP
    SocketProcessorBase.run
    1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)
    2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
    5. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
    5 frames
  52. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    2 frames
  53. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  54. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame