java.lang.RuntimeException

javax.activation.DataHandler

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via servicemix-users by Pochat Jerome, 9 months ago
    javax.activation.DataHandler
  • Stack trace

    • java.lang.RuntimeException: javax.activation.DataHandler at org.apache.activemq.command.ActiveMQObjectMessage.storeContent(ActiveMQObjectMessage.java:111)[46:org.apache.activemq.activemq-core:5.4.1.fuse-01-00] at org.apache.activemq.command.ActiveMQObjectMessage.setObject(ActiveMQObjectMessage.java:162)[46:org.apache.activemq.activemq-core:5.4.1.fuse-01-00] at org.apache.activemq.ActiveMQSession.createObjectMessage(ActiveMQSession.java:380)[46:org.apache.activemq.activemq-core:5.4.1.fuse-01-00] at org.apache.activemq.pool.PooledSession.createObjectMessage(PooledSession.java:153)[50:org.apache.activemq.activemq-pool:5.4.1.fuse-01-00] at org.apache.servicemix.jbi.cluster.engine.ClusterEngine.processExchange(ClusterEngine.java:739)[101:org.apache.servicemix.jbi.cluster.engine:1.3.0.fuse-02-00] at org.apache.servicemix.jbi.cluster.engine.ClusterEngine.process(ClusterEngine.java:570)[101:org.apache.servicemix.jbi.cluster.engine:1.3.0.fuse-02-00] at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86)[84:org.apache.servicemix.nmr.core:1.3.0.fuse-02-00] at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:255)[84:org.apache.servicemix.nmr.core:1.3.0.fuse-02-00] at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:215)[84:org.apache.servicemix.nmr.core:1.3.0.fuse-02-00] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_24] at java.lang.Thread.run(Thread.java:662)[:1.6.0_24] Caused by: java.io.NotSerializableException: javax.activation.DataHandler at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)[:1.6.0_24] at java.util.HashMap.writeObject(HashMap.java:1001)[:1.6.0_24] at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)[:1.6.0_24] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)[:1.6.0_24] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)[:1.6.0_24] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)[:1.6.0_24] at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:422)[:1.6.0_24] at org.apache.servicemix.nmr.core.MessageImpl.writeObject(MessageImpl.java:362)[84:org.apache.servicemix.nmr.core:1.3.0.fuse-02-00] at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)[:1.6.0_24] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)[:1.6.0_24] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)[:1.6.0_24] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)[:1.6.0_24] at org.apache.activemq.command.ActiveMQObjectMessage.storeContent(ActiveMQObjectMessage.java:105)[46:org.apache.activemq.activemq-core:5.4.1.fuse-01-00] ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    70 more bugmates