Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't enable fastdev at startup

Jaime Rey June 30, 2012

I'm developing a jira plugin and the the sdk atlas-debug order suddenly started to throw this error in the log:

main ERROR [plugin.osgi.factory.OsgiPlugin] Detected an error (BundleException) enabling the plugin 'com.atlassian.labs.fa
stdev-plugin' : Unresolved constraint in bundle com.atlassian.labs.fastdev-plugin [47]: package; (&(package=com.atlassian.plugins.rest.common.security)
(version>=2.4.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 det
ails on how to fix this, see http://confluence.atlassian.com/x/1xy6D
2012-07-01 14:45:19,653 main WARN [plugin.osgi.factory.OsgiPlugin] Unable to enable plugin 'com.atlassian.labs.fastdev-plugin'
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.labs.fastdev-plugin


It shows a very similar one for the plugin-data-editor.

Does somebody have any clue about this error?

Thanks in advance.

5 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
abhalla
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.
July 6, 2012

FastDev 1.7 and later currently support JIRA 4.3 and later. You can still use FastDev 1.6.6, which I've verified will work with JIRA 4.2.

To do so, you'll need to modify your pom.xml like so:

<plugin>
    <groupId>com.atlassian.maven.plugins</groupId>                
    <artifactId>maven-jira-plugin</artifactId>
    <version>${amps.version}</version>
    <extensions>true</extensions>
    <configuration>
        <productVersion>${jira.version}</productVersion>
        <productDataVersion>${jira.data.version}</productDataVersion>
        <fastdevVersion>1.6.6</fastdevVersion>
    </configuration>
</plugin>

I've also filed https://ecosystem.atlassian.net/browse/FASTDEV-101 to investigate extending FastDev support to older versions of JIRA.

cheers,

Arun

Jaime Rey July 8, 2012

Of course, it worked!!

Thank you very much!

0 votes
aparajita kulkarni July 25, 2013

Hi Arun,

I am also going through with the same issue, but your solution didn't worked for me.

I am following steps given in the following link

https://developer.atlassian.com/display/DOCS/Run+your+plugin+in+the+container.

My Sdk version is 4.2.3, and I am ruuning below command to start jira application

atlas-run --product jira --version 5.0

When i open the link below

http://localhost:2990/jira/secure/admin/ViewPlugins!default.jspa

fast dev plugin is disabled. when i try to enable it I am getting following error.

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

a [atlassian.jira.plugin.JiraPluginManager] Disable Plugin Without Persisting after Plugin System Started
[INFO] [talledLocalContainer] java.lang.RuntimeException
[INFO] [talledLocalContainer] at com.atlassian.jira.plugin.JiraPluginManager.disablePluginWithoutPersisting(JiraPluginManager.java:107)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:170)

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

In JIRA UI fast dev plugin details are shown as below

fastdev-plugin

Description: Plugin that detects shift-reload commands from the browser and reloads the underlying plugin.
Vendor: Atlassian
Plugin Version: 2.1
JIRA Version: 0.0
Installation Mode: Managed

So, I just changed fastdev plugin version to 2.1 insted of 1.6.6

<strong> <fastdevVersion>1.6.6</fastdevVersion></strong>

insted I given

<strong> <fastdevVersion>2.1</fastdevVersion></strong>.

Can you please tel me where I am wrong?

Regards,

Aparajita

0 votes
Jaime Rey July 2, 2012

I'm developing a jira 4.2 plugin, so i specify it in the plugin's POM.xml.

I'm running SDK 3.11 and just "atlas-debug".

Thanks for the answer.

0 votes
abhalla
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.
July 2, 2012

Hi Jaime,

Can you tell us which the JIRA version, SDK version, and the full atlas-debug command you're running?

Thanks,

Arun

0 votes
Jaime Rey July 1, 2012

If you go to the plugins section there's a message like these

Error occurred: Support for this module is not currently installed.

near every disabled plugin.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events