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

Stack Overflow | daniilyar | 3 years ago
  1. 0

    How can I configure Logback SMTP appender on groovy?

    Stack Overflow | 3 years ago | daniilyar
    java.lang.NullPointerException: Cannot get property 'name' on null object
  2. 0

    App fails on start up with Audit Trail plugin

    GitHub | 3 years ago | zaccak
    java.lang.NullPointerException: Cannot get property 'name' on null object
  3. 0

    NPE when attempting to push new AMI into ASG via rolling push

    GitHub | 3 years ago | tjbaker
    java.lang.NullPointerException: Cannot get property 'name' on null object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Instructions needed to integrate spring-security-ui into my grails application

    Stack Overflow | 4 years ago | rajugaadu
    java.lang.NullPointerException: Cannot get property 'name' on null object
  6. 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 | 10 months ago | Thanos Batagiannis
    java.lang.NullPointerException: Cannot get property 'name' on null object

  1. rlovtangen 1 times, last 2 weeks ago
  2. musketyr 2 times, last 1 month ago
  3. Luka 1 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 'name' 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:168)
    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. Unknown
    Script1$_run_closure2.doCall
    1. Script1$_run_closure2.doCall(Script1.groovy:22)
    2. Script1$_run_closure2.doCall(Script1.groovy)
    2 frames
  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
    AbstractCallSite.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
    6. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    7. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
    8. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    8 frames
  6. Logback Classic Module
    ConfigurationDelegate.appender
    1. ch.qos.logback.classic.gaffer.ConfigurationDelegate.appender(ConfigurationDelegate.groovy:141)
    1 frame
  7. 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
  8. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. org.codehaus.groovy.runtime.metaclass.MixinInstanceMetaMethod.invoke(MixinInstanceMetaMethod.java:53)
    3. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoMetaMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:313)
    4. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
    5. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    6. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
    7 frames
  9. Unknown
    Script1$run.call
    1. Script1.run(Script1.groovy:18)
    2. Script1$run.call(Unknown Source)
    2 frames
  10. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    3 frames
  11. Logback Classic Module
    GafferConfigurator$run.callCurrent
    1. ch.qos.logback.classic.gaffer.GafferConfigurator.run(GafferConfigurator.groovy:64)
    2. ch.qos.logback.classic.gaffer.GafferConfigurator$run.callCurrent(Unknown Source)
    2 frames
  12. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
    3 frames
  13. Logback Classic Module
    ContextInitializer.autoConfig
    1. ch.qos.logback.classic.gaffer.GafferConfigurator.run(GafferConfigurator.groovy:40)
    2. ch.qos.logback.classic.gaffer.GafferUtil.runGafferConfiguratorOn(GafferUtil.java:43)
    3. ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:65)
    4. ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
    4 frames
  14. SLF4J LOG4J-12 Binding
    StaticLoggerBinder.<clinit>
    1. org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
    2. org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
    2 frames
  15. SLF4J API Module
    LoggerFactory.getLogger
    1. org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
    2. org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
    3. org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
    4. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
    5. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
    5 frames
  16. com.revere.edm
    Loader.<init>
    1. com.revere.edm.job.Loader.<init>(Loader.java:13)
    1 frame
  17. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    5. java.lang.Class.newInstance(Class.java:374)
    5 frames
  18. com.revere.shell
    Shell.main
    1. com.revere.shell.Shell.execute(Shell.java:233)
    2. com.revere.shell.Shell.main(Shell.java:64)
    2 frames