Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for Database | 7.0, 7.1, 7.2 |
"Packing/unpacking error: bad type." happens to the Subscription Service of the adapter as below:
==============================
com.tibco.sdk.MException: "Packing/unpacking error: bad type."</E>
at com.tibco.sdk.jms.MJmsMarshaller.unpack(MJmsMarshaller.java:177)</E>
at com.tibco.sdk.jms.MJmsConsumer.onMessage(MJmsConsumer.java:138)</E>
at com.tibco.sdk.jms.MJmsSession.processEvent(MJmsSession.java:205)</E>
at com.tibco.sdk.MAppImpl.nextJmsEvent(MAppImpl.java:672)</E>
at com.tibco.sdk.MAppImpl.nextEvent(MAppImpl.java:132)</E>
at com.tibco.sdk.MApp.nextEvent(MApp.java:355)</E>
at com.tibco.sdk.events.AppDispatcherImpl.doRun(MDispatcher.java:136)</E>
at com.tibco.sdk.events.DispatcherImpl.run(MDispatcher.java:106)</E>
at java
==============================
This error indicates that SDK encounters incorrect or incomplete AE header information during unpacking the incoming messages.
The most possible reason for this error is the input message is not sent by the "publish to adapter" activity. Because when the "publish to adapter" activity sends a message, it will add "ae_type", "ae_tracking", "ae_ver", "ae_encoding", "ae_tracking_info_1", "ae_pfmt" to the JMS message header.