SwitchYard AS7 Distro does not work on Windows due to issue with resource loading in
Camel
------------------------------------------------------------------------------------------
Key: SWITCHYARD-276
URL:
https://issues.jboss.org/browse/SWITCHYARD-276
Project: SwitchYard
Issue Type: Bug
Components: component-camel
Affects Versions: 0.1
Reporter: Keith Babo
Fix For: 0.2
Magesh bumped into this while verifying the SwitchYard AS7 release on Windows. Deployment
of any application will fail because the Camel activator throws an NPE when it's
activator is created:
Caused by: org.apache.camel.RuntimeCamelException: java.lang.NullPointerException
at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1139)
at
org.apache.camel.impl.DefaultCamelContext.getTypeConverter(DefaultCamelContext.java:971)
at
org.switchyard.component.camel.transformer.CamelConverter.<init>(CamelConverter.java:49)
at
org.switchyard.component.camel.transformer.CamelConverter.<clinit>(CamelConverter.java:37)
... 19 more
Caused by: java.lang.NullPointerException
9:37
at
org.apache.camel.impl.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:260)
The most likely solution to this problem is to provide an AS7-specific
PackageScanClassResolver to work around the encoding of paths on Windows. After a
discussion with Magesh and Tom, it was decided that this was too risky to introduce at the
end of 0.1. This issue will be fixed at the beginning of 0.2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira