Client-Side Extension: Cannot enable Bitbucket Plugin

Tamir.Kucherov October 9, 2022

Hi,

 

I'm unable to enable Bitbucket Plugin.

I follow this guide of Client-Side Extension: https://developer.atlassian.com/server/framework/clientside-extensions/guides/introduction/

 

When I go to manage apps -> Bitbucket Plugin -> Enable, in logs I receive following error:

c.a.plugin.osgi.factory.OsgiPlugin Detected an error (BundleException) enabling the plugin 'com.atlassian.myapp.bitbucket-plugin-template' :
Unable to resolve com.atlassian.myapp.bitbucket-plugin-template [93](R 93.0): missing requirement [com.atlassian.myapp.bitbucket-plugin-template [93](R 93.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=9.0))
..
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.myapp.bitbucket-plugin-template
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:424)

...

[INFO] 2022-10-09 13:05:46,408 INFO [http-nio-7990-exec-8] admin @1GAHFUMx785x115x0 9r5o6b 0:0:0:0:0:0:0:1 "PUT /rest/plugins/1.0/com.atlassian.myapp.bitbucket-plugin-template-key HTTP/1.1" com.atlassian.plugin.util.WaitUntil Plugins that have yet to be enabled: (1): [com.atlassian.myapp.bitbucket-plugin-template], 270 seconds remaining
[INFO] 2022-10-09 13:05:47,429 ERROR [http-nio-7990-exec-8] admin @1GAHFUMx785x115x0 9r5o6b 0:0:0:0:0:0:0:1 "PUT /rest/plugins/1.0/com.atlassian.myapp.bitbucket-plugin-template-key HTTP/1.1" c.a.plugin.manager.PluginEnabler Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.myapp.bitbucket-plugin-template

 

My Environment:

OS: Windows

Atlassian Bitbucket v7.17.9

Atlassian SDK 8

 

Thanks! Tamir

2 answers

0 votes
kaanakdenz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 26, 2022

I have same issue, cannot fix

" c.a.plugin.osgi.factory.OsgiPlugin Detected an error (BundleException) enabling the plugin 'com.atlassian.myapp.bitbucket-plugin-template' : Unable to resolve com.atlassian.myapp.bitbucket-plugin-template [93](R 93.0): missing requirement [com.atlassian.myapp.bitbucket-plugin-template [93](R 93.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=9.0)) Unresolved requirements: [[com.atlassian.myapp.bitbucket-plugin-template [93](R 93.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=9.0))]. This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see https://developer.atlassian.com/x/mQAN"

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 6, 2022

"timeout" here means that the plugin is trying to initialise, but taking far too long to do it, so the JVM is giving up on it.

You will need to put logging into the plugin to enable it to tell you what it is doing for the 3 minutes Jira gives it to load.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events