On Thu, Jan 3, 2013 at 5:31 PM, superduperguy <smabru...@hotmail.com> wrote: > I am a newbie to Camel and facing the same issue. Did you find the resolution > to this issue? I am using Camel 2.10.2 version in Jboss-5.1.1 > > > [31-12 00:53:35:471] ERROR > [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error > installing to Start: name=iSeries.PayrollNotification: > service=Listener,name=PayrollNotificationPublisher2 state=Create mode=Manual > requiredState=Installed > java.lang.NullPointerException > at > org.apache.camel.impl.WebSpherePackageScanClassResolver.isWebSphereClassLoader(WebSpherePackageScanClassResolver.java:46) > at > org.apache.camel.impl.DefaultCamelContext.<init>(DefaultCamelContext.java:218) > at > com.adp.sbs.dsa.notification.publish.PayrollNotificationPublisher2.setCamelContext(PayrollNotificationPublisher2.java:52) >
Thats a odd NPE error as its essentially a class without a classloader. I have committed a defensive fix in the Camel codebase to avoid this NPE in the future. How do you deploy your application? Is it a WAR or EAR or something else? > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/WebSpherePackageScanClassResolver-isWebSphereClassLoader-WebSpherePackageScanClassResolver-java-46-tp4267695p5724843.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen