[
https://issues.apache.org/jira/browse/ARIES-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122928#comment-14122928
]
Paul Slater commented on ARIES-1243:
------------------------------------
Simplest fix is to convert null to empty Hashtable. Null conveys no special
meaning and there are cases where the env is used to obtain the BundleContext
via the augmenter so is required by Aries to be non-null.
> NPE in ObjectFactoryHelper.getObjectInstanceViaContextDotObjectFactories
> ------------------------------------------------------------------------
>
> Key: ARIES-1243
> URL: https://issues.apache.org/jira/browse/ARIES-1243
> Project: Aries
> Issue Type: Bug
> Components: JNDI
> Affects Versions: jndi.core-0.3.1
> Reporter: Paul Slater
>
> NPE occurs when a null env is passed to
> OSGiObjectFactoryBuilder.getObjectInstance(). env can validly be null
> according to javadoc
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)