Oc4j log file: many java.lan.NullPointerException in log file
I use oc4j 10.1.3 Developer Preview 4
I found many java.lan.NullPointerException in log file.
I don't know if this is normal or not, but it makes me a little suspicious
PEC Barnes
As an example :
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2005-12-14T11:26:19.330+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oracle</COMPONENT_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>yale.domain.com</HOST_ID>
<HOST_NWADDR>129.233.33.12</HOST_NWADDR>
<THREAD_ID>11</THREAD_ID>
<USER_ID>barnes</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>129.233.33.12:6613:1134555978780:1</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Caught exception: java.lang.NullPointerException.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
at oracle.oc4j.admin.management.mbeans.J2EELogging.setLoggerLevel(J2EELogging.java:282)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1079)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:604)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:822)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:343)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:310)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:39)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:45)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:62)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:32)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:379)
at com.evermind.server.ThreadState.runAs(ThreadState.java:637)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:36)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:46)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:62)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:28)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
at MBeanServerEjbRemote_StatefulSessionBeanWrapper0.invoke(MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:50)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.ServerRmiMessageHandler.doMethodCall(ServerRmiMessageHandler.java:560)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:471)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:262)
at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:231)
at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:155)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:151)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
Similar Messages
-
Error in file-webservice- file (Error: java.lang.NullPointerException)
Hi everybody,
I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
File - RFC - File without a BPM - Possible from SP 19.
I have used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
1 communication channel for sender file
1 for receiver soap
1 for receiver file
Error: java.lang.NullPointerException
What could be the reason for this error
thanks a lot
RamyaHi Tanaya,
I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
1 sender ftp channel
1 receiver soap channel
1 receiver ftp channel.
2009-12-16 15:02:00 Information Send binary file "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
2009-12-16 15:02:00 Information MP: entering1
2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
2009-12-16 15:02:00 Information RRB: suspending the transaction
2009-12-16 15:02:00 Information RRB: passing through ...
2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:02:00 Information Trying to put the message into the call queue.
2009-12-16 15:02:00 Information Message successfully put into the queue.
2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
2009-12-16 15:02:00 Information The message status was set to DLNG.
2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:02:02 Error The message status was set to FAIL.
Now, the error is internal server error.What can I do about this?
thanks a lot
Ramya -
Java.lang.NullPointerException after logging into portal
We see the following error in the defaultTrace file when a user logs onto the portal for ESS (the user sees a 500 Internal Error):
#1.#00144F3B617C006B000004CF000052B5000476A0EE463C6F#1256333471265#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.web
dynpro.sessionmanagement.ExceptionHandler.handleThrowable#Guest#0##n/a##623f0200c01b11de9d3d00144f3b617c#SAPEngine_Application_Thread[impl:3]_
36##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application . The causing exception is neste
d.
[EXCEPTION]
#2#sap.com/pb/PageBuilder#java.lang.NullPointerException
at com.sap.security.core.logon.imp.WebLoginCallbackHandler.<init>(WebLoginCallbackHandler.java:41)
at com.sap.security.core.logon.imp.SAPJ2EECallbackHandler.<init>(SAPJ2EECallbackHandler.java:45)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getHandler(SAPJ2EEAuthenticator.java:1191)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:142)
at com.sap.tc.webdynpro.serverimpl.wdc.um.ClientUserFactory.getLoggedInClientUser(ClientUserFactory.java:218)
at com.sap.tc.webdynpro.services.sal.um.core.ClientUserInternal.getLoggedInClientUserInternal(ClientUserInternal.java:75)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.<init>(ClientSession.java:183)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.clientsession.HttpClientSession.<init>(HttpClientSession.java:43)
at com.sap.tc.webdynpro.serverimpl.wdc.adapter.HttpRequestAdapter.createClientSession(HttpRequestAdapter.java:261)
at com.sap.tc.webdynpro.serverimpl.core.adapter.AbstractHttpRequestAdapter.getSessionObject(AbstractHttpRequestAdapter.java:296)
at com.sap.tc.webdynpro.serverimpl.core.adapter.AbstractHttpProtocolAdapter.getSessionObject(AbstractHttpProtocolAdapter.java:109)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.findClientSession(RequestManager.java:264)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:146)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.
java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
This only happens immediately after logon; once the user clicks on another tab in ESS, the error is never re-produced again until the user logs off and logs back on.EP 7, ESS 603 SP4 P3.
This apparently is only happening for one specific user. I'm in the process of gathering information about their internet browser to determine if that's the cause.
I did check the JCos and they all tested successfully.
Thanks,
Setu -
File Sender java.lang.NullPointerException
Hi,
I am currently develop a file to file transfer appl. I am facing a problem on my file sender will the error Could not process due to error: java.lang.NullPointerException. This error happen at the sender adapter engine communication channel monitoring.
Hope for help.
ThanksHi,
thanks for reply. I found the nullpoiter Exception from Adapter Engine communcation channel in RWB.
Cluster Node Details for Channel cc_flatfile_sender
Status
Inactive
Administration Error
Processing Errors
Cluster Node ID
Short Log
In the Last 20 Seconds Server 0 4_82650 Communication channel is correctly configured and started
Line 1 / 1
Processing Details for Cluster Node Server 0 4_82650
Type
Time Stamp
Message ID
Explanation
10/6/08 11:25:38 AM Could not process due to error: java.lang.NullPointerException
10/6/08 11:25:38 AM Processing started
10/6/08 11:24:38 AM Could not process due to error: java.lang.NullPointerException
10/6/08 11:24:38 AM Processing started
10/6/08 11:23:38 AM Could not process due to error: java.lang.NullPointerException
10/6/08 11:23:38 AM Processing started
10/6/08 11:22:38 AM Could not process due to error: java.lang.NullPointerException
10/6/08 11:22:38 AM Processing started
10/6/08 11:21:38 AM Could not process due to error: java.lang.NullPointerException
10/6/08 11:21:38 AM Processing started -
Error in file cc attemp to process file due java.lang.NullPointerException
there is an error in file communication channel with error information
*Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.NullPointerException
.*please post ur views what might be reason for this type of errors.Thanks all for your valuable and quick responses.
MY concern is that why it created 1 file 3 times.
i checked the ICF that is green.
THe interface works like this
*the idoc is sent from the SAP system.
*and is received by a BPM in XI
BPM sends the file to a file receiver channel.
*Encryption program picks the file and encryption is done
*Again the file is sent by file sender channel to receiver.
the receiver is supposed to get 3 files but it is getting 9 files.
one file 3 times.
Moreover file receiver channel shows error jave lang null pointer
please send in your views so that the problem can be sorted out ........
Thanks. -
How to display a .exe file in java applets by avoiding the file downloadbox
Hi sir,
I know that in order to display a any file(or)program in java applets you need to use showDocument().Where you cannot use exec() in java applets.
My problem is that when i use showDocument() to display .exe file.It is showing a file download dialog box.If we click & open only it is opening that .exe file.Here i want to open the .exe file without showing that file download dialog box in java applets.
Since,i am undergoing a project which involves it,it is quite urgent.pls.do provide the exact code in java applet without showing that file download dialog box.If it can't be done pls. do provide any other possibilities in order to be displayed on the browser.Thank U.
Regards,
m.ananthuHi!
I think you it's better to write a server socket program
in server and open a socket connection to server socket then
send exe file content via connection.
(I guess you know applets only have permission to open socket connection to their code base)
Bye! -
PG jtapi services display "java.lan.NullPointerException" Error
Hi Dear,
I got attachment error on PG server.Can you please explain what we receive this error.
Probbably both PG server was not communicated same time when error eccour.
Event Type: Error
Event Source: Cisco Systems, Inc. ICM
Event Category: CTILink
Event ID: 32782
Date: 9/3/2013
Time: 4:43:04 PM
User: N/A
Computer: ICMISTPG13A
Description:
Client:CTIOSServer Object:172.20.5.25 Error Event Report: CTIOS Server "ICMISTPG13A": Communication with CTIOS Server: "172.20.5.15" has failed.
Data:
Merhaba,
Belirtilen saatte PG sunucusu üzerinde CTIOS servisinde 1sn süreli anlık problem yaşanmıştır.
Şu anda problem bulunmamaktadır.
Çağrı kaybı yaşanmamıştır.
Tşkler,Hi,
Is that your PIM is showing Active state?
Is this restored ?
Is this production environment or lab system?
Share the dumplog of jgw1 & pim1 process of issue time for further troubelshooting.
Thanks & Regards,
Hardik B Kansara -
Java.lang.NullPointerException in webstarterappII application.log
Hi, all,
When I try WebStarter Application II (WSA II), I find many java.lang.NullPointerException in application.log, like this:
03/10/20 06:41:42 webstarterappII: Version: 1.0 LOGGING: DocServlet:service(), request to show document
03/10/20 06:41:42 webstarterappII: Servlet error
java.lang.NullPointerException
at view.DocServlet.getRequestContext(DocServlet.java:133)
at view.DocServlet.service(DocServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
03/10/20 06:41:43 webstarterappII: Version: 1.0 LOGGING: DocServlet:service(), request to show document
Anyone know the reason and how to avoid this error?
Thanks.It means that you were not authenticated (such that, did not have a valid http session instance) - before trying to service the request.
authenticate first via the application, then try and access the DocServlet. -
Java.lang.NullPointerException in MSS iviews
Hi,
Can any one tell me the reasons for getting the below error? Only one user is getting this error while viewing all MSS Iviews.
<b>Error:</b> java.lang.NullPointerException
<b>Log Overview:</b>
PortalComponentSession.putValue() failed
[EXCEPTION]
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java(Compiled Code))
at com.sapportals.portal.prt.component.PortalComponentSession.putValue(PortalComponentSession.java(Compiled Code))
at com.sap.pct.hcm.employeeprofile.genericiviewtable.GenericIviewTablePage.beforePdvExecuteSource(GenericIviewTablePage.java:55)
at com.sapportals.pct.util.pdv.PDVJspDynPage.doProcessBeforeOutput(PDVJspDynPage.java:128)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java(Compiled Code))
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java(Compiled Code))
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java(Compiled Code))
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java(Compiled Code))
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java(Compiled Code))
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java(Compiled Code))
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
<b>Default trace:</b>
#1.5#000255AF6E28002F00000526000C20B0000420A586EC226E#1161795212157#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#usera1#513560####58b79ca0644911dba4c5000255af6e28#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Plain##
#ErrorPage: java.lang.NullPointerException#
#1.5#000255AF6E28001900000547000C20B0000420A586FDA259#1161795213304#System.err#sap.com/irj#System.err#usera1#513557##ri3023_UWP_108418750#usera1#585d6eb0644911dba163000255af6e28#SAPEngine_Application_Thread[impl:3]_4##0#0#Error##Plain### at com.sap.pct.hcm.teamviewer.TeamViewerPage.getJSCodeCheckCookie(TeamViewerPage.java(Compiled Code))#
Thanks in Advance,
Swapna.Hi ,
One thing i can say is the Null Pointer Exceptin when ther is no value in the field which has been submiited .The code shd be written in the try and catch block so that u can know hwat is the error all about .
just check in the Ui which u have made is the user having data reated to that .
pls awrd pts if useful -
How to check & unzip zip file using java
Dear friends
How to check & unzip zip file using java, I have some files which are pkzip or some other zip I want to find out the type of ZIp & then I want to unzip these files, pls guide me
thanksHow to check & unzip zip file using java, I have
ve some files which are pkzip or some other zip I
want to find out the type of ZIp & then I want to
unzip these files, pls guide meWhat do you mean "other zip"? Either they're zip archives or not, there are no different types. -
My project that ran perfectly under JDeveloper 9.0.5.2/OC4J 9.0.2 no loner runs under Jdeveloper 10.1.3.1/OC4J 10.1.3.1.
The failure (java.lang.NullPointerException ) is in the following code snippet:
=================================================
Public String getString(String columnName) throws SQLException {
return getResultSet().getString(columnName);
=================================================
columnName is being passed the same value in both environments.
The JSP snippet that executes the above is:
=================================================
com.app.servlet.SQLDataSource detail =
((com.app.servlet.SQLDataSource)request.getAttribute("AcctList"));
<td width="20%" class="tableRow">
<a class="a4"><%= detail.getString("ACCT")%></a>
</td>
==================================================
AcctList is a text file that contains the following SQL code:
============
select ACCT
, VDESC
from GL
:WhereClause
:OrderByClause
============
:WhereClause & :OrderByClause are set in a calling "Filter" JSP filter page.
All debug statements in my code indicate the the getResultSet is properly executed. Yet when the detail.getString("ACCT") is hit I receive the NullPointerException.
Any clues?
Remember, no code has changed between the 9.0.2 and 10.1.3.1 environments. They both hot the same database with the same JDBC drivers.
TIA,
Ed.Jan,
The NullPointerException is pointed to:
at oracle.jdbc.driver.ScrollableResultSet.findColumn(ScrollableResultSet.java:1308)
at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1572)
at oracle.jdbc.SQLDataSource.getString(SQLDataSource.java:388)
at apps.AcctList._jspService(_AcctList.java:66)
The code ( in "_AcctList.java") at line 66 reads:
out.print(detail.getString"ACCT") );
However, digging into my application log file I found that the following error happend at 10:52:46.0 (the above error occured at 10:52.50):
07/03/02 10:52:46.0 intemrp: Servlet error
java.lang.IllegalStateException: OutputStream already retrieved
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindHttpServletResponse.getWriter(EvermindHttpServletResponse.java:921)
at com.sage.servlet.ServletAdaptor.error(ServletAdaptor.java:148)
at com.sage.servlet.ServletAdaptor.service(ServletAdaptor.java:74)
at inetmrp.servlet.ServletAdaptor.service(ServletAdaptor.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
07/03/02 10:52:46.0 intemrp: An existing connection was forcibly closed by the remote host
07/03/02 10:52:46.0 intemrp: An existing connection was forcibly closed by the remote host
Any ideas?
Thanks,
Ed. -
Urgent - java.lang.NullPointerException when deploying a WAR file
Hello
I am trying to deploy a WAR file on 9iAS rel 2 using the Enterprise Manager. On the web page, I provide the .war file along with application name and url mapping. When I click on deploy, i get an error back which just says java.lang.NullPointerException. There is no stack trace.
Until now, I have been working on my own PC using tomcat, and the war file works fine in tomcat.
I am presuming that there will be a log file where more information will be available, but I do not know where the log file is kept. The Oracle 9iAS is installed on Solaris.
Any help with this would be greatly appreciated.
Thanks.
JayProblem Solved
The problem was the web.xml file which contained some elements that are only valid for servlet 2.4 (used on tomcat) but not on 2.2(used in oracle).
Jay. -
Hello XI Xpert's,
I am following below SDN blog to generate file module...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805
I have done all steps as mentioned using NWDS. We have sucessfully deployed same on J2EE engine using SDM. SDM logs shows that it is sucessfully deployed.
I have configured Sender File adapter to call my customised module.( Called before standard file module).
But when I checked in RWB, its gives me error :
Sender Adapter v2703 for Party '', Service 'BS_DEV_XI_401_NA':
Configured at 2007-08-27 12:28:14 EDT
History:
- 2007-08-27 12:32:04 EDT: Retry interval started. Length: 2.000 s
- 2007-08-27 12:32:04 EDT: Error: java.lang.NullPointerException
- 2007-08-27 12:32:04 EDT: An unknown error occured.
- 2007-08-27 12:32:04 EDT: Processing started
- 2007-08-27 12:32:02 EDT: Error: java.lang.NullPointerException
If I do not put any file in respective folder status of Sender Communication channel shows as green...as soon as put any file in folder its getting red with above mention error.
I have gone thru almost all SDN blogs/thread ..I also tried to debug code as mentioned in thread..Error in Module Processing- java.lang.NullPointerException
But unfortunately it never goes to that point...hence never updates Log.
In audit log I am getting same message..
2007-08-27 12:42:50 Error Attempt to process file failed with null
2007-08-27 12:42:50 Error Attempt to process file failed with java.lang.NullPointerException
2007-08-27 12:42:52 Success Channel Sys_Dev_File_Client: Entire file content converted to XML format
2007-08-27 12:42:52 Success Send text file "/usr/sap/tmp/ifATJmgs.csv", size 120436, character encoding ISO646-US with QoS EO
2007-08-27 12:42:52 Error Attempt to process file failed with null
2007-08-27 12:42:52 Error Attempt to process file failed with java.lang.NullPointerException
But could not find my Custom Message... There is any way by which I can check if its calling my Custom Module itself?
There is any setting / parameters which we need to do on J2EE engine in order to activate call to custome module?
Any help would be really appreciated.
NileshIt is strange, but in that document of yours it never says anything about the JNDI name in the ejb-j2ee-engine.xml file.
Check this doc here:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
According to it, if you properly configure the ejb-j2ee-engine.xml file, then you'd call your module using "localejbs/<JNDIName>".
Regards,
Henrique. -
Java.lang.NullPointerException in the code to read a properties file
I have written the following code to read a properties file...........
<b>
public Property(String fileName)
try
InputStream is = MyClassName.class.getClass().getClassLoader().getResourceAsStream(fileName);
prop.load(is);
is.close();
catch (Exception ex)
System.out.println("The Exception is: " + ex.getMessage());
ex.printStackTrace();
</b>
But this code is giving <b> java.lang.NullPointerException </b> at <b> prop.load(is) </b>
please help me....
regards
Brahmachaitanyahi,
If you are loading a resource (property) file from a jar file you can use
getResourceAsStream("com/test/test.properties").
if the propery file is in outside of your jar file . you can use
Property portalProps = new Property ();
try {
FileInputStream fileInputStream = new FileInputStream("<FilePath + FileName>");
portalProps.load(fileInputStream);
fileInputStream.close();
} catch (IOException e) {
//Log the error
refer the following link for more details
http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html -
Hi,
intermittently we are seeing this exception in the server log files on weblogic 6.1
sp2, I was wondering what the cause is:
java.lang.NullPointerException
at weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:292)
at weblogic.servlet.internal.HttpServer.log(HttpServer.java:835)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1002)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2209)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Did your C:\Lighthammer\Security\userdata\IlluminatorUsers.xml or other files in this directory get corrupted somehow?
If you've rebooted the box or bounced the ServletExec-xMII service, do you see anything in the SYSTEM level messages that are forced during the initialization sequence in either the Lighthammer General log or the LHSecurity General log that would give any indications to the problem?
Regards,
Jeremy
Maybe you are looking for
-
One license for OSX and PC?
Is there any way that I can purchase one license (with educational discount) and use it for BOTH my Mac and PC? Per the licensing: when I buy a copy I can install it on two PCs OR two Macs, but not one of each, correct? I personally think this is a b
-
Relatório saldo de contas contrapartida
Bom dia, Gostaria de saber se é possível obter um relatório que ao ser introduzido uma conta do razão nos critérios de selecção, e após execução, devolveria o saldo das contas movimentadas em contrapartida dessa mesma conta inicialmente introduzida (
-
I recently created a .pdf file with links embedded to specific sections and pages in the document. When the link occurs, the new page appears at only 67% size rather than at 100% or whatever percentage the view is set to. Can anyone tell me how to ma
-
after years of using a pc, i'm thinking of switching to a mac book. my question: won't i have to buy all new software? ms office, games, etc.
-
Can I change the size of a jpg in another jpg?
I have PSE 9 on XP with SP3. My wife has a business card as a jpg. On the right side of the card is a picture of a painting of a dog she did. She wanted to change that picture. So I used the Rectangular Marquee Tool to select the existing image and t