OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | easybeans-issues List | June 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[easybeans-issues] [JIRA] Resolved: (EZB-276) NPE in SmartContextFactory


     [ 
http://jira.easybeans.org/browse/EZB-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent BENOIT resolved EZB-276.
--------------------------------

    Fix Version/s: EasyBeans 1.1.0
                   EasyBeans 1.0.1
       Resolution: Fixed

Thanks for the report !

This is now fixed (if no property is defined this is working too)



> NPE in SmartContextFactory
> --------------------------
>
>                 Key: EZB-276
>                 URL: http://jira.easybeans.org/browse/EZB-276
>             Project: EasyBeans
>          Issue Type: Bug
>          Components: SmartClient
>    Affects Versions: EasyBeans 1.0
>            Reporter: Ruzand Brice
>            Assignee: Florent BENOIT
>            Priority: Minor
>             Fix For: EasyBeans 1.1.0, EasyBeans 1.0.1
>
>
> I got an NPE if no INITIAL_CONTEXT_FACTORY is set in System Properties.
> Exception in thread "main" java.lang.NullPointerException
>       at java.util.Hashtable.put(Hashtable.java:396)
>       at java.util.Properties.setProperty(Properties.java:128)
>       at java.lang.System.setProperty(System.java:701)
>       at 
> org.ow2.easybeans.component.smartclient.spi.SmartContextFactory.getInitialContext(SmartContextFactory.java:156)
>       at 
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
>       at 
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
>       at javax.naming.InitialContext.init(InitialContext.java:223)
>       at javax.naming.InitialContext.<init>(InitialContext.java:197)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.easybeans.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.