Urgent Help:java.lang.ExceptionInInitializerError in JasperReports

the following is the java code:
Map params = new HashMap();
params.put("order_type", "This is Test Print");
JRXmlDataSource ds = new JRXmlDataSource(outXML, "/Order");
InputStream is =Class.forName(                    "com.w3c.dom.Document").getResourceAsStream
"/TestPrint.jasper");
net.sf.jasperreports.engine.JasperPrint jp =
               JasperFillManager.fillReport(is, params, ds);
JasperExportManager.exportReportToPdf(jp);
i reckon iam getting this error in the above highlighted code...
i have all the necessary jars in weblogic's classpath!!
just a thought...is this because of any mismatch in the jar version?
on refreshing the page the cause becomes java.lang.NoClassDefFoundError
ANY POINTERS TO WHY THIS IS HAPPENING???
java.lang.ExceptionInInitializerError
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
... 38 more
java.lang.ExceptionInInitializerError
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
... 38 more

Patrick-
My best guess is that you did not include some required library in the
runtime "required libraries" for your project. My first guess is that
you missed the JDO library jar, since missing that would certainly
result in an ExceptionInInitializerError when loading your persistent
classes.
You might also run the program in the debugger and see if you get a more
telling stack trace.
In article <bkuuef$9di$[email protected]>, Patrick Pracht wrote:
Hello all,
I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
Tomcat4.1.
Everything worked as expected until I have been running the Metadata tool
and Schematool from within JBuilder for a new class.
After doing this , when I attempt to run the webapp from within JBuilder,
the build process stops with the following message displayed in the
build-panel of JBuilder: java.lang.ExceptionInInitializerError
Since I have no further indication of what causes the problem (Filename,
location, Stacktrace, etc.) I really don't know how to proceed. The only
thing that I can see by looking at the kodo msg panel is, that Kodo did not
parse all the persistent classes.
Can anybody tell me how this problem could be tracked down?
Is there any log-file I could have a look at?
Thanks in advance for your help.
regards
Patrick
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com

