[TIME-205] gadget not working

Issue #205 resolved
Andriy Zhdanov created an issue

I have installed timesheet plugin 2.2.5 on jira 4,4 and the installation was successful. When i try to add the gadget on my dashboard i get this error An internal server error occurred when requesting resource /rest/timesheet-gadget/1.0/group-timesheet.json.And if I click on the link /rest/timesheet-gadget/1.0/group-timesheet.json I get this error on my browser {"status-code":500,"message":"com.atlassian.jira.timezone.TimeZoneManager.getLoggedInUserTimeZone()Ljava/util/TimeZone;"}.
Please if you can help me fix it.
thanks

By raja/raja assaf on Tue, 13 Dec 2011 02:55:58 -0800

Comments (9)

  1. Andriy Zhdanov reporter

    and also I enabled project pivot and it doesn't display when click on report in a specific project

    By raja on Tue, 13 Dec 2011 08:06:33 -0800

  2. Andriy Zhdanov reporter

    2011-12-13 17:54:40,811 GadgetInstallationThread-1 WARN anonymous gadgets.publisher.internal.PluginGadgetFinder Gadget spec PluginGadgetSpec{plugin=jira-timesheet-plugin, location='group-timesheet-gadget.xml'} could not be added to plugin-provided gadget spec store, ignoring
    2011-12-13 17:54:40,872 GadgetInstallationThread-1 WARN anonymous gadgets.publisher.internal.PluginGadgetFinder Gadget spec PluginGadgetSpec{plugin=jira-timesheet-plugin, location='project-pivot-gadget.xml'} could not be added to plugin-provided gadget spec store, ignoring
    2011-12-13 17:54:43,917 http-8090-2 ERROR raja.assaf 1074x84148x1 1sd99qm 10.0.0.135,10.0.0.70 /rest/plugins/1.0/jira-timesheet-plugin-key jira.issue.managers.DefaultCustomFieldManager Could not load custom field type plugin with key 'com.atlassian.jira.toolkit:participants'. Is the plugin present and enabled?
    2011-12-13 17:54:43,951 http-8090-2 ERROR raja.assaf 1074x84148x1 1sd99qm 10.0.0.135,10.0.0.70 /rest/plugins/1.0/jira-timesheet-plugin-key jira.issue.managers.DefaultCustomFieldManager Could not load custom field type plugin with key 'com.atlassian.jira.toolkit:supporttools'. Is the plugin present and enabled?
    2011-12-13 17:54:43,986 http-8090-2 ERROR raja.assaf 1074x84148x1 1sd99qm 10.0.0.135,10.0.0.70 /rest/plugins/1.0/jira-timesheet-plugin-key jira.issue.managers.DefaultCustomFieldManager Could not load custom field type plugin with key 'jira.plugin.kaamelot.core:workers'. Is the plugin present and enabled?
    2011-12-13 17:54:49,256 http-8090-7 ERROR raja.assaf 1074x84152x1 1sd99qm 10.0.0.135,10.0.0.70 /rest/plugins/1.0/jira-timesheet-plugin-key/projectpivot-key jira.issue.managers.DefaultCustomFieldManager Could not load custom field type plugin with key 'com.atlassian.jira.toolkit:participants'. Is the plugin present and enabled?
    2011-12-13 17:54:49,270 http-8090-7 ERROR raja.assaf 1074x84152x1 1sd99qm 10.0.0.135,10.0.0.70 /rest/plugins/1.0/jira-timesheet-plugin-key/projectpivot-key jira.issue.managers.DefaultCustomFieldManager Could not load custom field type plugin with key 'com.atlassian.jira.toolkit:supporttools'. Is the plugin present and enabled?
    2011-12-13 17:54:49,316 http-8090-7 ERROR raja.assaf 1074x84152x1 1sd99qm 10.0.0.135,10.0.0.70 /rest/plugins/1.0/jira-timesheet-plugin-key/projectpivot-key jira.issue.managers.DefaultCustomFieldManager Could not load custom field type plugin with key 'jira.plugin.kaamelot.core:workers'. Is the plugin present and enabled?
    2011-12-13 17:55:27,303 http-8090-17 INFO anonymous 1075x84170x1 1sd99qm 10.0.0.135,10.0.0.70 /s/en_UK-ma5peu/634/9/2.2.5/_/download/resources/jira-timesheet-plugin:timesheet-gadget/timesheet-gadget-thumb.png atlassian.plugin.webresource.PluginResourceLocatorImpl Unable to find resource for plugin: jira-timesheet-plugin:timesheet-gadget and path: timesheet-gadget-thumb.png
    2011-12-13 17:55:27,369 http-8090-11 INFO anonymous 1075x84171x1 1sd99qm 10.0.0.135,10.0.0.70 /s/en_UK-ma5peu/634/9/2.2.5/_/download/resources/jira-timesheet-plugin:timesheet-gadget/project-pivot-gadget-thumb.png atlassian.plugin.webresource.PluginResourceLocatorImpl Unable to find resource for plugin: jira-timesheet-plugin:timesheet-gadget and path: project-pivot-gadget-thumb.png

    this is what i get in the logs...

    By raja on Tue, 13 Dec 2011 08:12:51 -0800

  3. Andriy Zhdanov reporter

    This is strange, support for user time zones (TimeZoneManager.getLoggedInUserTimeZone) was added in Jira 4.4, and so in plugin 2.2.5.
    You may want to try older version 2.2.4

    By azhdanov on Sat, 17 Dec 2011 04:31:42 -0800

  4. Andriy Zhdanov reporter

    hi Andrew, I tried the older version 2.2.4 and yet i got the same error on the gadget. Is there anything I can attach for you to solve this matter asap. Thanks

    By raja on Mon, 19 Dec 2011 00:59:24 -0800

  5. Andriy Zhdanov reporter

    You may have not uninstalled 2.2.5. Please try investigate this using grep TimeZoneManager. It really should be provided in Jira 4.4 only, and in plugin 2.2.5.

    By azhdanov on Mon, 19 Dec 2011 12:06:53 -0800

  6. Andriy Zhdanov reporter

    java.lang.NoSuchMethodError: com.atlassian.jira.timezone.TimeZoneManager.getLoggedInUserTimeZone()Ljava/util/TimeZone; This is what i found in the log when i grep TimeZoneManager, any idea of what could it be ?
    btw I have installed all possible versions and yet same error. 2.2.3 2.2.4 2.2.5 2.3.

    By raja on Tue, 20 Dec 2011 01:15:43 -0800

  7. Andriy Zhdanov reporter

    This is impossible, call for TimeZoneManager.getLoggedInUserTimeZone, was added in 2.2.5, older versions can not have this problem, please make sure you've uninstalled other versions.

    By azhdanov on Tue, 20 Dec 2011 03:01:08 -0800

  8. Andriy Zhdanov reporter

    We've got that error

    An internal server error occurred when requesting resource /rest/timesheet-gadget/1.0/group-timesheet.json.

    Only then https is used, it's ok with http.

    By sotskiy on Thu, 29 Dec 2011 06:44:46 -0800

  9. Andriy Zhdanov reporter

    hi nikolay, in the jirahome/plugins/installed-plugin, vi the plugin timesheet and select gadget.xml grouptimesheet.xml and project-pivot.xml and change in the line base_url replace the base_url with http://yourserverIP:jiraport.

    By raja on Thu, 29 Dec 2011 07:29:25 -0800

  10. Log in to comment