Missing find/manage/purchased add-ons from JIRA

Hi,

Suddenly we are facing issue in JIRA-6.2.7

Today we are missing one section from the add-ons tab.

image2015-1-6 17:19:8.png

Missing section should be as follows:

image2015-1-6 17:20:35.png

We have done RnD and it seems like UniversalPluginManager is disabled. 

Kindly let us know the actual root cause and solution for it.

 

Thanks!

Ritesh

4 answers

0 vote

Start by reading your log file - that should tell you why the UPM has not started correctly.

Hi Nic,

Please take a look and give some pointers.

 

******************************************************************************************************************************************************************************************************** ___ FAILED PLUGIN REPORT _____________________

1 plugin failed to load during JIRA startup.

 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' - 'Atlassian Universal Plugin Manager Plugin'  failed to load.   Error creating bean with name 'settingsService' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.upm.license.internal.LicenseTokenStore]: : Error creating bean with name 'licenseTokenStore' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'licenseTokenStore' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException    Error creating bean with name 'licenseTokenStore' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException     Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException      null

  It was loaded from D:\ApplicationData\JIRA\plugins\installed-plugins\plugin.8069142962758658151.atlassian-universal-plugin-manager-plugin-2.18.2.jar

********************************************************************************************************************************************************************************************************

 

 

Thanks!

Ritesh

0 vote

Hmm, I've seen that error before, but not in these versions of the software (older Jira, older UPM)

In all the stuff I'm about to say, I talk about "moving" some files - I really do mean move them to a temporary directory that is outside the JIRA installation and working space as backups.  I usually use a sub-directory in my home directory (/home/nic/jirabackup or "my documents/jirabackup").  If JIRA behaves oddly after doing these moves and restarting, you'll want to put them back and restart.

First, could you have a look in the directory D:\ApplicationData\JIRA\plugins\installed-plugins\ - I'm wondering if there are any duplicates in there, especially the UPM addon.  If there are, then JIRA will be trying to load two versions of the UPM and getting itself confused.  If that is the case, then I'd stop Jira, move all but the latest version of the UPM plugin to somewhere safe and restart it

