Hi all,
I am trying to integrate WSO2 BAM 2.1.0 with WSO2 API Manager 1.4.0 RC .
When trying to invoke an API it publishes data to BAM without issues.
But when event is received by BAM it complains that it is wrongly formatted.
Following are the logs.
TID: [0] [BAM] [2013-07-17 19:28:17,208] ERROR
{org.wso2.carbon.databridge.core.internal.queue.QueueWorker} - Wrongly
formatted event sent for carbon.super
{org.wso2.carbon.databridge.core.internal.queue.QueueWorker}
org.wso2.carbon.databridge.core.exception.EventConversionException: Error
when converting
org.wso2.apimgt.statistics.response-1.0.0-d89b9192-23f7-456e-861f-f7a638880632
of event bundle with events 1
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:117)
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:87)
at
org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at
org.wso2.carbon.databridge.core.StreamTypeHolder.getDataType(StreamTypeHolder.java:55)
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:109)
... 8 more
I believe API manager data publishing cannot be customized by
configurations without code changes. So how does it become wrongly
formatted suddenly? Can it be wrongly formatted according to what stats
collected?
Thanks.
--
*Hasitha Abeykoon*
Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>* *
*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev