2 Replies Latest reply: Jul 19, 2013 6:40 AM by 5595a0b9-a425-4d8e-b83d-c7903fa6956e RSS

    i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    5595a0b9-a425-4d8e-b83d-c7903fa6956e

      i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

        • 1. Re: i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
          Timo Hahn

          User, please tell us your exact jdev version!

          It would help if you could post hte stacktrace and the code which produces the stacktrace. The exact line is helpful too.

           

          Timo

          • 2. Re: i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
            5595a0b9-a425-4d8e-b83d-c7903fa6956e

            hi

             

             

            Root cause of ServletException.

            java.lang.NullPointerException

            at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)

            at java.util.ResourceBundle.getObject(ResourceBundle.java:368)

            at java.util.ResourceBundle.getString(ResourceBundle.java:334)

            at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)

            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)

            at java.security.AccessController.doPrivileged(Native Method)

            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)

            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)

            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)