Second, I'd try "cleaning the plugin cache":

  • Stop JIRA
  • Find the "work" directory in the application installation (it should contain a directory called "Catalina" and maybe some other stuff
  • Move the contents of that directory somewhere safe (do NOT move the directory, just the contents)
  • Go to D:\ApplicationData\JIRA\plugins\
  • Move the .osgi-plugins and .bundled-plugins directories to your safe place (they may be hidden by the Operating system)
  • Restart JIRA

Third, I'd investigate plugins that might be trying to implement or include classes with the same name as ones the UPM is trying to do - to check this, I'd be looking to manually remove all the plugins you've added and gradually put them back one at a time.  This is quite a pain to explain (and do), so I'd rather try the two things above before talking through this one.

Hi Nic,

 

Thanks! for your quick help, I have tried first two things. Still I am getting the same error. I am pasting the whole JIRA log here. It will help us to identify the issue.

 

********************************************************************************* JIRA 6.2.7 build: 6265 started. You can now access JIRA through your web browser. *********************************************************************************

2015-01-06 08:58:08,250 localhost-startStop-1 INFO      [atlassian.jira.upgrade.UpgradeManagerImpl] Setting current build number to 6265 2015-01-06 08:58:08,256 localhost-startStop-1 INFO      [atlassian.jira.upgrade.UpgradeManagerImpl] Setting current version to 6.2.7 2015-01-06 08:58:08,260 localhost-startStop-1 INFO      [atlassian.jira.upgrade.UpgradeManagerImpl] Setting downgrade version to 6.1.7 2015-01-06 08:58:08,273 localhost-startStop-1 INFO      [atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086] Removes broken twitter gadget from all dashboards that contain it 2015-01-06 08:58:08,273 localhost-startStop-1 INFO      [atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086] removing twitter gadget user preference entries from gadgetuserpreference table if any entries exist 2015-01-06 08:58:08,280 localhost-startStop-1 ERROR      [sal.core.upgrade.PluginUpgrader] Upgrade failed: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, PORTALPAGE, PORTLET_ID, COLUMN_NUMBER, positionseq, GADGET_XML, COLOR FROM dbo.portletconfiguration WHERE (GADGET_XML =  ? ) (The data types ntext and nvarchar are incompatible in the equal to operator.) com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, PORTALPAGE, PORTLET_ID, COLUMN_NUMBER, positionseq, GADGET_XML, COLOR FROM dbo.portletconfiguration WHERE (GADGET_XML =  ? ) (The data types ntext and nvarchar are incompatible in the equal to operator.)  at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.findListIteratorByCondition(DefaultOfBizDelegator.java:499)  at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.findListIteratorByCondition(WrappingOfBizDelegator.java:336)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)  at com.sun.proxy.$Proxy424.findListIteratorByCondition(Unknown Source)  <+3>  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)  at com.sun.proxy.$Proxy424.findListIteratorByCondition(Unknown Source)  at com.atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086$1.createListIterator(WallboardUpgradeTask_Build6086.java:125)  at com.atlassian.jira.ofbiz.DatabaseIterable.iterator(DatabaseIterable.java:39)  at com.atlassian.jira.ofbiz.DatabaseIterable.foreach(DatabaseIterable.java:44)  at com.atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086.loadTwitterGadgetPortletConfigIds(WallboardUpgradeTask_Build6086.java:144)  at com.atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086.doUpgrade(WallboardUpgradeTask_Build6086.java:68)  <+3>  at java.lang.reflect.Method.invoke(Unknown Source)  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  at com.sun.proxy.$Proxy718.doUpgrade(Unknown Source)  at com.atlassian.sal.core.upgrade.PluginUpgrader.doUpgrade(PluginUpgrader.java:85)  at com.atlassian.sal.core.upgrade.PluginUpgrader.upgrade(PluginUpgrader.java:66)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradePlugin(DefaultPluginUpgradeManager.java:204)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInternal(DefaultPluginUpgradeManager.java:161)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager$1.doInTransaction(DefaultPluginUpgradeManager.java:140)  at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)  at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)  <+3>  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)  at com.sun.proxy.$Proxy335.doInTransaction(Unknown Source)  <+3>  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)  at com.sun.proxy.$Proxy335.doInTransaction(Unknown Source)  at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgrade(DefaultPluginUpgradeManager.java:136)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.onStart(DefaultPluginUpgradeManager.java:73)  <+3>  at java.lang.reflect.Method.invoke(Unknown Source)  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  at com.sun.proxy.$Proxy542.onStart(Unknown Source)  at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyLifecycleAwareOfStart(DefaultLifecycleManager.java:99)  at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStart(DefaultLifecycleManager.java:91)  at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.notifyOnStart(JiraLifecycleManager.java:67)  at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:50)  at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.onJiraStart(JiraLifecycleManager.java:61)  <+3>  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)  at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)  at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)  at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)  at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)  at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)  at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)  at com.atlassian.jira.upgrade.PluginUpgradeLauncher.start(PluginUpgradeLauncher.java:35)  at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:43)  at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:132)  at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:317)  at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:211)  at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:118)  at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:32)  at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:81)  at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34)  at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:76)  at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54)  <+5> (StandardContext.java:4939) (StandardContext.java:5434) (LifecycleBase.java:150) (ContainerBase.java:1559) (ContainerBase.java:1549)  at java.util.concurrent.FutureTask.run(Unknown Source)  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  at java.lang.Thread.run(Unknown Source) Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, PORTALPAGE, PORTLET_ID, COLUMN_NUMBER, positionseq, GADGET_XML, COLOR FROM dbo.portletconfiguration WHERE (GADGET_XML =  ? ) (The data types ntext and nvarchar are incompatible in the equal to operator.)  at org.ofbiz.core.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:605)  at org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:851)  at org.ofbiz.core.entity.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:194)  at org.ofbiz.core.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1235)  at org.ofbiz.core.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1194)  ... 118 more 2015-01-06 08:58:08,282 localhost-startStop-1 ERROR      [sal.core.upgrade.DefaultPluginUpgradeManager] Upgrade error: Unexpected exception caught during plugin upgrade: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, PORTALPAGE, PORTLET_ID, COLUMN_NUMBER, positionseq, GADGET_XML, COLOR FROM dbo.portletconfiguration WHERE (GADGET_XML =  ? ) (The data types ntext and nvarchar are incompatible in the equal to operator.)  at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.findListIteratorByCondition(DefaultOfBizDelegator.java:499)  at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.findListIteratorByCondition(WrappingOfBizDelegator.java:336)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)  at com.sun.proxy.$Proxy424.findListIteratorByCondition(Unknown Source)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)  at com.sun.proxy.$Proxy424.findListIteratorByCondition(Unknown Source)  at com.atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086$1.createListIterator(WallboardUpgradeTask_Build6086.java:125)  at com.atlassian.jira.ofbiz.DatabaseIterable.iterator(DatabaseIterable.java:39)  at com.atlassian.jira.ofbiz.DatabaseIterable.foreach(DatabaseIterable.java:44)  at com.atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086.loadTwitterGadgetPortletConfigIds(WallboardUpgradeTask_Build6086.java:144)  at com.atlassian.jirawallboard.upgrade.WallboardUpgradeTask_Build6086.doUpgrade(WallboardUpgradeTask_Build6086.java:68)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  at com.sun.proxy.$Proxy718.doUpgrade(Unknown Source)  at com.atlassian.sal.core.upgrade.PluginUpgrader.doUpgrade(PluginUpgrader.java:85)  at com.atlassian.sal.core.upgrade.PluginUpgrader.upgrade(PluginUpgrader.java:66)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradePlugin(DefaultPluginUpgradeManager.java:204)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInternal(DefaultPluginUpgradeManager.java:161)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager$1.doInTransaction(DefaultPluginUpgradeManager.java:140)  at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)  at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)  at com.sun.proxy.$Proxy335.doInTransaction(Unknown Source)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)  at com.sun.proxy.$Proxy335.doInTransaction(Unknown Source)  at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgrade(DefaultPluginUpgradeManager.java:136)  at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.onStart(DefaultPluginUpgradeManager.java:73)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)  at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)  at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)  at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  at com.sun.proxy.$Proxy542.onStart(Unknown Source)  at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyLifecycleAwareOfStart(DefaultLifecycleManager.java:99)  at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStart(DefaultLifecycleManager.java:91)  at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.notifyOnStart(JiraLifecycleManager.java:67)  at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:50)  at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.onJiraStart(JiraLifecycleManager.java:61)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)  at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)  at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)  at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)  at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)  at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)  at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)  at com.atlassian.jira.upgrade.PluginUpgradeLauncher.start(PluginUpgradeLauncher.java:35)  at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:43)  at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:132)  at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:317)  at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:211)  at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:118)  at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:32)  at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:81)  at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34)  at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:76)  at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54)  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)  at java.util.concurrent.FutureTask.run(Unknown Source)  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  at java.lang.Thread.run(Unknown Source) Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, PORTALPAGE, PORTLET_ID, COLUMN_NUMBER, positionseq, GADGET_XML, COLOR FROM dbo.portletconfiguration WHERE (GADGET_XML =  ? ) (The data types ntext and nvarchar are incompatible in the equal to operator.)  at org.ofbiz.core.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:605)  at org.ofbiz.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:851)  at org.ofbiz.core.entity.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:194)  at org.ofbiz.core.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1235)  at org.ofbiz.core.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1194)  at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.findListIteratorByCondition(DefaultOfBizDelegator.java:495)  ... 118 more : 2015-01-06 08:58:10,937 localhost-startStop-1 INFO      [ext.bamboo.service.PlanStatusUpdateServiceImpl] Job 'com.atlassian.jira.plugin.ext.bamboo.service.PlanStatusUpdateServiceImpl:job' scheduled to run every 60000ms 2015-01-06 08:58:10,939 localhost-startStop-1 INFO      [plugins.dvcs.scheduler.DvcsScheduler] DvcsScheduler start planned at Tue Jan 06 09:31:10 EST 2015, interval=3600000 2015-01-06 08:58:11,702 localhost-startStop-1 INFO      [jira.whatsnew.listeners.WhatsNewUpgradeFinishedListenerImpl] Enabling show-whats-new-flag for all users 2015-01-06 08:58:11,712 localhost-startStop-1 INFO      [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler.... 2015-01-06 08:58:11,732 localhost-startStop-1 INFO      [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler started. 2015-01-06 08:58:11,741 localhost-startStop-1 WARN      [atlassian.jira.startup.JiraStartupLogger]

******************************************************************************************************************************************************************************************************** ___ FAILED PLUGIN REPORT _____________________

1 plugin failed to load during JIRA startup.

 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' - 'Atlassian Universal Plugin Manager Plugin'  failed to load.   Error creating bean with name 'settingsService' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.upm.license.internal.LicenseTokenStore]: : Error creating bean with name 'licenseTokenStore' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'licenseTokenStore' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException    Error creating bean with name 'licenseTokenStore' defined in URL [bundle://131.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException     Could not instantiate bean class [com.atlassian.upm.license.internal.impl.PluginSettingsLicenseTokenStore]: Constructor threw exception; nested exception is java.lang.NullPointerException      null

  It was loaded from D:\ApplicationData\JIRA\plugins\installed-plugins\plugin.8069142962758658151.atlassian-universal-plugin-manager-plugin-2.18.2.jar

********************************************************************************************************************************************************************************************************

2015-01-06 08:58:14,393 Modification Check:thread-1 INFO      [atlassian.jira.startup.JiraStartupLogger]

___ Modifications ___________________________

     Modified Files                                : jira-application.properties, entitydefs/fieldtype-mssql.xml      Removed Files                                 : None

2015-01-06 08:58:15,032 QuartzScheduler_Worker-0 INFO ServiceRunner    Backup Service [jira.bc.dataimport.DefaultExportService] Data export completed in 2979ms. Wrote 58995 entities to export in memory. 2015-01-06 08:58:15,033 QuartzScheduler_Worker-0 INFO ServiceRunner    Backup Service [jira.bc.dataimport.DefaultExportService] Attempting to save the Active Objects Backup 2015-01-06 08:58:16,505 QuartzScheduler_Worker-0 INFO ServiceRunner    Backup Service [jira.bc.dataimport.DefaultExportService] Finished saving the Active Objects Backup 2015-01-06 08:58:41,092 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteDirectory] synchronisation for directory [ 10003 ] starting 2015-01-06 08:58:46,175 CrowdUsnChangedCacheRefresher:thread-2 INFO ServiceRunner     [directory.ldap.cache.UsnChangedCacheRefresher] found [ 0 ] remote groups in [ 5068ms ] 2015-01-06 08:58:56,585 CrowdUsnChangedCacheRefresher:thread-1 INFO ServiceRunner     [directory.ldap.cache.UsnChangedCacheRefresher] found [ 185 ] remote users in [ 15478ms ] 2015-01-06 08:58:56,604 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned and compared [ 185 ] users for delete in DB cache in [ 16ms ] 2015-01-06 08:58:56,604 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned for deleted users in [ 18ms ] 2015-01-06 08:58:56,605 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanning [ 185 ] users to add or update 2015-01-06 08:58:56,608 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] scanned and compared [ 185 ] users for update in DB cache in [ 3ms ] 2015-01-06 08:58:56,608 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] synchronised [ 185 ] users in [ 3ms ] 2015-01-06 08:58:56,609 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] scanning [ 0 ] groups to add or update 2015-01-06 08:58:56,613 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned and compared [ 0 ] groups for update in DB cache in [ 4ms ] 2015-01-06 08:58:56,614 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] synchronized [ 0 ] groups in [ 5ms ] 2015-01-06 08:58:56,615 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteChangeOperations] scanned and compared [ 0 ] groups for delete in DB cache in [ 1ms ] 2015-01-06 08:58:56,625 QuartzScheduler_Worker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteDirectory] FULL synchronisation complete for directory [ 10003 ] in [ 15534ms ] 2015-01-06 08:59:09,394 http-bio-8080-exec-7 INFO anonymous 539x41x1 - 192.168.4.171 /secure/AssignIssue.jspa [jira.web.action.XsrfErrorAction] The security token is missing for 'anonymous'. User-Agent : 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko'

Ok, now you have two errors and something I'd worry about. First, I'd like to know about "Modified Files : jira-application.properties, entitydefs/fieldtype-mssql.xml" - why have you altered this file? It's dangerous to meddle with it unless you know what you are doing (and it might be the cause of the other error you're getting with the twitter thing) However, I don't think that's a direct relation to the UPM problem. My next suggestion there is to again, stop Jira, nip into the plugin directory and move the upm files to your safe place. The idea is to get Jira up and running with no UPM at all to begin with.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

800 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you