]
Gary Brown resolved RTGOV-530.
------------------------------
Resolution: Done
Resubmit doesn't work with latest swyd snapshot
-----------------------------------------------
Key: RTGOV-530
URL:
https://issues.jboss.org/browse/RTGOV-530
Project: RTGov (Run Time Governance)
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 2.0.0.Final
Attachments: server.log
When resubmitting, we get:
{noformat}
16:12:41,495 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/switchyard-remote].[SwitchYardRemotingServlet]]
(http-localhost.localdomain/127.0.0.1:8080-6) JBWEB000236: Servlet.service() for servlet
SwitchYardRemotingServlet threw exception: org.codehaus.jackson.map.JsonMappingException:
Can not construct instance of org.switchyard.serial.graph.node.AccessNode, problem:
abstract types can only be instantiated with additional type information
at [Source: org.apache.catalina.connector.CoyoteInputStream@168f643; line: 1, column:
93] (through reference chain: org.switchyard.serial.graph.Graph["references"])
at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.StdDeserializationContext.instantiationException(StdDeserializationContext.java:233)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.AbstractDeserializer.deserialize(AbstractDeserializer.java:60)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.jsontype.impl.AsArrayTypeDeserializer._deserialize(AsArrayTypeDeserializer.java:88)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.jsontype.impl.AsArrayTypeDeserializer.deserializeTypedFromAny(AsArrayTypeDeserializer.java:69)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.std.UntypedObjectDeserializer.deserializeWithType(UntypedObjectDeserializer.java:106)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:321)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.jsontype.impl.AsArrayTypeDeserializer._deserialize(AsArrayTypeDeserializer.java:88)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.jsontype.impl.AsArrayTypeDeserializer.deserializeTypedFromObject(AsArrayTypeDeserializer.java:55)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.std.MapDeserializer.deserializeWithType(MapDeserializer.java:273)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:297)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1909)
[jackson-mapper-asl-1.9.9-redhat-2.jar:1.9.9-redhat-2]
at
org.switchyard.serial.jackson.format.JSONJacksonSerializer.deserialize(JSONJacksonSerializer.java:82)
[switchyard-serial-jackson-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.switchyard.serial.graph.GraphSerializer.deserialize(GraphSerializer.java:60)
[switchyard-serial-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.switchyard.component.sca.SwitchYardRemotingServlet.doPost(SwitchYardRemotingServlet.java:78)
[switchyard-component-sca-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
{noformat}