[overlord-issues] [JBoss JIRA] (RTGOV-650) A Situation is always resubmitted to localhost:8080

Werner Müller (JIRA) issues at jboss.org
Thu Apr 16 05:33:18 EDT 2015


     [ https://issues.jboss.org/browse/RTGOV-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Müller reopened RTGOV-650:
---------------------------------


Trying to resubmit a situation. In the URL list is an URL that points to a running SY app. This app however is not an intended resubmit target. It has an SCA Binding, but not for the resubmit target service. (In fact, it has a service with the same local name but in a different namespace.)

When HttpInvoker#invoke(...) tries that URL from the list, it gets a response code 404, not an IOException. There is no logic that handles code 404, so the variable 'reply' is returned as null. In SwitchYardResubmitActionProvider#resubmit(...), the first statement after invoker.invoke(rm) is reply.isFault(). This now throws a NPE which is not handled as an invocation error, continuing to work on the list of URLs. Instead, the NPE is wrongly treated as an Exception response.

> A Situation is always resubmitted to localhost:8080
> ---------------------------------------------------
>
>                 Key: RTGOV-650
>                 URL: https://issues.jboss.org/browse/RTGOV-650
>             Project: RTGov (Run Time Governance)
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Werner Müller
>            Assignee: Gary Brown
>             Fix For: 2.1.0.Beta2
>
>
> A Situation is always resubmitted to localhost:8080. Instead, it should be resubmitted to the original target address of the request.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the overlord-issues mailing list