wolfgangimig / itol

JOA based issue tracker for Microsoft Outlook
23 stars 6 forks source link

"Create Issue" leads to HTTP 500 error #26

Closed angkk2u closed 9 years ago

angkk2u commented 9 years ago

I installed Issue Tracker Addin for Microsoft Outlook

And I configured my redmine url, api key.

image

But, When I Create issue it occurs error like this... http 500 error.

image

and log file..

at jdk.nashorn.internal.runtime.ECMAException.create(ECMAException.java:113)
at  dk.nashorn.internal.scripts.Script$Recompilation$122$7092AAAAA$IssueServiceImpl.send(file:/C:/Users/aaaaa/AppData/Local/Issue%20Tracker%20for%20Microsoft%20Outlook%2064bit/app/IssueServiceImpl.js:243)
at jdk.nashorn.internal.scripts.Script$Recompilation$129$8083AAA$IssueServiceImpl.post(file:/C:/Users/aaaaa/AppData/Local/Issue%20Tracker%20for%20Microsoft%20Outlook%2064bit/app/IssueServiceImpl.js:262)
at jdk.nashorn.internal.scripts.Script$Recompilation$152$15319AA$IssueServiceImpl.writeIssue(file:/C:/Users/aaaaa/AppData/Local/Issue%20Tracker%20for%20Microsoft%20Outlook%2064bit/app/IssueServiceImpl.js:531)
at jdk.nashorn.internal.scripts.Script$Recompilation$100$41538AAA$IssueServiceImpl.updateIssue(file:/C:/Users/aaaaa/AppData/Local/Issue%20Tracker%20for%20Microsoft%20Outlook%2064bit/app/IssueServiceImpl.js:1377)
at com.wilutions.itol.db.IssueService$$NashornJavaAdapter.updateIssue(Unknown Source)
at com.wilutions.itol.IssueTaskPane.updateIssueChangedMembers(IssueTaskPane.java:1185)
at com.wilutions.itol.IssueTaskPane.lambda$13(IssueTaskPane.java:1132)
at com.wilutions.itol.IssueTaskPane$$Lambda$520/2052301380.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at com.wilutions.com.BackgTask$1$1.run(BackgTask.java:80)
Caused by: java.io.IOException: HTTP Status 500, Server returned HTTP response code: 500 for URL: http://xxx.xxx.xxx.xxx/redmine/issues.json, <!DOCTYPE html>

Here is my system information. image

Can you check this issue? Thanks in advance.

angkk2u commented 9 years ago

This is a additional information log at issue tracker configuration save button click.

com.wilutions.itol.db.HttpClient send send failed, exception=java.io.IOException: Server returned HTTP response code: 500 for URL: http://xxx.xxx.xxx.xxx/redmine/projects.json
jdk.nashorn.internal.scripts.Script$Recompilation$176$16177$IssueServiceImpl readOrUpdateConfigurationProject Cannot read ITOL configuration project. The first login has to be made with an administrator account. Thereby, the configuration project is created. Details: java.io.IOException: HTTP Status 500, Server returned HTTP response code: 500 for URL: http://xxx.xxx.xxx.xxx/redmine/projects.json, 
wolfgangimig commented 9 years ago

Server error 500 could have many reasons. Please have a look into Redmine's log file. There might be more detailed information reported.

angkk2u commented 9 years ago

Thanks for reply. I found the solution.

The problem was about json package. So I updated json package.