[
https://issues.apache.org/jira/browse/ARIES-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Przybysz closed ARIES-1085.
-----------------------------------
Closing issues of released artifacts
> 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
> Priority: Major
> Fix For: jndi-core-1.0.2
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)