[TIME-146] errors loading plugin in JIRA 4.2.4
When I install this plugin and start Jira I get error:
There was a problem loading the descriptor for module 'Timesheet Report' in plugin 'JIRA TimeSheet Plugin'. Error retrieving dependency of class: com.fdu.jira.plugin.report.timesheet.TimeSheet. Missing class: com/atlassian/crowd/embedded/api/User
I thing it relate to issue #143 "[TIME-143] Plugin Incompatable with Jira 4.3"
Judging from: https://studio.plugins.atlassian.com/browse/JDDAP-9
The thing that has changed is the User Namespace for the first parameter passed to JiraServiceContextImpl
Was: import com.opensymphony.user.User;
Now: import com.atlassian.crowd.embedded.api.User;
Please see https://studio.plugins.atlassian.com/source/changelog/JDDAP/?cs=157701 for more information
Can You help me?
Where can I found the solution?
Thx.
By jihronek/Jiri Hronek on Thu, 24 Mar 2011 14:10:03 -0700
Comments (20)
-
reporter -
reporter Could you please try, plugin version 2.1? See https://studio.plugins.atlassian.com/svn/TIME/jars/jira-timesheet-plugin-2.1.jar
It looks like support for CROWD was added in 4.2, hm.
By azhdanov on Fri, 25 Mar 2011 06:08:46 -0700
-
reporter The version 2.1 give the same error:
JIRA TimeSheet Plugin
Popis: Plugin with two reports and gadget for time tracking.
Vendor: Andriy Zhdanov
Plugin Version: 2.1
JIRA Versions: 4.3 - 0.0
Installation Mode: Managed
There were errors loading this plugin:
There was a problem loading the descriptor for module 'Timesheet Report' in plugin 'JIRA TimeSheet Plugin'. Error retrieving dependency of class: com.fdu.jira.plugin.report.timesheet.TimeSheet. Missing class: com/atlassian/crowd/embedded/api/UserI download this version from https://plugins.atlassian.com/plugin/details/294
It's OK or I must go to else link?By jihronek on Fri, 25 Mar 2011 06:17:53 -0700
-
reporter this is happening to us just after i installed 2.1. HELP!
By rwilcox on Fri, 25 Mar 2011 06:36:27 -0700
-
reporter It did not work for me either with the version 2.1 of the plugin.
I don't really feel like upgrading my whole JIRA installation just to make the plugin work but, I really need the timesheet functionality so if there's no other way, I guess I'll have to.
Thanks for the help anyway.
By nvahlas on Fri, 25 Mar 2011 06:46:09 -0700
-
reporter Guys, this is unbelievable, v 2.1 solves issue
#143"[TIME-143] Plugin Incompatable with Jira 4.3" problem, confirmed by others. Either you have another problem, or you have not properly uninstalled v 2.0.
Also there's no point to upgrade Jira to make plugin work Plugin v 2.0 is compatible with Jira 4.0 - 4.3, version 2.1 adds only issue#143"[TIME-143] Plugin Incompatable with Jira 4.3" fix. Please check carefully what's your problem and let me know if I can help somehow.Thank you.
By azhdanov on Fri, 25 Mar 2011 10:25:36 -0700
-
reporter Well, I've re-read bug description, and realized that your problem is that plugin v 2.0 references com/atlassian/crowd/embedded/api/User, which is not available in Jira 4.2.
So I've just found the cause. Because of 2.0 was built for Jira 4.3 (to verify its compatibility), binary references com/atlassian/crowd/embedded/api/User, although it is not ever mentioned in source.
I've fixed it, please re-download 2.0 jar.
I'm sorry about my previous comment and inconvenience caused.
Committed revision 159100
And I'm marking it as incompatible with 4.3, to avoid further inconsistency.
Committed revision 159101
By azhdanov on Fri, 25 Mar 2011 13:22:52 -0700
-
reporter Thank you.
I can install plugin now.
But when I start JIRA again I can see this error:jira-timesheet-plugin
Popis:
Vendor: (unknown)
Plugin Version: 0.0
JIRA Version: 0.0
Installation Mode: Embedded
There were errors loading this plugin:
Unable to process plugin to generate OSGi manifestAnd in Universal Plugin Manager i see:
This plugin has no modules.By jihronek on Sun, 27 Mar 2011 23:36:44 -0700
-
reporter log:
2011-03-28 08:07:31,902 Thread-1 ERROR atlassian.plugin.loaders.ScanningPluginLoader Unable to deploy plugin 'jira-timesheet-plugin', file Unit: C:\Program Files\Atlassian\Application Data\JIRA\plugins\installed-plugins\jira-timesheet-plugin-2.0.jar (1301292304000)
com.atlassian.plugin.PluginParseException: Unable to process plugin to generate OSGi manifest
at com.atlassian.plugin.osgi.factory.transform.stage.GenerateManifestStage.execute(GenerateManifestStage.java:154)
at com.atlassian.plugin.osgi.factory.transform.DefaultPluginTransformer.transform(DefaultPluginTransformer.java:190)
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.createOsgiPluginJar(OsgiPluginFactory.java:250)
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:162)
at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:116)
at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:89)
at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:136)
at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52)
at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1326)
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:227)
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:212)
at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NumberFormatException: multiple points
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
at java.lang.Float.parseFloat(Float.java:422)
at com.atlassian.plugin.parsers.XmlDescriptorParser.createPluginInformation(XmlDescriptorParser.java:272)
at com.atlassian.plugin.parsers.XmlDescriptorParser.getPluginInformation(XmlDescriptorParser.java:319)
at com.atlassian.plugin.osgi.factory.transform.stage.GenerateManifestStage.execute(GenerateManifestStage.java:89)
... 27 moreBy jihronek on Sun, 27 Mar 2011 23:40:33 -0700
-
reporter Hello,
we also experience similar problem with starting jira with this plugin.
com.atlassian.plugin.PluginParseException: Unable to process plugin to generate OSGi manifestBy ivan.fofanov on Mon, 28 Mar 2011 07:08:42 -0700
-
reporter Fixed, sorry for this.
Committed revision 159193By azhdanov on Mon, 28 Mar 2011 16:41:37 -0700
-
reporter Thak you very much. It's very useful plugin for us
Now is everything OK.By jihronek on Mon, 28 Mar 2011 23:21:01 -0700
-
reporter Thanks very much, I tried it today and it seems to work like a charm !
By nvahlas on Fri, 1 Apr 2011 08:13:21 -0700
-
reporter Unfortunately I'm not able to get this plugin to work with JIRA v4.2
#587.
I've installed jira-timesheet-plugin-2.0.jar using the Universal Plugin Manager, but I got the error described here. So I've tried https://studio.plugins.atlassian.com/svn/TIME/jars/jira-timesheet-plugin-2.1.jar and https://studio.plugins.atlassian.com/svn/TIME/jars/jira-timesheet-plugin-2.0.jar and installed them manually by placing the jars in jirahome/plugins/installed-plugins. But this leads to the same error.
So what do I have to do, to make the plugin working?Plugin Information
JIRA TimeSheet Plugin
Description: Plugin with two reports and gadget for time tracking.
Vendor: Andriy Zhdanov
Plugin Version: 2.0
JIRA Versions: 4.0 - 4.2
Installation Mode: Managed
There were errors loading this plugin:
There was a problem loading the descriptor for module 'Timesheet Report' in plugin 'JIRA TimeSheet Plugin'. Error retrieving dependency of class: com.fdu.jira.plugin.report.timesheet.TimeSheet. Missing class: com/atlassian/crowd/embedded/api/UserJIRA Info
Version 4.2
Build Number 587
Build Date Sun Oct 17 00:00:00 CEST 2010
Installation Type EAR/WARKind regards,
ThorstenBy tplatz on Thu, 28 Jul 2011 23:00:14 -0700
-
reporter Please make sure 2.0 is uninstalled, may be delete it manually, every where (search for it in file system), then install 2.1 from plugin manager if possible or manually.
By azhdanov on Fri, 29 Jul 2011 08:26:35 -0700
-
reporter Hi Andrew,
thanks for your assistance but it's still not working.
So this is what I've done:
JIRA is up and running, jira-timesheet-plugin-2.0.jar is installed with errors described in my previous post.Uninstall Plugin:
SHUTDOWN tomcat user@server:~/app/jirahome/plugins/installed-plugins :> rm jira-timesheet-plugin-2.0.jar user@server:~/app/jirahome :> find -name "*timesheet*" ./plugins/.osgi-plugins/transformed-plugins/plugin.5987862170469479453.jira-timesheet-plugin-2.0_1311597130000.jar ./plugins/.osgi-plugins/transformed-plugins/jira-timesheet-plugin-2.0_1311917631000.jar ./plugins/.osgi-plugins/transformed-plugins/jira-timesheet-plugin-2.1_1311918013000.jar ./plugins/.osgi-plugins/transformed-plugins/jira-timesheet-plugin-2.0_1311918951000.jar user@server:~/app/jirahome :> find -name "*timesheet*" -exec rm {} \; user@server:~/app/jirahome :> find -name "*timesheet*" user@server:~/app/jirahome STARTUP tomcat
The Plugin is uninstalled.
Install jira-timesheet-plugin-2.1.jar.
The Universal Plugin Manager searching for "timesheet", shows Version 2.0 of the Timesheet Report Plugin. So I installed Version 2.1 of the plugin manually by placing jira-timesheet-plugin-2.1.jar in the jirahome/plugins/installed-plugins folder:SHUTDOWN tomcat INSTALL jira-timesheet-plugin-2.1.jar manually STARTUP tomcat user@server:~/app/jirahome :> find -name "*timesheet*" ./plugins/.osgi-plugins/transformed-plugins/jira-timesheet-plugin-2.1_1312435491000.jar ./plugins/installed-plugins/jira-timesheet-plugin-2.1.jar user@server:~/app/jirahome STARTUP tomcat
In the Universal Plugin Manager the Timesheet Reporting Plugin is listed, but disabled. So I enabled the plugin. Looking at the JIRA Plugins Page in the Admin Section shows the well known error:
Plugin Information
JIRA TimeSheet Plugin Description: Plugin with two reports and gadget for time tracking. Vendor: Andriy Zhdanov Plugin Version: 2.1 JIRA Versions: 4.3 - 0.0 Installation Mode: Managed There were errors loading this plugin: There was a problem loading the descriptor for module 'Timesheet Report' in plugin 'JIRA TimeSheet Plugin'. Error retrieving dependency of class: com.fdu.jira.plugin.report.timesheet.TimeSheet. Missing class: com/atlassian/crowd/embedded/api/User
By tplatz on Wed, 3 Aug 2011 22:47:47 -0700
-
reporter Hi Thorsten,
I've just figured out the problem, this was my mistake caused by development environment, I've just fixed it, rebuilt 2.0 how it should be, not to reference crowd embedded api, it should work now.
Please remove 2.1 and redownload 2.0.
Note, 2.1 uses crowd api, so it was my stupidity to suggest you to try it.
Let me know, thank you.
By azhdanov on Fri, 5 Aug 2011 05:44:35 -0700
-
reporter Hello again,
I've downloaded https://studio.plugins.atlassian.com/svn/TIME/jars/jira-timesheet-plugin-2.0.jar which has much smaller file size than before (137 KB vs 285 KB) and installed manually.
The Plugin loads without any error message, but the widgets don't look good. See the Screenshot here: http://tinypic.com/r/25h26w9/7
The are Text-Placeholders that won't be replaced by the actual text:- _MSG_gadget.pref.label.num_weeks_
- _MSG_gadget.pref.label.reporting_day_
- _MSG_gadget.pref.label.project_
and so on...
Unfortunately I do not find any error messages/exceptions in the JIRA logfile.
Do you have any idea what is wrong?
Thanks a lot!
ThorstenBy tplatz on Sun, 7 Aug 2011 22:46:43 -0700
-
reporter Hi Thorsten,
File size is correct, this is because previous one was built incorrectly with output from eclipse. The latter one is clean build with mvn only.
However, regarding the problem, this might be configuration issue, you may have started useing HTTPS, or anything else have changed in your setup. Please see issue
#148"[TIME-148] JIRA Timesheet Plugin GADGET doesn't support SSL?" and maybe other gadget trouble shooting.Thank you.
By azhdanov on Tue, 9 Aug 2011 00:56:27 -0700
-
reporter - removed version
Removing version: 2.2.9 (automated comment)
- Log in to comment
I tried to install the timesheet plugin on a JIRA 4.2 and got the same error.
Any news on that ?
By nvahlas on Fri, 25 Mar 2011 01:21:53 -0700