You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hadrian Zbarcea (Created) (JIRA)" <ji...@apache.org> on 2011/11/24 05:59:41 UTC
[jira] [Created] (CAMEL-4709) ClassNotFoundException thrown by
hawtbuf codec decode in OSGi
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
Affects Versions: 2.8.3
Reporter: Hadrian Zbarcea
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
[jira] [Resolved] (CAMEL-4709) ClassNotFoundException thrown by
hawtbuf codec decode in OSGi
Posted by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-4709.
---------------------------------
Resolution: Fixed
Applied patch into trunk.
> 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
> Assignee: Willem Jiang
> 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
[jira] [Updated] (CAMEL-4709) ClassNotFoundException thrown by
hawtbuf codec decode in OSGi
Posted by "Willem Jiang (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated CAMEL-4709:
--------------------------------
Affects Version/s: (was: 2.8.3)
Fix Version/s: 2.9.0
> 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
> Assignee: Willem Jiang
> 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
[jira] [Assigned] (CAMEL-4709) ClassNotFoundException thrown by
hawtbuf codec decode in OSGi
Posted by "Willem Jiang (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-4709:
-----------------------------------
Assignee: Willem Jiang
> 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
> Assignee: Willem Jiang
> 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
[jira] [Commented] (CAMEL-4709) ClassNotFoundException thrown by
hawtbuf codec decode in OSGi
Posted by "Willem Jiang (Commented) (JIRA)" <ji...@apache.org>.
[ 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