jamesnetherton commented on issue #3657:
URL: https://github.com/apache/camel-quarkus/issues/3657#issuecomment-1077637460


   Also it does not seem to work properly in native mode. There is something 
wrong with deserialization. For some reason it's trying to instantiate 
`AbstractMap`:
   
   ```
   Caused by: java.lang.IllegalStateException: Instantiation failed unexpectedly
           at 
org.jboss.marshalling.reflect.SerializableClass.invokeConstructorNoException(SerializableClass.java:32)
           at 
org.jboss.marshalling.reflect.SerializableClass.callNonInitConstructor(SerializableClass.java:340)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1417)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:298)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:246)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1879)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1793)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1421)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:298)
           at 
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:231)
           at 
org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
           at 
org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:137)
           at 
org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:115)
           at 
org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
           at 
org.infinispan.client.hotrod.marshall.MarshallerUtil.bytes2obj(MarshallerUtil.java:57)
           ... 28 more
   Caused by: java.lang.InstantiationException: Only non-abstract instance 
classes can be instantiated using reflection
           at java.lang.reflect.Constructor.newInstance(Constructor.java:490)
           at 
org.jboss.marshalling.reflect.SerializableClass.invokeConstructorNoException(SerializableClass.java:21)
           ... 42 more
   Caused by: an exception which occurred:
           in object of type java.util.LinkedHashMap
           in field org.apache.camel.support.DefaultExchangeHolder.inHeaders
           in object org.apache.camel.support.DefaultExchangeHolder@bac388f
           in object of type org.apache.camel.support.DefaultExchangeHolder
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to