[
https://issues.jboss.org/browse/RTGOV-650?page=com.atlassian.jira.plugin....
]
Werner Müller commented on RTGOV-650:
-------------------------------------
Resubmitting a SoapFault with no change, so the same SoapFault is triggered again.
A NPE is thrown in org.switchyard.serial.graph.Factory.getFactory(Class<T>), because
the 'type' parameter is null - see stack trace below.
From the user's standpoint this causes the following strange
behaviour:
If you have the correct resubmit URL together with a not reachable URL in
your list, you get a "connection failed" message on the UI, even though the
Situation was properly submitted. Also, a new Situation for the SoapFault was correctly
created.
Top of the stack strace:
Daemon Thread [http-localhost/127.0.0.1:8180-4] (Suspended (exception
NullPointerException))
Factory.getFactory(Class<T>) line: 51
DefaultAccessNode(AccessNode).decompose(Graph) line: 132
Graph.decomposeReference(Integer) line: 166
AccessNode$1.run() line: 148
Graph.decomposeRoot() line: 152
GraphSerializer.deserialize(InputStream, Class<T>) line: 61
HttpInvoker.invoke(RemoteMessage) line: 99
SwitchYardResubmitActionProvider.resubmit(String, String, MessageBean) line: 124
RTGovSituationsProvider.resubmitInternal(Situation, MessageBean, String) line: 671
RTGovSituationsProvider.resubmit(String, MessageBean, String) line: 631
SituationsProviderServiceImpl.resubmit(String, String, String) line: 174
SituationsProviderServiceImpl$Proxy$_$$_WeldClientProxy.resubmit(String, String, String)
line: not available
SituationsService$Proxy$_$$_WeldSubclass(SituationsService).resubmit(String, String)
line: 82
SituationsService$Proxy$_$$_WeldSubclass.resubmit(String, String) line: not available
[...]
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)