JIRA Startup Failed while Initialising the Plugin System
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
JIRA fails to start due to java.lang.IllegalArgumentException: The validated object is null
The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
2011-08-11 13:37:53,192 main INFO [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system
2011-08-11 13:37:53,467 main ERROR [atlassian.event.internal.EventPublisherImpl] There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@20e5f01b' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@62b92956'.
java.lang.RuntimeException: The validated object is null
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
...
Caused by: java.lang.IllegalArgumentException: The validated object is null
at org.apache.commons.lang.Validate.notNull(Validate.java:222)
at com.atlassian.crowd.model.application.ApplicationImpl.setNameAndLowerName(ApplicationImpl.java:394)
at com.atlassian.crowd.model.application.ApplicationImpl.setName(ApplicationImpl.java:134)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2015-09-26 22:33:09,215 localhost-startStop-1 ERROR [service.services.analytics.JiraLifecycleAnalyticsService] Error trying to grab analytics from [com.atlassian.jira.service.services.analytics.start.UserAnalyticTask]
com.atlassian.cache.CacheException: java.lang.NullPointerException: The validated object is null
at com.atlassian.cache.memory.DelegatingCachedReference.get(DelegatingCachedReference.java:60)
at com.atlassian.jira.crowd.embedded.ofbiz.OfBizApplicationDao.findByName(OfBizApplicationDao.java:135)
at com.atlassian.crowd.embedded.core.CrowdEmbeddedApplicationFactory.getApplication(CrowdEmbeddedApplicationFactory.java:25)
at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.getApplication(CrowdDirectoryServiceImpl.java:271)
...
Caused by: java.lang.NullPointerException: The validated object is null
at org.apache.commons.lang3.Validate.notNull(Validate.java:222)
at org.apache.commons.lang3.Validate.notNull(Validate.java:203)
..
... 41 more
2015-09-26 22:33:09,266 localhost-startStop-1 ERROR [service.services.analytics.JiraLifecycleAnalyticsService] Error trying to grab analytics from [com.atlassian.jira.service.services.analytics.start.GroupAnalyticTask]
com.atlassian.cache.CacheException: java.lang.NullPointerException: The validated object is null
at com.atlassian.cache.memory.DelegatingCachedReference.get(DelegatingCachedReference.java:60)
at com.atlassian.jira.crowd.embedded.ofbiz.OfBizApplicationDao.findByName(OfBizApplicationDao.java:135)
at com.atlassian.crowd.embedded.core.CrowdEmbeddedApplicationFactory.getApplication(CrowdEmbeddedApplicationFactory.java:25)
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.getApplication(CrowdServiceImpl.java:884)
..
Caused by: java.lang.NullPointerException: The validated object is null
at org.apache.commons.lang3.Validate.notNull(Validate.java:222)
at org.apache.commons.lang3.Validate.notNull(Validate.java:203)
at com.atlassian.crowd.model.application.ApplicationImpl.setNameAndLowerName(ApplicationImpl.j
Cause
This happened due to a null record was inserted in the cwd_application table in application_name.
Resolution
Always back up your data before making any database modifications. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.
Remove the null record in the cwd_application
table.
Was this helpful?