aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Nuttall (JIRA)" <>
Subject [jira] [Created] (ARIES-1085) Rare NPE in jndi ContextHelper.getInitialContextUsingBuilder()
Date Thu, 27 Jun 2013 11:00:20 GMT
Mark Nuttall created ARIES-1085:

             Summary: Rare NPE in jndi ContextHelper.getInitialContextUsingBuilder()
                 Key: ARIES-1085
             Project: Aries
          Issue Type: Bug
          Components: JNDI
            Reporter: Mark Nuttall
            Assignee: Mark Nuttall
             Fix For: 0.4

We're seeing occasional NullPointerExceptions coming out of ContextHelper.getInitialContextUsingBuilder
at the line, 
  factory = builder.createInitialContextFactory(environment);

This implies that builder can sometimes end up null. This might be because context or ref
were somehow null, or possibly because context and ref were valid but the OSGi service registry
somehow still returned null from  Utils.getServicePrivileged(). Adding some small, non-intrusive
extra diagnostics. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message