Plugins are disabled after installing UPM 2.2.2

I just upgraded to UPM 2.2.2. Tempo and Structure plugin are both disabled. When I try to enable them I get

This plugin failed to enable. Your license may be invalid. Please refer to the logs for more information.

Checking the logging I get for both plugins

Caused by: com.atlassian.plugin.PluginParseException: Unable to load the module's display conditions:
Could not load 'com.tempoplugin.view.condition.ShowReportCondition' in plugin is.origo.jira.tempo-plugin

and

Caused by: com.atlassian.plugin.PluginParseException: Unable to load the module's display conditions: Could not load 'com.almworks.jira.structure.web.StructureOperationsApplicableIssueCondition' in plugin com.almworks.jira.structure

Not sure what's going on, but we do have a demo tomorrow.

Francis


2 answers

1 accepted

0 vote

Francis, did you try to restart JIRA?

We found this problem too, but restarting JIRA helps.

Also, I think we've tackled this problem in Structure 1.6, so it survives UPM upgrade.

Note to all devs: try to add dependency on a upm package to your Import-Package, for example:

com.atlassian.upm.api.util;version="0";resolution:=optional

On a side note off topic, if you have a demo tomorrow, don't upgrade Structure yet, as it has incompatible API changes - see the release notes

Also worth noting, we don't use licensing API from the UPM - there might be more problems for the marketplace plugins

Hi Igor,

No we didn't restart JIRA initially.
Anyway - demo went well.

Thanks,

Francis

Reverting UPM to 2.1.5 helped.

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
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

11,977 views 11 24
Read article

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