Unable to delete issues after upgrading to JIRA Server v7.7.0

Alan Cross January 22, 2018

After a long and quite protracted upgrade from v6.1.7 to v7.7.0, including moving the database from SQL to MySQL (v5.7.21), during testing, I am able to create and amend issues, but cannot delete them. I have also moved JIRA from 32 bit to 64 bit. Deleting two separate issues also throws up different errors, one referring to jira-dvcs-connector-plugin and the other to com.pyxis.greenhopper.jira. Both these issues have been generated in a test system. The first as follows (partial):

Technical details

Log's referral number: a6170330-4e5f-4e0d-a95d-a4dd03230427
Cause

Referer URL: http://localhost:8080/browse/DTRSTL-1361?filter=-3

com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.pyxis.greenhopper.jira]

    com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.pyxis.greenhopper.jira]
        at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects$1$1$1.call(TenantAwareActiveObjects.java:95) [?:?]
        at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects$1$1$1.call(TenantAwareActiveObjects.java:86) [?:?]
        at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:38) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
    Caused by: com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
        Database:
            - name:MySQL
            - version:5.7.21-log
            - minor version:7
            - major version:5
        Driver:
            - name:MySQL Connector Java
            - version:mysql-connector-java-5.1.45 ( Revision: 9131eefa398531c7dc98776e8a3fe839e544c5b2 )
        
        com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: REFERENCES command denied to user 'jiradbuser'@'localhost' for table 'ao_60db71_rapidview'
        at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.migrate(EntityManagedActiveObjects.java:53) [?:?]

 

The second (partial):

Technical details

Log's referral number: 6524d908-35bb-4d6a-b953-b262c5f3796f
Cause

Referer URL: http://localhost:8080/browse/CCF-174?filter=-3

com.atlassian.cache.CacheException: com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.atlassian.jira.plugins.jira-dvcs-connector-plugin]

    com.atlassian.cache.CacheException: com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.atlassian.jira.plugins.jira-dvcs-connector-plugin]
        at com.atlassian.cache.memory.DelegatingCachedReference.get(DelegatingCachedReference.java:91) [atlassian-cache-memory-2.13.4.jar:?]
        at com.atlassian.jira.plugins.dvcs.dao.impl.CachingOrganizationDaoImpl.getAllCachedOrgs(CachingOrganizationDaoImpl.java:211) [?:?]
        at com.atlassian.jira.plugins.dvcs.dao.impl.CachingOrganizationDaoImpl.getAllByType(CachingOrganizationDaoImpl.java:83) [?:?]
        at com.atlassian.jira.plugins.dvcs.service.OrganizationServiceImpl.getAll(OrganizationServiceImpl.java:114) [?:?]
        at com.atlassian.jira.plugins.dvcs.service.api.DvcsLinkServiceImpl.getDvcsLinks(DvcsLinkServiceImpl.java:40) [?:?]
        at sun.reflect.GeneratedMethodAccessor713.invoke(Unknown Source) [?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_102]
        at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_102]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) [?:?]
        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) [?:?]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]

Any suggestions as to how to get over these errors?

1 answer

1 accepted

0 votes
Answer accepted
Alan Cross January 22, 2018

Resolved - after digging in my system settings, it transpired that I had installed JIRA Software at some point. This was showing alongside the JIRA Core server. Core was licensed, Software was not and somehow all projects had been converted to Software projects!

Be careful of software versions you download, although this is not always apparent.

I uninstalled the JIRA Software and can now delete issues.

Suggest an answer

Log in or Sign up to answer