java.lang.NullPointerException

Atlassian JIRA | Chin Kim Loong | 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

    *Steps to reproduce the problem:* # Add a project with some issue types (bug, task, sub-task, release) # Project needs at approx 10 components. # For one particular issue type (in our example lets take the "bug"), # Hide the component/s in the field configuration of that particular issue type. # Add a filter that is searching for your project and for all issue types # create a two-dimensional filter statistics gadget that is using this filter: #* x-axis: issue type #* y-axis: components #* Number of Results: 1 # See [^two_dimensional_gadgets_links.png] and [^two_dimensional_gadgets_links_2.png] # It seem showing the following stack trace in JIRA log: {code} 2014-04-17 10:07:05,031 http-bio-8617-exec-4 ERROR admin 607x2552x1 1uvi9p3 0:0:0:0:0:0:0:1 /rest/dashboards/1.0/10100/gadget/10100 [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NullPointerException at com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.visit(JiraDashboardChangeVisitor.java:103) at com.atlassian.gadgets.dashboard.spi.changes.RemoveGadgetChange.accept(RemoveGadgetChange.java:24) at com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.accept(JiraDashboardChangeVisitor.java:52) at com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:146) at com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:128) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) {code} The bottom of the result the link "show more" is not where it should be and the name of the link is "show less" instead.

    Atlassian JIRA | 3 years ago | John Chin Kim Loong [Atlassian]
    java.lang.NullPointerException
  2. 0

    *Steps to reproduce the problem:* # Add a project with some issue types (bug, task, sub-task, release) # Project needs at approx 10 components. # For one particular issue type (in our example lets take the "bug"), # Hide the component/s in the field configuration of that particular issue type. # Add a filter that is searching for your project and for all issue types # create a two-dimensional filter statistics gadget that is using this filter: #* x-axis: issue type #* y-axis: components #* Number of Results: 1 # See [^two_dimensional_gadgets_links.png] and [^two_dimensional_gadgets_links_2.png] # It seem showing the following stack trace in JIRA log: {code} 2014-04-17 10:07:05,031 http-bio-8617-exec-4 ERROR admin 607x2552x1 1uvi9p3 0:0:0:0:0:0:0:1 /rest/dashboards/1.0/10100/gadget/10100 [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NullPointerException at com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.visit(JiraDashboardChangeVisitor.java:103) at com.atlassian.gadgets.dashboard.spi.changes.RemoveGadgetChange.accept(RemoveGadgetChange.java:24) at com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.accept(JiraDashboardChangeVisitor.java:52) at com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:146) at com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:128) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) {code} The bottom of the result the link "show more" is not where it should be and the name of the link is "show less" instead.

    Atlassian JIRA | 3 years ago | Chin Kim Loong
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.visit()
    2. com.atlassian.jira
      JiraDashboardChangeVisitor.visit
      1. com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.visit(JiraDashboardChangeVisitor.java:103)
      1 frame
    3. com.atlassian.gadgets
      RemoveGadgetChange.accept
      1. com.atlassian.gadgets.dashboard.spi.changes.RemoveGadgetChange.accept(RemoveGadgetChange.java:24)
      1 frame
    4. com.atlassian.jira
      JiraDashboardStateStoreManager$3.get
      1. com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.accept(JiraDashboardChangeVisitor.java:52)
      2. com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:146)
      3. com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:128)
      3 frames
    5. com.atlassian.util
      ManagedLocks$ManagedLockImpl.withLock
      1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303)
      1 frame