Facing an issue while enabling jira schema diagram generator plugin?

Somehow, restarting the JIRA server disable jira schema diagram generator plugin and I am unable to load it again? Can someone help

1 answer

0 vote

Start by reading the log file for the startup where it loads the plugins, and then when you click "disable".

yes it is disable somehow incidently but I am getting error now to enable it, could you please help me how can I enable it, getting only option to uninstall

While checking the logs , I found following error, there is some issue while jira start up

Caused by: java.lang.IllegalArgumentException: interface com.atlassian.cache.CacheManager is not visible from class loader

at java.lang.reflect.Proxy.getProxyClass0(Unknown Source)

at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)

at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.createHostComponentProxy(HostComponentFactoryBean.java:91)

at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.afterPropertiesSet(HostComponentFactoryBean.java:99)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)

... 66 more

Any help on this.

That implies you're using the wrong version of Java for Jira and/or a plugin, you've got the wrong version of a plugin, or your installation is damaged in some other way.

How has this installation been done?

There is no latest installation has been done, only custom plugin has been added after making some changes. Server is rebooted and later on, start up failed for this.

Ok, so it was working before the plugin was added, and broke when it was installed.

Try removing the plugin and restarting - does that work now?

I removed the plugin and tried, I see JIRA working fine.. creating issues as expected but logs again showing some errors as below:

Field layout contains non-orderable field with id 'customfield_10004'.

2014-08-22 02:14:09,798 http-bio-8081-exec-4 INFO anonymous 134x2437x1 1nipp9 10.210.20.119,10.100.3.144 /secure/IssueNavigator.jspa [fields.layout.field.AbstractFieldLayoutManager] Field layout contains non-orderable field with id 'customfield_10000'.

Any Idea, when these type of alerts in the logs are logged?

You've got a damaged custom field in the database. If you're lucky, it'll be enabled in the custom field list, and the simple fix for it would be to identify what type of field it is and check the plugin that provides it. If it's not via a plugin, then try changing the searcher and re-indexing it.

It could also be a field you are no longer using. If that's the case, delete it.

Actually I found that there are 6 fields from database which referred to JIRA agile I suppose. Following are the fields.

'com.pyxis.greenhopper.jira:gh-lexo-rank';

'com.pyxis.greenhopper.jira:gh-epic-link';

'com.pyxis.greenhopper.jira:gh-epic-status';

'com.pyxis.greenhopper.jira:gh-epic-label';

'com.pyxis.greenhopper.jira:gh-sprint';

'com.pyxis.greenhopper.jira:gh-global-rank';

'com.pyxis.greenhopper.jira:gh-epic-color';

All throwing an error like below

ERROR anonymous 482x744x3 187fkvb 10.210.20.119,10.100.3.144 /rest/gadget/1.0/issueTable/filter [jira.issue.managers.DefaultCustomFieldManager]

Could not load custom field type plugin with key 'com.pyxis.greenhopper.jira:gh-epic-link'. Is the plugin present and enabled?

JIRA agile has already been uninstalled from the JIRA instance

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
Posted 10 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

33 views 0 5
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