camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trev (JIRA)" <>
Subject [jira] Created: (CAMEL-1325) Two more NullPointerExceptions when context classloader is null
Date Sun, 08 Feb 2009 21:35:00 GMT
Two more NullPointerExceptions when context classloader is null

                 Key: CAMEL-1325
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 1.5.0
         Environment: JRE 1.6.0_11, Commons Daemon 1.0.1, MS Windows XP
            Reporter: Trev

When I applied the [CAMEL-1301|] fix (thanks
Claus) I hit two more NullPointerExceptions caused by code that assumes that the context classloader
will never be null.

Here's the relevant part of one stack trace:

 at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.findPackages(
 at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.findPackageNames(

And the other:

 at org.apache.camel.util.ResolverUtil.getResources(
 at org.apache.camel.util.ResolverUtil.find(
 at org.apache.camel.util.ResolverUtil.find(

A patch is attached.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message