[ 
https://issues.apache.org/jira/browse/ARIES-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated ARIES-1085:
-----------------------------------
    Fix Version/s:     (was: 0.4)
                   jndi-core-1.0.1

> 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: jndi-core-1.0.1
>
>
> 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
(v6.3.4#6332)

Reply via email to