java.lang.NullPointerException

Atlassian JIRA | Hazwan Ariffin [Atlassian] | 2 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

    *Issue Summary* Complex JQL including linkedissues and Epic link throws out 500 Error *Steps to Reproduce* # Create an agile project (Let's called it project A) and board. # Create at least two issues (A-1 and A-2) in the project # Link those issues together using issue link # Create an Epic # Insert those two issues into the newly created Epic # Create a filter as follows: {{Project = A and "Epic Link" in (linkedissues("A-1")) }} # Go to manage filter # Click on the newly created filter *Expected Result* * The filter would work as expected *Actual Result* * An error 500 is thrown. The following shows on the logs: {noformat} java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.greenhopper.customfield.epiclink.EpicLinkSearchInputTransformer.computeOperandsFromSearchValues(EpicLinkSearchInputTransformer.java:126) [?:?] at com.atlassian.greenhopper.customfield.epiclink.EpicLinkSearchInputTransformer.getClauseFromParams(EpicLinkSearchInputTransformer.java:102) [?:?] at com.atlassian.jira.issue.customfields.searchers.transformer.AbstractCustomFieldSearchInputTransformer.getSearchClause(AbstractCustomFieldSearchInputTransformer.java:76) [jira-api-7.0.0-OD-01-193.jar:?] at com.atlassian.jira.components.query.DefaultSearcherService.generateQuery(DefaultSearcherService.java:294) [?:?] at com.atlassian.jira.components.query.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:173) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_45] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) [?:?] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) [?:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE] {noformat}

    Atlassian JIRA | 2 years ago | Hazwan Ariffin [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.greenhopper.customfield.epiclink.EpicLinkSearchInputTransformer.computeOperandsFromSearchValues()
    2. com.atlassian.greenhopper
      EpicLinkSearchInputTransformer.getClauseFromParams
      1. com.atlassian.greenhopper.customfield.epiclink.EpicLinkSearchInputTransformer.computeOperandsFromSearchValues(EpicLinkSearchInputTransformer.java:126)[?:?]
      2. com.atlassian.greenhopper.customfield.epiclink.EpicLinkSearchInputTransformer.getClauseFromParams(EpicLinkSearchInputTransformer.java:102)[?:?]
      2 frames
    3. com.atlassian.jira
      DefaultSearcherService.searchWithJql
      1. com.atlassian.jira.issue.customfields.searchers.transformer.AbstractCustomFieldSearchInputTransformer.getSearchClause(AbstractCustomFieldSearchInputTransformer.java:76)[jira-api-7.0.0-OD-01-193.jar:?]
      2. com.atlassian.jira.components.query.DefaultSearcherService.generateQuery(DefaultSearcherService.java:294)[?:?]
      3. com.atlassian.jira.components.query.DefaultSearcherService.searchWithJql(DefaultSearcherService.java:173)[?:?]
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_45]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_45]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_45]
      4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_45]
      4 frames
    5. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      1 frame
    6. org.eclipse.gemini
      ServiceInvoker.invoke
      1. org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)[?:?]
      2. org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)[?:?]
      2 frames
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      1 frame