com.atlassian.cache.CacheException: java.lang.NullPointerException

JIRA | Rob Swarts | 3 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

    Get this error when we're attempting to set the assignee field when cloning an issue from one project to another. This has occurred after upgrading JIRA to the latest release and Clone Plus to 3.0.0 2014-05-23 15:15:57,187 http-bio-443-exec-1399 ERROR rswarts@lattice-engines.com 915x330660x1 1de5t2t 74.92.58.54 /secure/ClonePlusDetails!default.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: com.atlassian.cache.CacheException: java.lang.NullPointerException com.atlassian.cache.CacheException: java.lang.NullPointerException at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:71) at com.atlassian.jira.issue.link.DefaultIssueLinkManager.getInwardLinks(DefaultIssueLinkManager.java:448) at sun.reflect.GeneratedMethodAccessor599.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy42.getInwardLinks(Unknown Source) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy42.getInwardLinks(Unknown Source) at com.atlassian.greenhopper.manager.issuelink.EpicLinkManagerImpl.getEpic(EpicLinkManagerImpl.java:91) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkCFType.getValueFromIssue(EpicLinkCFType.java:255) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370) at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:155) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235)

    JIRA | 3 years ago | Rob Swarts
    com.atlassian.cache.CacheException: java.lang.NullPointerException
  2. 0

    Get this error when we're attempting to set the assignee field when cloning an issue from one project to another. This has occurred after upgrading JIRA to the latest release and Clone Plus to 3.0.0 2014-05-23 15:15:57,187 http-bio-443-exec-1399 ERROR rswarts@lattice-engines.com 915x330660x1 1de5t2t 74.92.58.54 /secure/ClonePlusDetails!default.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: com.atlassian.cache.CacheException: java.lang.NullPointerException com.atlassian.cache.CacheException: java.lang.NullPointerException at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:71) at com.atlassian.jira.issue.link.DefaultIssueLinkManager.getInwardLinks(DefaultIssueLinkManager.java:448) at sun.reflect.GeneratedMethodAccessor599.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy42.getInwardLinks(Unknown Source) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy42.getInwardLinks(Unknown Source) at com.atlassian.greenhopper.manager.issuelink.EpicLinkManagerImpl.getEpic(EpicLinkManagerImpl.java:91) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkCFType.getValueFromIssue(EpicLinkCFType.java:255) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370) at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:155) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235)

    JIRA | 3 years ago | Rob Swarts
    com.atlassian.cache.CacheException: java.lang.NullPointerException

    Root Cause Analysis

    1. com.atlassian.cache.CacheException

      java.lang.NullPointerException

      at com.atlassian.cache.memory.DelegatingCache.get()
    2. com.atlassian.cache
      DelegatingCache.get
      1. com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:71)
      1 frame
    3. com.atlassian.jira
      DefaultIssueLinkManager.getInwardLinks
      1. com.atlassian.jira.issue.link.DefaultIssueLinkManager.getInwardLinks(DefaultIssueLinkManager.java:448)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor599.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    5. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      1 frame
    6. com.sun.proxy
      $Proxy42.getInwardLinks
      1. com.sun.proxy.$Proxy42.getInwardLinks(Unknown Source)
      1 frame
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Unknown Source)
      1 frame
    8. com.atlassian.plugin
      HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      1 frame
    9. com.sun.proxy
      $Proxy42.getInwardLinks
      1. com.sun.proxy.$Proxy42.getInwardLinks(Unknown Source)
      1 frame
    10. com.atlassian.greenhopper
      EpicLinkCFType.getValueFromIssue
      1. com.atlassian.greenhopper.manager.issuelink.EpicLinkManagerImpl.getEpic(EpicLinkManagerImpl.java:91)
      2. com.atlassian.greenhopper.customfield.epiclink.EpicLinkCFType.getValueFromIssue(EpicLinkCFType.java:255)
      2 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Unknown Source)
      1 frame
    12. Apache Velocity
      UberspectImpl$VelMethodImpl.invoke
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370)
      2 frames
    13. com.atlassian.velocity
      UnboxingMethod.invoke
      1. com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30)
      1 frame
    14. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      3. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507)
      4. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:155)
      5. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      6. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
      7. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      8. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      9. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      10. org.apache.velocity.Template.merge(Template.java:328)
      11. org.apache.velocity.Template.merge(Template.java:235)
      11 frames