the following code snippet worked under 0.9.4 but generates a
NullPointerException under 0.9.6. The offending line is the lookup:

        private IConfig getConfigBean()
        {
                if( m_configBean != null )
                {
                        return m_configBean;
                }

                try
                {
                        InitialContext initialContext = new
InitialContext();
                        Object obj =
initialContext.lookup("java:comp/env/ejb/ssp/StashHome");
                        ConfigHome configHome =
(ConfigHome)PortableRemoteObject.narrow(obj,ConfigHome.class);
                        m_configBean = configHome.create();
                }
                catch (Exception e)
                {
      e.printStackTrace();
                        System.out.println("Can't get Configuation bean. No
items will be available!");
                }

                return m_configBean;
        }

Any ideas?

Thanks
Eric Walker

Reply via email to