Runtime.exec error - java.lang.NullPointerException
Hi,
I am trying out the example code from javaWorld that shows how to use exec to execute external command. The problem is that I aways run into java.lang.NullPointerException on line that has "Process proc = rt.exec(cmd);" I have tried to run the code under Windows XP and Windows 2003; and I get the same error message. Any idea on what might be casing this?
Thanks,
// GoodWindowsExec.java
import java.util.*;
import java.io.*;
class StreamGobbler extends Thread
InputStream is;
String type;
StreamGobbler(InputStream is, String type)
this.is = is;
this.type = type;
public void run()
try
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line=null;
while ( (line = br.readLine()) != null)
System.out.println(type + ">" + line);
} catch (IOException ioe)
ioe.printStackTrace();
public class GoodWindowsExec
public static void main(String args[])
if (args.length < 1)
System.out.println("USAGE: java GoodWindowsExec <cmd>");
System.exit(1);
try
String osName = System.getProperty("os.name" );
String[] cmd = new String[3];
if( osName.equals( "Windows NT" ) )
cmd[0] = "cmd.exe" ;
cmd[1] = "/C" ;
cmd[2] = args[0];
else if( osName.equals( "Windows 95" ) )
cmd[0] = "command.com" ;
cmd[1] = "/C" ;
cmd[2] = args[0];
Runtime rt = Runtime.getRuntime();
System.out.println("Execing " + cmd[0] + " " + cmd[1]
+ " " + cmd[2]);
Process proc = rt.exec(cmd);
// any error message?
StreamGobbler errorGobbler = new
StreamGobbler(proc.getErrorStream(), "ERROR");
// any output?
StreamGobbler outputGobbler = new
StreamGobbler(proc.getInputStream(), "OUTPUT");
// kick them off
errorGobbler.start();
outputGobbler.start();
// any error???
int exitVal = proc.waitFor();
System.out.println("ExitValue: " + exitVal);
} catch (Throwable t)
t.printStackTrace();
}
What is System.getProperty("os.name") returning when you run on Windows XP or 2003?
You are only filling in your cmd array when os.name is either Windows NT or Windows 95. In other cases, the elements of cmd are left as null.
The documentation for Runtime.exec() says you will get a NullPointerException when elements of the array are null:
http://apidoc.org/view/10563?a=exec%28java.lang.String%5B%5D%29
Similar Messages
-
Hi experts.
My scenario is File --> PI --> File.
During the message mapping there are a few RFC lockups.
I have configured an communication component for the RFC destination, and a Receiver communication channel to the RFC system.
When I am trying to check the message mapping and the operation mapping from the integration builder every thing works just fine.
In the interface determination i have configured the rfc parameter for the mapping.
When I am trying to run the hole process i receive an error saying:"Runtime exception from: java.lang.nullPointerException:
null at com.sap.guid.GUID.parsHEXguid(guid.java:1015)
reguars MaxDid you test your operation mapping??
Did you provide your RFC communication channel name and import parameters value in paramter tab of Operation mappi
Yes I did.
I have tested the operation mapping and it runs just fine.
Also all the parameters are specified.
And the communication channel is configured.
Just to make sure the communication channel is configured well.
Should it be configured as RFC adepter and connected to the system on which the RFCs are located?
If this is all of the configuration needed i have already done them.
Any suggestions?
Regards Max. -
Hi Everyone,
I am trying to intergrate Dotnet DLL with coldfusion. The basic perpose of this DLL is putting value in cache.
My code is working fine on my local machine but it giving me problem on live server.
It is throwing "java.lang.NullPointerException" error.
Description of task:-
DLL:-
made in : Dotnet 3.0
Functions:-
setCache:- setting a string into cache.
getCache:- getting value from cache.
ClearCache:- Clearing all value from Cache.
Local Machine:-
OS: window server 2003
Coldfusion version :MX8
coldfusion Product level:-Developer
Result:-Task is working fine.No error what so ever.
Live server:-
OS: window server 2003
Coldfusion version :MX8
coldfusion Product level:-Standred
Result:-Task is throwing error "java.lang.NullPointerException"Thanks for your response, but surely if the .NET Services was not running how can CF instantiate and dump the object with all the correct methods?
Anyway for some strange reason there is no Coldfusion .NET service in my services control panel even though I am running CF8. I have since downloaded the .NET service installer, run it and done a restart but I can still see no such service and the error continues?
I am running CF8 Dev on IIS 6 – Window XP pro and here is debug
java.lang.NullPointerException
at com.jnbridge.jnbcore.clientTransports.d$b.close(Unknown Source)
at java.net.Socket.<init>(Socket.java:368)
at java.net.Socket.<init>(Socket.java:209)
at com.jnbridge.jnbcore.clientTransports.d$b.<init>(Unknown Source)
at com.jnbridge.jnbcore.clientTransports.d.if(Unknown Source)
at com.jnbridge.jnbcore.clientTransports.c.a(Unknown Source)
at com.jnbridge.jnbcore.clientTransports.f.a(Unknown Source)
at com.jnbridge.jnbcore.DotNetSideProxy.int(Unknown Source)
at com.jnbridge.jnbcore.DotNetSideProxy.getObjectStaticProperty(Unknown Source)
at System.Environment.Get_CurrentDirectory()
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:597)
at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:87)
at coldfusion.runtime.dotnet.DotNetProxy.invoke(DotNetProxy.java:38)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272)
at cftestDotNet2ecfm215937280.runPage(C:\Inetpub\wwwroot\his_clothing\testDotNet.cfm:20)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) -
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 -
Error: java.lang.NullPointerException in BI Broadcasting
I am having this issue when I am trying Email broadcasting form SAP BI Query and set the filter navigation for one of the characteristic value. Any Idea???
When I execute the Information broadcasting it gives following message
Error: java.lang.NullPointerException
Thanks,
AddyHi Janine,
The query works in Java Web and in BEx Excel analyzer. This query even works in the BI email broadcasting for different filter value for the same characteristic in the filter navigation tab setting in broadcasting.
The same filter value works in Broadcasting when I am broadcasting the query as Excel attachment but does not work when I try to do a PDF report.
The popup error message is this:
Execution of Broadcast Setting
Setting Z_ORD_PTYP_SM_INT_YN_WK were started from the BEx Broadcaster
Processing for user USERID, language EN
Processing setting Z_ORD_PTYP_SM_INT_YN_WK
Error: java.lang.NullPointerException
When I checked the log file here is the Java Log
#1.5#0023AEFCB3200030000001F4000003D000047DAE57A2B7C0#1264087654806#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.base.application.message.impl.MessageBase#adadsena#13065##sap-bip_BIP_4188451##0a4b90f006a111dfad9f0023aefcb320#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/Applications/BI#Plain###A message was generated:
ERROR
Error while processing the control query
Message: Error while processing the control query
Stack trace: com.sap.ip.bi.broadcasting.runtime.BroadcastingException: Error while processing the control query
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:559)
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.run(PrecPageAssembler.java:186)
at com.sap.ip.bi.broadcasting.runtime.impl.ProducerPrecalculation.produce(ProducerPrecalculation.java:409)
at com.sap.ip.bi.broadcasting.runtime.RfcListenerRSRD_X_PRODUCE.handleRequest(RfcListenerRSRD_X_PRODUCE.java:130)
at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:239)
at com.sap.ip.bi.portalrfc.services.BIRfcService.handleRequest(BIRfcService.java:247)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:345)
at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0_0.processFunction(PRTRFCRemoteObjectImpl0_0.java:118)
at sun.reflect.GeneratedMethodAccessor851.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy129.processFunction(Unknown Source)
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.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
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)
Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 180596 msec
at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:687)
at com.sap.ip.bi.export.xfa.impl.Document.writePdfToByte(Document.java:709)
at com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryContent(PDFConverter.java:160)
at com.sap.ip.bi.export.impl.ExportController.getBinaryContent(ExportController.java:863)
at com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:103)
at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:73)
at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.createExportResult(PageExport.java:212)
at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getPdfForPage(PageExport.java:236)
at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getExports(PageExport.java:253)
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processPage(PrecPageAssembler.java:260)
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:556)
... 24 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:337)
at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:648)
... 34 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:84)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:94)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
... 36 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:889)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:375)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:284)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:415)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:563)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1444)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
... 38 more
com.sap.ip.bi.broadcasting.runtime.BroadcastingException ErrProcessControlQuery#
#1.5#0023AEFCB320000E000000000000028800047DAECCE1F4B6#1264089621987#com.sap.security.core.persistence##com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.LDAPMasterCheck][md=checkAvailability][cl=57038]#######SAPEngine_System_Thread[impl:5]_67##0#0#Error##Plain###Main server available again#
#1.5#0023AEFCB320000F000000000000028800047DAECCEB0B7D#1264089622581#com.sap.security.core.umap.imp.UserMappingUtils##com.sap.security.core.umap.imp.UserMappingUtils.getMasterSystem()#######SAPEngine_System_Thread[impl:5]_30##0#0#Error##Plain###Cannot provide the current ABAP master system because the responsible system landscape is currently not available.#
#1.5#0023AEFCB3200010000000000000028800047DAECCF17BBE#1264089623003#com.sap.caf.um.metadata.imp.MetaDataTools##com.sap.caf.um.metadata.imp.MetaDataTools.MetaDataTools()#######SAPEngine_System_Thread[impl:5]_53##0#0#Info#1#/System/Server#Plain###sap.com caf/um/metadata/imp MAIN_APL70VAL_C 1528581#
#1.5#0023AEFCB3200011000000010000028800047DAECCF2B562#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() {#
#1.5#0023AEFCB3200011000000030000028800047DAECCF2C102#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() } OK#
#1.5#0023AEFCB3200012000000000000028800047DAECCF4D943#1264089623222#com.sap.caf.um.relgroups.imp.persistence.DataSource##com.sap.caf.um.relgroups.imp.persistence.DataSource.DataSource()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
#1.5#0023AEFCB3200013000000000000028800047DAECCF4E368#1264089623222#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Starting Configuration util service...#
#1.5#0023AEFCB3200013000000010000028800047DAECCF617AD#1264089623300#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Configuration util service started successfully.#
#1.5#0023AEFCB3200012000000010000028800047DAECCF9715F#1264089623519#com.sap.caf.um.relgroups.imp.principals.RelGroupFactory##com.sap.caf.um.relgroups.imp.principals.RelGroupFactory.RelGroupFactory()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
#1.5#0023AEFCB3200014000000000000028800047DAECCFA84EF#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
#1.5#0023AEFCB3200014000000010000028800047DAECCFA999F#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)#
#1.5#0023AEFCB3200014000000020000028800047DAECCFAA3AE#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
#1.5#0023AEFCB3200014000000030000028800047DAECCFAA48A#1264089623612#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)#
#1.5#0023AEFCB3200015000000000000028800047DAECDDEEF82#1264089638566#System.err##System.err####n/a##1e36f46006a611dfa01a0023aefcb320#Thread[Thread-64,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###com.sap.security.core.server.userstore.UserstoreException: Could not get user dfrench
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:198)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:102)
at com.sap.engine.services.security.server.AuthorizationContextImpl.getUserFromRole(AuthorizatiMessage: Error: java.lang.NullPointerException
Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error: java.lang.NullPointerException
at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:277) -
500 Internal server error - java.lang.NullPointerException: null
While trying to access the initial login screen of EP, we face this '500 Internal server error - java.lang.NullPointerException: null' issue very randomly. It appears sometimes and when opened from new browser we get the login screen sometimes. It is not a problem that reproduces always. On the screen where the error appears, we refresh any number of times, no help, the error remains the same, but when we open in a new window, it might give the login screen or end up with this error.
We have 4 Dialog Instances and a Cisco load balancer.
Upon repeated redirection to a particular instance and particular server node(https://<hostname>:<port>/irj/portal;sapj2ee_irj= XXX) from the trace files, I could get the following information :-
#0019BBEB9F4C00190000409700001707000478F21B0BBACE#1258881142025#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#2449#32347##n/a##245825a0d74711de92700019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application . The causing exception is nested.
[EXCEPTION]
#2#sap.com/pb/PageBuilder#java.lang.NullPointerException
#1.5_#0019BBEB9F4C00190000409800001707000478F21B0BD29A#1258881142031#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#2449#32347##n/a##245825a0d74711de92700019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_12##0#0#Error##Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: java.lang.NullPointerException
#1.5_#0019BBEB9F4C00190000409A00001707000478F21B0C5FDE#1258881142068#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#2449#32347##n/a##245825a0d74711de92700019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/Server/WebRequests#Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [0019BBEB9F4C00190000409800001707000478F21B0BD29A]#
#1.5_#0019BBEB9F4C00310000372500001707000478F21D348764#1258881178254#com.sap.security.core.server.destinations.service.DestinationServiceImpl#sap.com/tcwddispwda#com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#/System/Security/destinations#Java###An error occurred while reading the destination , type . The error was .#3#sap_inbox$WebFlowConnector#RFC#<Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='No such destination sap_inbox$WebFlowConnector of type RFC exists ', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key No such destination sap_inbox$WebFlowConnector of type RFC exists #
#1.5_#0019BBEB9F4C00310000372600001707000478F21D34893F#1258881178255#System.err#sap.com/tcwddispwda#System.err#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Plain###java.lang.Exception: Problem occured while creating JCO client for destination: sap_inbox#
#1.5_#0019BBEB9F4C00310000372700001707000478F21D34A80D#1258881178262#System.err#sap.com/tcwddispwda#System.err#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Plain### at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.createJCOClient(R3SystemInfo.java:67)#
#1.5_#0019BBEB9F4C00310000372800001707000478F21D34A887#1258881178263#System.err#sap.com/tcwddispwda#System.err#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Plain### at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.hasFunctionModule(R3SystemInfo.java:591)#
Kindly advise as to what could be the issue..Hi, either the problem should come always for us to be able to trouble shoot it or should not come at all.
Now since it comes sometimes, i feel that you surely are using more than one app. servers in your enviroment and some of them are not fine.
I received this error when i accidently had deleted my sso ticket pairs in the visual admin.
First troubleshoot by login to individual app servers where the issue is coming. after that check the certificate-cert key pair in keystore admin. you can also delete them and make new ticket pairs..
If this does not help, replace your login page with the standard sap login page par com.sap.portal.runtime.logon.par.
This should certainly troubleshoot u
cheers,
Ankur -
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. -
RWB Message monitiring error :java.lang.NullPointerException
Hi experts,
We have moved our developement system to new hardware with clustering. gdc-vsap-m11 holds ASCS, CI and SCS but database id on gdc-vsap-m10. On exchange profiles and all the connection for integration server, integration repository, integration directory, adapter engine and RWB is set gc-vsap-m11 and on sxmb_adm and sld for intergration server is set to gdc-vsap-m11.
Now when accessing integration directory and integration repository on the http://gdc-vsap-m11.no.enterdir.com:50800/rep/start/index.jsp is opening perfectly. But on RWB, the message monitoring I get the error java.lang.NullPointerException. At component monitoring I get this:
Domain ??? (domain.08.gdc-vsap-m10)
Integration Server
Integration Engines
Non-Central Adapter Engines
Adapter Engine XD8 (gdc-vsap-m10)
J2SE Adapter
Tools
Nothing is displayed under integration server and integration engine. Please guide.
Thanks.
Regards,
ThavaHi,
I have added parameter com.sap.aii.connect.integrationserver.sld.name and given value as is.08.gdc-vsap-m11 yet the same error. Nothing is populated under integration server in component monitoring.
on rwb the same error persists :
java.lang.NullPointerException
at com.sap.aii.mdt.web.MonitorDynPage.setNewComponent(MonitorDynPage.java:531)
at com.sap.aii.mdt.web.MonitorDynPage.process_go_button(MonitorDynPage.java:391)
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:331)
at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:173)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:119)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:22)
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)
Wait...
Query being processed
Please help.
Thanks.
Thava -
Error: java.lang.NullPointerException in servlet deployment
Hi!!!
Im trying to deploy a servlet created in Jdeveloper on OC4J, but got the Error: java.lang.NullPointerException when the Jdeveloper is deploying the servlet.
The containers are running, so I don't know what is the problem....
ThanksIf you could give a little more info it would help. The web.xml for example, if your mapping it correctly, etc...
-
JDBC Adapter - Error - java.lang.NullPointerException
HI
I am working on a JDBC to IDOC Scenario in PI 7.1 version, and configured the JDBC channel, However when I activated I do see the following error on the LOG on NWA
Message: Stopped unexpectedly - reconfigure and activate to continue processing. Error: java.lang.NullPointerException
Date: 2010-03-04
Time: 10:14:50:113
Category: /Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC
Location: com.sap.aii.adapter.jdbc.JDBC2XI.invoke()
Application:
Thread: XI JDBC2XI[JDBCSender/MCM_XBOX_BS_DEV/*]_2153
Data Source: j2ee\cluster\server1\log\applications_01.log
Correlator ID: 17089510001881001
Argument Objects:
Arguments:
DSR Component: nent20_CWX_1708951
DSR Transaction: 3fb11ea7266c11df9a91001e0bc80f6a
DSR User:
Message Code:
Session: 11604
Transaction:
User: J2EE_GUEST
Host: nent29
System: CXW
Instance: DVEBMGS00
Node: server1
Can anyone give idea how to resolve this issue
Thanks
PR
Edited by: PR on Mar 4, 2010 1:23 PM
Edited by: PR on Mar 4, 2010 1:23 PM
Edited by: PR on Mar 4, 2010 1:23 PMError: java.lang.NullPointerException
this error usually comes when you have used the wrong connection parameters in the adapter.
confirm the parameters once again -
Getting error java.lang.NullPointerException while selection LOV
I am getting error java.lang.NullPointerException while selecting LOV. Please help
SEVERE: Server Exception during PPR, #1
javax.servlet.ServletException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NullPointerException
at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:129)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:530)
at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:429)
at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.decodeSelectedRowKeys(TableRendererUtils.java:470)
at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.decodeIncompatiblePropertyKey(BaseTableRenderer.java:208)
at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:203)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
at org.apache.myfaces.trinidad.component.UIXTable.decode(UIXTable.java:136)
at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:193)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
at oracle.adf.view.rich.component.UIXPopup.processDecodes(UIXPopup.java:60)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
at oracle.adf.view.rich.component.UIXInputPopup.processDecodes(UIXInputPopup.java:137)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 29 moreDuplicate: Re: Get null pointer exception while selecting LOV for a parameter form object
-
I�m trying to use a bean as return type from a web service method, but I get an error:
deserialization error: java.lang.NullPointerException
this is the class consuming the web service
package local.jws;
import local.jws.remote.TestBeanIF;
import local.jws.remote.TestBean;
import java.io.*;
import java.net.URL;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceException;
import javax.xml.rpc.ServiceFactory;
import javax.xml.namespace.QName;
public class Client implements java.io.Serializable
private TestBean tb;
private String somestring;
public Client()
try
String wsURL = "http://localhost:8080/webservice/testbean?WSDL";
String nameSpaceURI = "http://local.jws/wsdl/MyTestBean";
String portName = "TestBeanIFPort";
String serviceName = "MyTestBean";
URL serviceURL = new URL( wsURL );
ServiceFactory serviceFactory = ServiceFactory.newInstance();
QName qServiceName = new QName( nameSpaceURI, serviceName );
Service ws = serviceFactory.createService( serviceURL, qServiceName );
QName qPortName = new QName( nameSpaceURI, portName );
TestBeanIF myTestBeanIF = (TestBeanIF)ws.getPort( qPortName, local.jws.remote.TestBeanIF.class );
somestring = myTestBeanIF.getString();
tb = myTestBeanIF.getTestBean( "hello bean" );
catch( Exception ex )
public TestBean getTb()
return this.tb;
public void setTb( TestBean tb )
this.tb = tb;
public String getSomestring()
return this.somestring;
public void setSomestring( String value )
this.somestring = value;
this is the bean:
package local.jws.beans;
public class TestBean implements java.io.Serializable
private String test;
public TestBean(){ }
public String getTest()
return test;
public void setTest( String value )
this.test = value;
this is the interface implementation:
package local.jws;
import local.jws.beans.TestBean;
public class TestBeanImpl implements TestBeanIF
public TestBean getTestBean( String value )
TestBean tb = new TestBean();
tb.setTest( value );
return tb;
public String getString()
return "some string";
using the getString() method works fine but getTestBean() doesn�t;
any clue on this?
thanksHi,
I'm experiencing exactly the same problem as you ...
The only fix I found is to use static invocation ... with static invocation, WSCompile generates a deserializer and everything works fine, no mure NullPointer exception ...
With dynamic invocation as you are trying to manage here, I didn't find any way to tell the client to use the deserializer generated with wscompile ...
Does anyone know how to do it ?
Thanks,
Olivier -
500 Internal Server Error java.lang.NullPointerException
500 Internal Server Error
java.lang.NullPointerException at com.idealake.RBI.struts.login.LoginAction.execute(LoginAction.java:72) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) 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)
Thanks in advance
RobinThe method execute, in class LoginAction, in package com.idealake.RBI.struts.login, on line 72 of the corresponding .java file attempted to use null reference/pointer/value. Which is exactly what the error message you printed tells you. More, we also cannot say, until provided with much more information.
-
500 Internal Server Error (java.lang.NullPointerException) - email config
I have installed collaboration suite on xp.
The install has completed and I am in the process of setting up oracle email.
Part of the email configuration says that I must stop the sendmail services and start the email listener.
Then I should change the settings in the 'Unified Messaging Inbound SMTP'
My problem is when I try and do this at the stage where I select 'Change Settings' I get the error message
500 internal server error
java.lang.NullPointerException
I am not sure how to stop the sendmail services on xp?
Has anyone seen this before and if so help?I didn't think XP/2000/NT had sendmail installed, so there shouldn't be anything to shutdown.
I'm afraid I don't have any suggestions regarding your NullPointerException, though. -
using flex sdk 4.6, and air sdk 15.0.0.356
we get the following error when using compc in our ant build:
[java] Internal error: java.lang.NullPointerException: can't not add null to SWF frame
[java] at com.adobe.flash.swf.SWFFrame.addTag(SWFFrame.java:77)
[java] at com.adobe.flash.compiler.internal.units.requests.SWFTagsRequestResult.addToFrame(SWFTagsR equestResult.java:114)
[java] at com.adobe.flash.compiler.internal.targets.SWFTarget.addCompilationUnitsAndDependenciesToF rame(SWFTarget.java:398)
[java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrame(SWFTarg et.java:838)
[java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrames(SWFTar get.java:875)
[java] at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.java:243)
[java] at com.adobe.flash.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:348)
[java] at com.adobe.flash.compiler.internal.targets.SWCTarget.build(SWCTarget.java:128)
[java] at com.adobe.flash.compiler.clients.COMPC.buildArtifact(COMPC.java:144)
[java] at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:541)
[java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
[java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:184)
[java] at com.adobe.flash.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
[java] at com.adobe.flash.compiler.clients.COMPC.main(COMPC.java:62)
which seems to be rather vague, and offers no clue as to what caused the problem. so, my question is, what could cause this error?
these are the compiler options we use in the build file:
<java jar="${flex.compc.jar}" dir="." fork="true" failonerror="true">
<jvmarg value="-Xmx512m" />
<arg line="@{options} ${_compc.libpath} ${_compc.externspath} ${_compc.includespath}" />
<arg value="+flexlib=${flex.frameworks.dir}" />
<arg value="-load-config=@{config}" />
<arg value="-source-path=@{src.dir}" />
<arg value="-include-sources=@{src.dir}" />
<arg value="-output=@{dest}" />
<arg value="-swf-version=@{swf.version}"/>
<arg value="-debug=${flash.debug}"/>
<arg value="-advanced-telemetry"/>
</java>
assume that the properties resolve to correct values, since all projects (except one) call this task and compile successfully. the error must come from this one project that fails, but we don't know why.
any ideas?You could be running out of memory, try increasing the -Xmx512m value to -Xmx1024m or another value that you prefer
Maybe you are looking for
-
Moving an Application to a Networked Computer
Hi everyone, I hope you can help please! I'm running a program called 'the specialist' on an imac... and would like to run it on a power mac g4 which is part of the same network. The program was originally located under /User/shared - so I copied the
-
Create the database from Binary files
Hi Can anyone assist is possoble to build a database with binary files. I lost all the database files in the standby server, im not having installation files. Can I build the database by copying the binary files from different sever? if possible plea
-
Hi, I am installing Oracle Enterprise Manager 11g Grid Control Release 1 (11.1.0.1.0) New! for Microsoft Windows (32-bit) Can this be installed on a windows 2008R2 64 bit? The doc does say: Do NOT try to try install a 32-bit software on a 64-bit plat
-
SRM PO deletion is not happening in R/3
Dear Experts, we are working on SRM 5 & ECC 5.0 Once we create a PO in SRM portal same thing will get replicated in R/3. we are facing the problem in the below scenarion 1. Created the PO in SRM portal & same got repliacted in R/3 2. We did a GR for
-
Hello I downloaded adobe after effect CS6, but it is not installed and asks to install Adobe Support Advisor. I turn to the site and there wrote: "The Adobe Support Advisor tool was used to analyze installer log and system information associated with