Mark Nuttall created ARIES-1085:
-----------------------------------
Summary: Rare NPE in jndi
ContextHelper.getInitialContextUsingBuilder()
Key: ARIES-1085
URL: https://issues.apache.org/jira/browse/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: http://www.atlassian.com/software/jira