Defect #12759
closedcreateIssue API call return 404 and not error response
0%
Description
I am mulking multiple API calls in Java. One call is throwing ''404 not found'. response body:' exception and not the error response. As a result my development is blocked as I am not able to debug what the problem is.
Please find the stacktrace below
Jan 7, 2013 4:46:01 PM redmine.RedmineAPICalls createIssue
SEVERE: null
com.taskadapter.redmineapi.NotFoundException: Server returned '404 not found'. response body:
at com.taskadapter.redmineapi.internal.comm.redmine.RedmineErrorHandler.processContent(RedmineErrorHandler.java:45)
at com.taskadapter.redmineapi.internal.comm.redmine.RedmineErrorHandler.processContent(RedmineErrorHandler.java:21)
at com.taskadapter.redmineapi.internal.comm.ComposingHandler.processContent(ComposingHandler.java:25)
at com.taskadapter.redmineapi.internal.comm.ComposingHandler.processContent(ComposingHandler.java:25)
at com.taskadapter.redmineapi.internal.comm.BaseCommunicator.sendRequest(BaseCommunicator.java:83)
at com.taskadapter.redmineapi.internal.comm.redmine.RedmineAuthenticator.sendRequest(RedmineAuthenticator.java:54)
at com.taskadapter.redmineapi.internal.comm.FmapCommunicator.sendRequest(FmapCommunicator.java:26)
at com.taskadapter.redmineapi.internal.comm.FmapCommunicator.sendRequest(FmapCommunicator.java:26)
at com.taskadapter.redmineapi.internal.comm.BasicSimplifier.sendRequest(BasicSimplifier.java:24)
at com.taskadapter.redmineapi.internal.Transport.addObject(Transport.java:189)
at com.taskadapter.redmineapi.RedmineManager.createIssue(RedmineManager.java:156)
at redmine.RedmineAPICalls.createIssue(RedmineAPICalls.java:82)
at redmine.RedmineAPICalls.main(RedmineAPICalls.java:34)