java.lang.NullPointerException

Atlassian JIRA | Jean-Christophe Huet | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    2009-08-28 12:00:48,072 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor22 ERROR lme 43248x103632x1 ax0tq8 http://jira.atlassian.com/secure/GHAddIssue.jspa [velocity] Method getDefaultDisplayValue threw exception for reference $afield in template templates/greenhopper/jira/issue/fields/assignee-create.vm at [5,46] 2009-08-28 12:00:48,072 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor22 ERROR lme 43248x103632x1 ax0tq8 http://jira.atlassian.com/secure/GHAddIssue.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.NullPointerException java.lang.NullPointerException at com.pyxis.greenhopper.jira.fields.Assignee.getDefaultDisplayValue(Assignee.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:201) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)

    Atlassian JIRA | 8 years ago | Jean-Christophe Huet
    java.lang.NullPointerException
  2. 0

    2009-08-28 12:00:48,072 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor22 ERROR lme 43248x103632x1 ax0tq8 http://jira.atlassian.com/secure/GHAddIssue.jspa [velocity] Method getDefaultDisplayValue threw exception for reference $afield in template templates/greenhopper/jira/issue/fields/assignee-create.vm at [5,46] 2009-08-28 12:00:48,072 http-j2ee.jira.atlassian.com%2F127.0.0.101-8080-Processor22 ERROR lme 43248x103632x1 ax0tq8 http://jira.atlassian.com/secure/GHAddIssue.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.NullPointerException java.lang.NullPointerException at com.pyxis.greenhopper.jira.fields.Assignee.getDefaultDisplayValue(Assignee.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:201) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)

    Atlassian JIRA | 8 years ago | Jean-Christophe Huet
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.pyxis.greenhopper.jira.fields.Assignee.getDefaultDisplayValue()
    2. com.pyxis.greenhopper
      Assignee.getDefaultDisplayValue
      1. com.pyxis.greenhopper.jira.fields.Assignee.getDefaultDisplayValue(Assignee.java:56)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Apache Velocity
      VelocityEngine.mergeTemplate
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234)
      2. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:201)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
      4. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
      5. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      6. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
      7. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      8. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
      9. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      10. org.apache.velocity.runtime.directive.Parse.render(Parse.java:181)
      11. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
      12. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      13. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
      14. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
      15. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      16. org.apache.velocity.Template.merge(Template.java:256)
      17. org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)
      17 frames