-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.12.0, 8.0.0
-
None
-
7.12
-
1
-
Severity 3 - Minor
-
Issue Summary
Jira throws a NPE on shutdown if the full Pico container was not populated
Steps to Reproduce
- Start a Jira instance using ./jmake debug --postgres, make sure it starts up properly (e.g. you get to the dashboard).
- Shut down Jira; pressing Ctrl-C is good enough.
- Shut down Postgres.
- Start Jira using ./jmake debug; you should get a Johnson page saying "JIRA failed to establish a connection to your database."
- In a new terminal tab in the same directory, shut down Jira by typing ./jmake debug shutdown.
Expected Results
Jira will shutdown without throwing any errors
Actual Results
The following exception will be thrown:
java.lang.NullPointerException at com.atlassian.jira.startup.ClusteringLauncher.stop(ClusteringLauncher.java:46) at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:197) at com.atlassian.jira.startup.LauncherContextListener.contextDestroyed(LauncherContextListener.java:211) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4839) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
Workaround
N/A
- is caused by
-
JSEV-2171 Loading...