camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4709) ClassNotFoundException thrown by hawtbuf codec decode in OSGi
Date Thu, 24 Nov 2011 12:40:39 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156659#comment-13156659
] 

Willem Jiang commented on CAMEL-4709:
-------------------------------------

The test in the camel 2.8.x does not has this kind of problem.
It was caused by the hawtbuf doesn't use the dynamic imports * any more, which makes the ObjectStream
can't load the class which it needs. 
                
> ClassNotFoundException thrown by hawtbuf codec decode in OSGi
> -------------------------------------------------------------
>
>                 Key: CAMEL-4709
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4709
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-hawtdb
>            Reporter: Hadrian Zbarcea
>             Fix For: 2.9.0
>
>
> When running the HawtDBAggregateRouteTest from camel-itest-osgi, the following stack
trace results. Looks like hawtdb is not instantiate object during readObject from an ObjectIndputStream.
> {code}
> Caused by: java.io.IOException: org.apache.camel.impl.DefaultExchangeHolder
>         at org.fusesource.hawtbuf.codec.ObjectCodec.createIOException(ObjectCodec.java:57)
>         at org.fusesource.hawtbuf.codec.ObjectCodec.decode(ObjectCodec.java:52)
>         at org.apache.camel.component.hawtdb.HawtDBCamelCodec.unmarshallExchange(HawtDBCamelCodec.java:74)
>         at org.apache.camel.component.hawtdb.HawtDBAggregationRepository.get(HawtDBAggregationRepository.java:161)
>         ... 57 more
> {code}
> I am disabling the test for now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message