Similar Messages

  • Java.lang.ExceptionInInitializerError - while using a third party tool

    Hi All,
    I am trying to include truezip into my application. but I get the following stack trace.
    When I tried using the truezip in a standalone java class it orked but I am unable to make it work with appserver.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.ExceptionInInitializerError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.If I refresh the jsp page it shows the foloowing error
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.NoClassDefFoundError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    --------------------------------------------------------------------------------Can anyone help me on this please
    Thanks,
    R.Ramesh.

    Hi Balusc,
    here is the full stack trace
    java.lang.ExceptionInInitializerError
         at de.schlichtherle.io.File.init(File.java:830)
         at de.schlichtherle.io.File.<init>(File.java:479)
         at de.schlichtherle.io.File.<init>(File.java:458)
         at org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission shutdownHooks)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.Runtime.addShutdownHook(Runtime.java:188)
         at de.schlichtherle.io.ArchiveControllers.<clinit>(ArchiveControllers.java:67)
         ... 41 moreafter which if I refresh my jsp page I get the foloowing stack trace as in my next post

  • Java.lang.ExceptionInInitializerError,Exception creating new Poolableobject

    Hi,
    i am getting the below errors while running a page from JDEV, which is a simple page with few fields.
    Please help me in resolving this error.
    500 Internal Server Error
    java.lang.ExceptionInInitializerError
         at oracle.apps.fnd.sso.Utils.<clinit>(Utils.java:664)
         at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:431)
         at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:324)
         at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:227)
         at OAErrorPage.jspService(_OAErrorPage.java:62)
         [OAErrorPage.jsp]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)
         at OA.jspService(_OA.java:115)
         [OA.jsp]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1095)
         at oracle.apps.fnd.sso.Utils.getAppsContext(Utils.java:539)
         at oracle.apps.fnd.sso.SessionMgr.loadInstalledLanguages(SessionMgr.java:3875)
         at oracle.apps.fnd.sso.SessionMgr.getInstalledLanguages(SessionMgr.java:3693)
         at oracle.apps.fnd.sso.Utils.getBaseInstalledLangCode(Utils.java:1476)
         at oracle.apps.fnd.sso.Authenticator.<clinit>(Authenticator.java:45)
         ... 38 more
    Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286)
         at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027)
         at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:300)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2266)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2203)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2061)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1871)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1715)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1728)
         at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
         at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
         ... 58 more
    Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Got minus one from a read call
         at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:907)
         at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:966)
         at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:784)
         at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273)
         ... 71 more
    Caused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Got minus one from a read call
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1423)
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1326)
         at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:888)
         ... 79 more
    Caused by: java.sql.SQLException: Io exception: Got minus one from a read call
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1410)
         ... 81 more

    Issue solved, its due to my mistake i never defined the variable to capture the error message in procedure and also in the security rules i have changed the function to Desktop Integration - Create Document instead of Desktop Integration - Setup Options.

  • Java.lang.ExceptionInInitializerError while deploying

    Hi,
    I have an ear file.I ran java weblogic.appc -verbose edm_app-ear.ear on it.It ran successfully.But when I deploy this ear file in weblogic 8.1,I get the following exception:
    java.lang.ExceptionInInitializerError.
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:822)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
    pServletContext.java:3154)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
    :654)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java
    :483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
    e.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    Can anybody help me in solving this problem??
    Thanks in advance..
    -Sameer Gijare

    Hi,
    I got a error messege: java.lang.OutOfMemoryError. I try to increase the memory for my application by using the following command:
    java -Xms512m -Xmx512m d:\Users\All_Users\Maxd\MaxdLoad\maxdLoad_1_8_0.jar
    It apparantely does not work. Could you tell me the right format for this. BTW, I don't know java.
    Thanks.
    Jack

  • Geting java.lang.ExceptionInInitializerError for wls6.1 with jdk1.4

    HI,
    Our application works fine with wls jdk1.3 but gives a runtime exception java.lang.ExceptionInInitializerError
    when wls6.1 a pointing to jdk1.4 ..
    plese give some tips..
    thanks

    Hi
              I am also facing this same error. Have u found any solution to this... Please help......
              I am really at my wits end already.....

  • Java.lang.ExceptionInInitializerError in JBuilder9

    Hello all,
    I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
    Tomcat4.1.
    Everything worked as expected until I have been running the Metadata tool
    and Schematool from within JBuilder for a new class.
    After doing this , when I attempt to run the webapp from within JBuilder,
    the build process stops with the following message displayed in the
    build-panel of JBuilder: java.lang.ExceptionInInitializerError
    Since I have no further indication of what causes the problem (Filename,
    location, Stacktrace, etc.) I really don't know how to proceed. The only
    thing that I can see by looking at the kodo msg panel is, that Kodo did not
    parse all the persistent classes.
    Can anybody tell me how this problem could be tracked down?
    Is there any log-file I could have a look at?
    Thanks in advance for your help.
    regards
    Patrick

    Patrick-
    My best guess is that you did not include some required library in the
    runtime "required libraries" for your project. My first guess is that
    you missed the JDO library jar, since missing that would certainly
    result in an ExceptionInInitializerError when loading your persistent
    classes.
    You might also run the program in the debugger and see if you get a more
    telling stack trace.
    In article <bkuuef$9di$[email protected]>, Patrick Pracht wrote:
    Hello all,
    I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
    Tomcat4.1.
    Everything worked as expected until I have been running the Metadata tool
    and Schematool from within JBuilder for a new class.
    After doing this , when I attempt to run the webapp from within JBuilder,
    the build process stops with the following message displayed in the
    build-panel of JBuilder: java.lang.ExceptionInInitializerError
    Since I have no further indication of what causes the problem (Filename,
    location, Stacktrace, etc.) I really don't know how to proceed. The only
    thing that I can see by looking at the kodo msg panel is, that Kodo did not
    parse all the persistent classes.
    Can anybody tell me how this problem could be tracked down?
    Is there any log-file I could have a look at?
    Thanks in advance for your help.
    regards
    Patrick
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Java.lang.ExceptionInInitializerError ~~~~ AXIS

    Hi I am trying to call my webservice from a web application my code is below:
    public void useService(){
    try{
    HelloService serv = new HelloServiceLocator(); // error thrown here
    Hello test = serv.getHello();
    String msg = test.greet("Hi");
    System.out.println("Reply FROM WEBSERVICE: " + msg);
    catch(Exception e){
    System.out.println("error");
    e.printStackTrace();
    But when this panel loads I get the following error:
    java.lang.ExceptionInInitializerError
    at org.apache.axis.client.Service.<init>Service.java(109)
    When I run it from netbeans it works fine but on the web appilcation I get the above error. I have cached all the required jars etc, pls if sum 1 could help...

    FIXED! You need to put a file called
    commons-logging.properties in your WEB-INF\classes
    directory *. That file should have one line:
    org.apache.commons.logging.LogFactory=org.apache
    .commons.logging.impl.LogFactoryImplThat fixed my problem, and it may fix yours. Good
    luck!
    * Or somewhere where it will be copied to
    WEB-INF\classes. For example, I'm using the IBM
    Rational Software Development Platform, and what
    works for me is to put commons-logging.properties in
    my JavaSource folder so that it gets copied to
    WEB-INF\classes on build.REALLY, I'M DESPERATED!!!!
    PLEASE! HELP! I'm desperated to create a portlet that accesses to .NET web service!! On Portal server 5.0!!! THE SAME AS YOU!!
    PLEASE HELP ME!!! How do you make it? Proxy classes generated with WSAD 5.1.2 doesn't works correctly! If I try to use JNDI I've got this error!!
    javax.naming.NameNotFoundException: Name comp/env/service not found in context "java:".
    when proxy class executes this code:
    simpleWebServiceSoap = ((org.tempuri.SimpleWebService)ctx.lookup("java:comp/env/service/SimpleWebService")).getSimpleWebServiceSoap();
    BUT IF I TRY TO USE without JNDI, using LOCATOR CLASS, I get the same error that you! How you solve this!! Where Can I obtain this file!!!
    commons-logging.properties.
    And What I have to do? To solve My problem!!
    REALLY, I'M DESPERATED!!!!
    And . Why you don't try to use JNDI?

  • Error Using weblogic.jspc --- java.lang.ExceptionInInitializerError

    Hi,
              I am trying to use the weblogic.jspc compiler to pre-compile my jsp
              files so that I can verify that they compile w/o having to visit the
              page. I am using Weblogic 4.5.1. I am encountering the following
              error:
              java.lang.ExceptionInInitializerError
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Compiled Code)
              at java.lang.LinkageError.<init>(Compiled Code)
              at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
              at java.beans.Beans.instantiate(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.processBeanTag(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mXML_THING(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
              at weblogic.servlet.jsp.JspParser.doit(Compiled Code)
              at weblogic.servlet.jsp.JspParser.parse(Compiled Code)
              at weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Compiled
              Code)
              at weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Compiled Code)
              at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code)
              at weblogic.jhtmlc.runBody(Compiled Code)
              at weblogic.jspc.runBody(Compiled Code)
              at weblogic.utils.compiler.Tool.run(Compiled Code)
              at weblogic.jspc.main(Compiled Code)
              Have any of you seen this? Can you tell me what I am doing wrong
              (Classpath, etc.)?
              Any and all help would be greatly appreciated.
              The command line I am using is:
              java -verbose -classpath
              $CLASSPATH:/apps/weblogic/license:/apps/weblogic/classes:/apps/weblogic/lib/weblogicaux.jar
              weblogic.jspc -d $HOME/weblogic/myserver/classfiles/examples
              100-Welcome.jsp
              Regards,
              Richard
              

    Fixed with a patch CR0737797 and CR062538 for the 6.1 sp3 source line
              Prasanna Yalam

  • Java.lang.ExceptionInInitializerError in Encrypting

    Im getting error java.lang.ExceptionInInitializerError error while trying to encrypt Strings
    The log is given below.
    java.lang.ExceptionInInitializerError
         at java.lang.J9VMInternals.initialize(J9VMInternals.java:216)
         at javax.crypto.Cipher.getInstance(Unknown Source)
    Can any body help to find out the reason for this?

    Mat,
    We're gonna need more details... like your source code... and the whole stack trace.
    Whilst we can read minds with our advanced klingon sleek freek geek powers, we've discovered that it really upsets the management, so we try to refrain wherever possible.
    Cheers. Keith.

  • Java.lang.ExceptionInInitializerError when trying to deploy my app

    I am trying to port my application from weblogic 8.1.0 to 8.1.1 with SP1. When
    I port the application I get this "error java.lang.ExceptionInInitializerError".
    The detail of the error is given below. The "LoanGeniusFrontControllerServlet"
    refered to in the error is my startup servlet. It extends from struts ActionServlet.....
    Any help on this regard is very welcome...
    <Dec 18, 2003 6:24:46 PM PST> <Error> <HTTP> <BEA-101254> <[ServletContext(id=4934480,name
    =LoanGeniusWeb,context-path=/LoanGeniusWeb)]: Servlet class com.tavant.lg.controller.servl
    et.LoanGeniusFrontControllerServlet for servlet LoanGeniusFrontControllerServlet
    could not
    be handled by the classloader with classpath......

    ExceptionInInitializerError indicates that your static initializer
    failed. Check your static {} blocks in the class or static variables
    which are assigned.
    -- Rob
    Balavenu Nuti wrote:
    I am trying to port my application from weblogic 8.1.0 to 8.1.1 with SP1. When
    I port the application I get this "error java.lang.ExceptionInInitializerError".
    The detail of the error is given below. The "LoanGeniusFrontControllerServlet"
    refered to in the error is my startup servlet. It extends from struts ActionServlet.....
    Any help on this regard is very welcome...
    <Dec 18, 2003 6:24:46 PM PST> <Error> <HTTP> <BEA-101254> <[ServletContext(id=4934480,name
    =LoanGeniusWeb,context-path=/LoanGeniusWeb)]: Servlet class com.tavant.lg.controller.servl
    et.LoanGeniusFrontControllerServlet for servlet LoanGeniusFrontControllerServlet
    could not
    be handled by the classloader with classpath......

  • Java.lang.ExceptionInInitializerError question

    Hi, the following two postings were sent to the Programming forum, and we were referred to the Cryptography forum. Any ides on this problem, cryptography gurus?
    This topic has 2 replies on 1 page (Most recent message: Jul 8, 2002 11:27 AM)
    Having a problem with Java Cryptography Extension (JCE)
    Author: dnhll23 Jul 6, 2002 2:11 AM
    Hi, this is my first attempt at using the JCE. I'm using JCE 1.2.1
    and basically all I'm trying to do at this point is encrypt a
    FileInputStream object using the DES standard, with the JCE
    classes. Here is my code Fragment.
    protected FileOutputStream encriptFile(FileInputStream baseFile,
    File encFileName) throws IOException
    try
    // Create the output file for the encrypted document
    FileOutputStream encriptedFile = new FileOutputStream
    (encFileName);
    // Must register the provider that implements the algorithm
    Provider sunJce = new com.sun.crypto.provider.SunJCE();
    Security.addProvider(sunJce);
    char[] pbeKeyData = password.toCharArray();
    PBEKeySpec pbeKeySpec = new PBEKeySpec(pbeKeyData);
    SecretKeyFactory keyFactory = SecretKeyFactory.getInstance
    ("DES");
    SecretKey pbeKey = keyFactory.generateSecret(pbeKeySpec);
    Cipher pbe = Cipher.getInstance("DES"); // Same as above.
    pbe.init(Cipher.ENCRYPT_MODE, pbeKey);
    CipherOutputStream cout = new CipherOutputStream
    (encriptedFile, pbe);
    // Use a byte array to write the file output in blocks of 64
    bytes.
    byte[] buffer = new byte[64];
    while (true)
    int bytesRead = -1;
    bytesRead = baseFile.read(buffer);
    if (bytesRead == -1) break;
    cout.write(buffer, 0, bytesRead);
    cout.flush();
    cout.close();
    baseFile.close(); // Close the input file.
    catch (java.security.NoSuchAlgorithmException nsA)
    System.err.println(nsA);
    nsA.printStackTrace();
    catch (java.lang.ExceptionInInitializerError eIIE)
    System.err.println(eIIE);
    eIIE.printStackTrace();
    catch (Exception e)
    System.err.println(e);
    e.printStackTrace();
    My problem arises with the line "SecretKeyFactory keyFactory =
    SecretKeyFactory.getInstance("DES");" This line throws an
    ExceptionInInitializerError and the catch block tells me this
    java.lang.ExceptionInInitializerError
    java.lang.ExceptionInInitializerError: java.lang.SecurityException:
    Cannot set up certs for trusted CAs
    (The rst of the stackCall here)...
    From what I've read in the documentation, I need to have a provider
    set up that handles the SecretKeyFactory and encryption algorithms,
    but the documentation also says that the SunJCE provider that I set
    up near the start of my method should have been able to handle this.
    Is there anyone out there with expeience doing this kind of thing
    that can help.
    Thanks
    Re: Having a problem with Java Cryptography Extension (JCE)
    Author: mutmansky
    In Reply To: Having a problem with Java Cryptography Extension (JCE) Jul 8, 2002 11:22 AM
    Reply 1 of 2
    Have you figured out an answer to this problem yet? I'm having a very similar problem. I'm running an applet that needs to decrypt information that it is retrieving from CORBA and I'm getting the following exception:
    java.lang.ExceptionInInitializerError
    at javax.crypto.Cipher.getInstance(DashoA6275)
    at CorbaDecrypt.doDecryption(CorbaDecrypt.java:132)
    at EventChannelListener.run(EventChannelListener.java:325)
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Cannot verify jar:file:C:/PROGRA~1/Java/J2RE14~1.0_0/lib/security/local_policy.jar!/
    at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
    ... 3 more
    I'm using JDK 1.4 so, there's no need for my code to have the two Provider setup lines, but otherwise my code looks much the same as yours. The code works fine when run in a test app on the server, but not in the Applet. The file that it's looking to verify (local_policy.jar) does not exist, and I don't want to create one manually, because my users would have to do that then too, which is unacceptable. I am using a trusted applet, so I'm not sure what more I can do to grant the applet the proper permissions. Does anyone have any ideas what we need to do here?
    Thanks.
    Steve

    Hi all --
    I'm have the same problem as the initially posted question. I'm using JDK 1.3.03 and I get the following excepion:
    Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
    at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])
    at PasswordEncoder.encrypt(PasswordEncoder.java:28)
    at PasswordEncoder.main(PasswordEncoder.java:89)
    I've followed all the instructions for installation and configuration in the JCE User's Guide.
    Any suggestions?
    Thanks all.
    Niran

  • VM dead - java.lang.ExceptionInInitializerError

    While running java on a sun sparc machine im getting this weird error randomly when trying to run/compile
    Error occurred during initialization of VM
    java.lang.ExceptionInInitializerError
    The VM appears to have crashed and takes ages to begin working again. Once working again it may run one app, then die or charge on and unexpectedly die again later.
    The code im am running on this machine has been tested on a linux machine and works fine, however as its a web application i need to install it on the sparc host machine.
    Does anybody know a possible cause? Ive tried installing my own copy of the sdk. When it crashes both java executables(mine and the one available to all the users on the machine) refuse to work.

    What else do you get after
    java.lang.ExceptionInInitializerError ?
    Please post at least 4-5 more lines of the stack
    trace...Thats all I am getting.
    I type at the prompt
    $ java
    Error occurred during initialization of VM
    java.lang.ExceptionInInitializerError
    $ java
    [----get a help menu(VM working)-----]
    $ java
    Error occurred during initialization of VM
    java.lang.ExceptionInInitializerError
    $ java
    Error occurred during initialization of VM
    java.lang.ExceptionInInitializerError
    ...The point here is that its random! An OS memory problem perhaps???
    Because its not my machine I need assurance before I bother the SA again, he seems to think its my software pfff, doesnt look like that to me!
    Any help - Thanx in advance

  • BUILD FAILED java.lang.ExceptionInInitializerError in Jdeveloper

    When I try to deploy a BPEL process from JDeveloper 10.1.3.2.0 by right clicking on projectname and selecting deploy, I get following error.
    Buildfile: D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process DGA_HelloAppendProcess on punib.mycompany.com, port 7777
    [deployProcess] Deploying process D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\output\bpel_DGA_HelloAppendProcess_1.0.jar
    BUILD FAILED
    java.lang.ExceptionInInitializerError
    Total time: 6 seconds
    When i follow same procedure from another system it works fine.
    I am stuck here, please help to resolve this problem.

    James,
    While the upgrade of JDeveloper to 10.1.3.4 will take some time, let me clarify the situation.
    We have SOA suite and Oracle application server installed on a server machine and two client machines (one of which I am using) have Jdev installed on them. When I deploy the BPEL from Jdev running on my colleague's machine it works fine but fails when I try the same from Jdev running on my machine.
    The versions of Jdev are exactly the same on the two machines. And versions of SOA suite, Oracle application server etc are naturally same as it is being deployed on same server. Appreciate your valuable guidance.
    Thanks and Regards,
    Dhiraj.

  • Exception in thread "main" java.lang.ExceptionInInitializerError

    Exception in thread "main" java.lang.ExceptionInInitializerError
    at platinum.logger.XAbstractLogger.setStreams(XAbstractLogger.java:44)
    at platinum.logger.XConsoleLogger.initStreams(XConsoleLogger.java:32)
    at platinum.logger.XConsoleLogger.<init>(XConsoleLogger.java:27)
    at platinum.platinum.main(platinum.java:55)
    Caused by: java.lang.NullPointerException
    at platinum.util.XResourceManager.initResourceBundle(XResourceManager.java:34)
    at platinum.XRepository.<clinit>(XRepository.java:109)
    ... 4 more
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)
    I get a msg like this wen i try to run my project.
    The code which gives the error is:
    import java.io.*;
    import java.util.*;
    import platinum.*;
    public abstract class XAbstractLogger implements XLogger
         public XAbstractLogger()
              this(XProjectConstants.LOG_MODE_VERBOSE);
         public XAbstractLogger(int log_mode)
              setLogMode( new XLogMode(log_mode) );
         protected void setStreams(PrintStream ps_out, PrintStream ps_err) throws IOException,Exception
              out = ps_out;
              err = ps_err;
              // Log some stuff
         String[] props = {
                   "java.version", "java.vendor", "java.compiler", "os.name",
                   "os.version", "os.arch", "user.home"
              if( !logMode.isOff() )
                   logImpl(XRepository.getLogger(), "When reporting bugs, please include the following information:", MESSAGE, out);
                   logImpl(XRepository.getLogger(), XProjectConstants.PRODUCT_NAME+" version="+XProjectConstants.PRODUCT_VERSION, MESSAGE, out);
                   for( int i=0; i<props.length; i++)
                        logImpl(XRepository.getLogger(), props[i] + "=" + System.getProperty(props), MESSAGE, out);
         public void setLogMode(XLogMode log_mode)
              logMode = log_mode;
         public void addLogException(String log_e, XLogMode log_mode)
              if( !logExceptions_Modes.containsKey(log_e) )
                   logExceptions_Modes.put(log_e, log_mode);
         public void removeLogException(String log_e)
              logExceptions_Modes.remove(log_e);
         public final void message(Object src, Object obj)
              if( logMode.getLogMessages() )
                   logImpl(src, obj, MESSAGE, out);
         public final void debug(Object src, Object obj)
              if( logMode.getLogDebugs() )
                   logImpl(src, obj, DEBUG, out);
         public final void warning(Object src, Object obj)
              if( logMode.getLogWarnings() )
                   logImpl(src, obj, WARNING, err);
         public final void error(Object src, Object obj)
              if( logMode.getLogErrors() )
                   logImpl(src, obj, ERROR, err);
         private void logImpl(Object src, Object obj, int type, PrintStream ps)
              if( ps==null )
                   return;
         String class_name = XRepository.getResourceManager().getClassName(src);
              if( isAnException(class_name, type) )
                   return;
              ps.print("["+getTitle(type)+"-"+class_name+"] ");
              if( obj instanceof Throwable )
                   ((Throwable)obj).printStackTrace(ps);
              else
                   ps.println(obj);
         private boolean isAnException(String str, int type)
         Iterator it = logExceptions_Modes.keySet().iterator();
         String excep_item;
         XLogMode log_mode;
              while( it.hasNext() )
                   excep_item = (String)it.next();
                   log_mode = (XLogMode)logExceptions_Modes.get(excep_item);
                   if( excep_item.equalsIgnoreCase(str) )
                        if( ((type==MESSAGE) && (log_mode.getLogMessages()==false)) ||
                             ((type==DEBUG) && (log_mode.getLogDebugs()==false)) ||
                             ((type==WARNING) && (log_mode.getLogWarnings()==false)) ||
                             ((type==ERROR) && (log_mode.getLogErrors()==false)) )
                        return true;
              return false;
         private String getTitle(int type)
              switch( type )
                   case MESSAGE:
                        return ">Message:";
                   case DEBUG:
                        return ">Debug:";
                   case WARNING:
                        return ">Warning:";
                   case ERROR:
                        return ">Error:";
                   default:
                        return ">??!!";
    // Attributes:
         private static final int MESSAGE = 1;
         private static final int DEBUG = 3;
         private static final int WARNING = 5;
         private static final int ERROR = 7;
         private PrintStream out = null;
         private PrintStream err = null;
         private Map logExceptions_Modes = new HashMap();
         private XLogMode logMode = new XLogMode();

    The code which gives the error is:You have read the stack trace incorrectly and posted the wrong code.... read the trace again:
    at platinum.platinum.main(platinum.java:55)
    Caused by: java.lang.NullPointerException
    at platinum.util.XResourceManager.initResourceBundle(XResourceManager.java:34)
    at platinum.XRepository.<clinit>(XRepository.java:109) Something is throwing null pointer exception in *'platinum.util.XResourceManager.initResourceBundle'* method.
    Thanks!

  • Java.lang.ExceptionInInitializerError

    I am trying to create a link to another system from an existing application developed on Oracle9i JDeveloper 9.0.2.822 using java version 1.3.1_02.
    This uses an API provided by the Vendor of the target system (webMethods 6.1) which uses the entrust libraries.
    I have successfully created a client class which successfully connects to the target system and returns data when run as a standalone class.
    C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\classes;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\client.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entbase.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcertlist.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcms.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entjsse.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entmisc.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entnsext.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp10.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp11.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp12.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp5.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp7.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entroaming.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entserverlogin.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmime.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmimev3.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entssl.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\enttunnel.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entuser.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entxml.jar;C:\oracle9iDev\ora92\jdev\lib\jdev-rt.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmt.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jdomorcl.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jdatum.jar;C:\oracle9iDev\ora92\jdbc\lib\classes12.jar;C:\oracle9iDev\ora92\jdbc\lib\nls_charset12.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsp.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsputil.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\jdev\lib\ojc.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\lib\xmlcomp.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jtester.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\help4-nls.jar;C:\oracle9iDev\ora92\jlib\help4.jar;C:\oracle9iDev\ora92\jlib\share.jar;C:\oracle9iDev\ora92\jlib\jewt4-nls.jar;C:\oracle9iDev\ora92\jlib\jewt4.jar;C:\oracle9iDev\ora92\jlib\oracle_ice5.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmtejb.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jctejb.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jcert.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jnet.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jta.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\j2ee\home\jaxp.jar;C:\oracle9iDev\ora92\j2ee\home\jdbc.jar;C:\oracle9iDev\ora92\j2ee\home\jaas.jar;C:\oracle9iDev\ora92\j2ee\home\jsse.jar;C:\oracle9iDev\ora92\soap\lib\soap.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\javax-ssl-1_2.jar;C:\oracle9iDev\ora92\jlib\jssl-1_2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.webMethods.GetAltoDetails
    Context context = null; context = new Context(); Instance of Context created No of details = 2
    Details[0] CountyText = Merseyside
    Details[1] CountyText = Merseyside Process exited with exit code 0.
    However, when invoke the class from withing the J2EE applicationI get the following error message when it tries to create an instance of the class 'Context':
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\oracle9iDev\ora92\j2ee\home\oc4j.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.evermind.server.OC4JServer -config C:\oracle9iDev\ora92\jdev\system\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Target URL -- http://10.45.4.28:8988/msd/Login/Login.jsp
    Context context = null;
    context = new Context();
    Caught ExceptionInInitializerError
    null
    java.lang.ExceptionInInitializerError: java.lang.SecurityException: Self-Integrity Check FAILED: java.lang.SecurityException: java.security.PrivilegedActionException <<java.util.zip.ZipException: error in opening zip file>>      at com.entrust.toolkit.security.provider.JCEVerifierImpl.checkIntegrity(Unknown Source)      at com.entrust.toolkit.security.provider.Entrust.<init>(Unknown Source)      at com.wm.app.b2b.client.BaseContext.<clinit>(BaseContext.java:109)
         at MSD.OrderProcessingCTL.getAltoDetailsFromWebservice(OrderProcessingCTL.java:1795)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.framework.BaseRouterServlet.invokeControllerMethod(BaseRouterServlet.java:283)
         at com.framework.BaseRouterServlet.doPost(BaseRouterServlet.java:127)
         at com.framework.BaseRouterServlet.doGet(BaseRouterServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Any ideas why this happening?

    I've managed to fix this myself now.
    It turned out to be a classpath issue. The J2EE application cannot find 'com.wm.app.b2b.client.Context' when it tries to create an istance of it.
    I resolved it by putting the client.jar and entrust folder in the the $JAVA_HOME\jre\lib\ext folder instead of ..\WEB-INF\lib.
    The following document is very revealing:
    http://www.oracle.com/technology/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf

Maybe you are looking for

  • Problem with my ipod. Any ideas?

    ive had my ipod nano for just over a year and up and untill recently it was working satisfactory and serving its purpose well. However two days ago for no reason what so ever the screen has stopped working properly. Its as if its had a stroke or some

  • HT201471 iPad with Retina display

    What about the iPad with Retina display (Not the "Mini") available in 16GB only

  • DVD player keeps crashing.

    I just bought a Mac this month and I wanted to watch some movies on it. I tried 3 different DVDs and the DVD player kept 'closing unexpectedly', but it opens fine if I don't have a DVD inserted. The DVD player is version 5.6. How do I fix this?

  • Why are contacts listed in a group in my address book, missing when I try to email that group?

    I created a group in my contacts.  I have added more people to this group and it now contains 57.  However when I go to mail the group, only 43 of the contacts show up.  How do I fix this?

  • 24p AVCHD

    Though I'm going to upgrade within a couple months, I'm currently using a Panasonic HDC-SD9 for a few projects, and like shooting in 24p mode. The AVCHD editing modes in PE7 do not offer a "Full HD" mode with 23.976 timebase. It instead offers a 29.9