JIRA Startup Failed while Initialising the Plugin System

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

JIRA fails to start due to java.lang.IllegalArgumentException: The validated object is null

The following appears in the atlassian-jira.log:

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)
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 performing any modification to the database. If possible, try your modifications on a test server.

Remove the null record in the cwd_application table.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.