java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • *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.
    via by John Chin Kim Loong [Atlassian],
  • *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.
    via by Chin Kim Loong,
    • 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)
    No Bugmate found.