[TIME-196] An internal server error occurred when requesting resource /rest/timesheet-gadget/1.0/timesheet.json

Issue #196 invalid
Andriy Zhdanov created an issue

Using Timesheet portlet from Timesheet Plugin 2.2.3 results into message:
"An internal server error occurred when requesting resource /rest/timesheet-gadget/1.0/timesheet.json"
The timesheet reports seem to work properly.

By w.rutten/Walter Rutten on Mon, 28 Nov 2011 06:01:08 -0800

Comments (6)

  1. Andriy Zhdanov reporter

    Following the link in the message:

    {"html":"<style type=\"text/css\">\r\n .rowHeader {\r\n background-color:#E2E2E2;\r\n }\r\n .rowAlternate {\r\n background-color:#F2F2F2;\r\n }\r\n \r\n .businessDay {\r\n }\r\n .nonBusinessDay {\r\n background-color: #ffeedd;\r\n }\r\n .nonWorkedDay {\r\n color: #bbb;\r\n }\r\n .workedDay {rn } }\r\n .toDay {\r\n background-color: #ccffcc;\r\n }\r\n .grid {\r\n font-family:Arial,Helvetica,sans-serif;\r\n font-size:12px;\r\n background-color:#FCFCFC;\r\n border:1px solid #D2D2D2;\r\n border-collapse:collapse;\r\n }\r\n .grid th, .grid td {\r\n border:1px solid #D2D2D2;\r\n padding:4px;\r\n vertical-align:top;\r\n }\r\n</style>\r\n \r\n<div id=\"jira\">\r\n <div class=\"results-wrap\">\r\n <div>\r\n <table class=\"grid\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\">\r\n <tbody>\r\n <tr class=rowHeader>\r\n <td class=\"colHeaderLink\" colspan=\"4\">\r\n Summary for <b>JIRA Administrator</b> \r\n  <font size=\"1\">(<a href=\"/secure/ConfigureReport.jspa?startDate=28-11-2011&endDate=04-12-2011&targetUser=jiraadmin&reportKey=jira-timesheet-plugin:report&weekends=true&showUsers=true\">Details</a>)<font>\r\n </td>\r\n <td align=\"center\" width=\"1%\" class=\"toDay\" title=\"28-11-2011\">Mon<br/>28/Nov</td>\r\n <td align=\"center\" width=\"1%\" class=\"\" title=\"29-11-2011\">Tue<br/>29/Nov</td>\r\n <td align=\"center\" width=\"1%\" class=\"\" title=\"30-11-2011\">Wed<br/>30/Nov</td>\r\n <td align=\"center\" width=\"1%\" class=\"\" title=\"01-12-2011\">Thu<br/>1/Dec</td>\r\n <td align=\"center\" width=\"1%\" class=\"\" title=\"02-12-2011\">Fri<br/>2/Dec</td>\r\n <td align=\"center\" width=\"1%\" class=\"nonBusinessDay\" title=\"03-12-2011\">Sat<br/>3/Dec</td>\r\n <td align=\"center\" width=\"1%\" class=\"nonBusinessDay\" title=\"04-12-2011\">Sun<br/>4/Dec</td>\r\n <td align=\"center\" width=\"1%\">Tot</td>\r\n </tr>\r\n \t \t <tr class=\"rowNormal\" >\r\n\t<td width=1%>\r\n\t\t<a href=\"/browse/EJIRA-1\"> <img alt=\"New Feature\" height=\"16\" src=\"/images/icons/newfeature.gif\" title=\"New Feature - A new feature of the product, which has yet to be developed.\" width=\"16\" />\n </a>\n\t</td>\r\n\r\n\t<td width=1%><a href=\"/browse/EJIRA-1\">EJIRA-1</a></td>\r\n\t<td width=100%>\r\n\t\t\t\t<a href=\"/browse/EJIRA-1\">Add LDAP coupling to JIRA installation</a>\r\n\t</td>\r\n\r\n\t<td width=\"1%\">\r\n\t\t\t\t\t <img alt=\"Normal\" height=\"16\" src=\"/images/icons/priority_major.gif\" title=\"Normal - Default working order\" width=\"16\" />\n \t\t\t</td>\r\n\t\r\n\t\t\r\n\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t<td align=\"center\" class=\"toDay workedDay\">\r\n\t\t\t\t\t\t\t4h\r\n\t\t\t\t\t</td>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t<td align=\"center\" class=\" nonWorkedDay\">\r\n\t\t\t\t\t</td>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t<td align=\"center\" class=\" nonWorkedDay\">\r\n\t\t\t\t\t</td>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t<td align=\"center\" class=\" nonWorkedDay\">\r\n\t\t\t\t\t</td>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t<td align=\"center\" class=\" nonWorkedDay\">\r\n\t\t\t\t\t</td>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t<td align=\"center\" class=\"nonBusinessDay nonWorkedDay\">\r\n\t\t\t\t\t</td>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t<td align=\"center\" class=\"nonBusinessDay nonWorkedDay\">\r\n\t\t\t\t\t</td>\r\n\t\t\t\t<td align=\"center\"><b>\r\n\t\t\t\t\t4h\r\n\t\t\t</b></td>\r\n</tr>\t \t <tr class=\"rowAlternate\" >\r\n\t \t <td align=\"center\" colspan=\"4\">Total:</td>\r\n\t \t \t \t <td align=\"center\" class=\"toDay workedDay\" ><b>\r\n\t \t 4h\r\n\t \t </b></td>\r\n\t \t \t \t \t <td align=\"center\" class=\" nonWorkedDay\" ><b>\r\n\t \t </b></td>\r\n\t \t \t \t \t <td align=\"center\" class=\" nonWorkedDay\" ><b>\r\n\t \t </b></td>\r\n\t \t \t \t \t <td align=\"center\" class=\" nonWorkedDay\" ><b>\r\n\t \t </b></td>\r\n\t \t \t \t \t <td align=\"center\" class=\" nonWorkedDay\" ><b>\r\n\t \t </b></td>\r\n\t \t \t \t \t <td align=\"center\" class=\"nonBusinessDay nonWorkedDay\" ><b>\r\n\t \t </b></td>\r\n\t \t \t \t \t <td align=\"center\" class=\"nonBusinessDay nonWorkedDay\" ><b>\r\n\t \t </b></td>\r\n\t \t \t <td align=\"center\"><b>\r\n\t \t 4h\r\n\t \t </b></td>\r\n\t </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n"}

    By w.rutten on Mon, 28 Nov 2011 06:02:26 -0800

  2. Andriy Zhdanov reporter

    Could you please check logs for the stack trace?

    By azhdanov on Tue, 29 Nov 2011 12:54:19 -0800

  3. Andriy Zhdanov reporter

    Sorry, where do I find the logs in which stack trace would be expected?

    By w.rutten on Thu, 1 Dec 2011 02:35:18 -0800

  4. Andriy Zhdanov reporter

    Self-solving problem! After retrying&retrying it suddenly started to work!

    By w.rutten on Thu, 1 Dec 2011 02:51:39 -0800

  5. Andriy Zhdanov reporter

    Walter, if you don't mind, could you share what did you guys make to resolve this issue? We have the same behaviour on our production system. However, it works fine on our sandbox. Both are running JIRA 4.4 with Timesheet plugin 2.2.5, the only difference I see is that Production system is hosted on a secure domain (https) as opposed to the sandbox (http).
    Thanks.

    By philippe.robichaud on Wed, 14 Dec 2011 08:59:00 -0800

  6. Andriy Zhdanov reporter

    Sorry guys, no further details available.
    In my perception, no measure has been executed that directly caused the plugin to start working. The http/https-difference COULD be a further lead - parallel to the installation of the plugin, we have been working on implementing https on the server. When I tried to pick up this issue after implementation of https, it appeared to work correctly.

    By w.rutten on Thu, 15 Dec 2011 00:13:55 -0800

  7. Log in to comment