Getting error: java.lang.NullPointerException while submitting xml report

hi every one,
i am getting the below error when submitting the Xml report Request
XDO Data Engine Version No: 5.6.3
Resp: 21635
Org ID : 204
Request ID: 5878206
All Parameters: P_ORGANIZATION_ID=7907:P_DELIVERY_DATE_LOW=:P_DELIVERY_DATE_HIGH=:P_FREIGHT_CODE=:P_DELIVERY_ID=:P_TRIP_ID=:P_DELIVERY_LEG_ID=4497:P_ITEM_DISPLAY=D:P_ITEM_FLEX_CODE=MSTK:DebugFlag=N
Data Template Code: CUST_WSH
Data Template Application Short Name: WSH
Debug Flag: N
{P_DELIVERY_DATE_HIGH=, P_ORGANIZATION_ID=7907, P_TRIP_ID=, P_FREIGHT_CODE=, P_DELIVERY_DATE_LOW=, P_ITEM_FLEX_CODE=MSTK, P_ITEM_DISPLAY=D, P_DELIVERY_LEG_ID=4497, P_DELIVERY_ID=}
Calling XDO Data Engine...
java.lang.NullPointerException
     at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
     at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
     at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
     at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
Finished executing request completion options.
please help me out
Regards,
pavan

Above problem is solved.
but now i am facing one more problem
i intend to get output in pdf format
but i am getting in xml format
kindly help

Similar Messages

  • 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 more

    Duplicate: Re: Get null pointer exception while selecting LOV for a parameter form object

  • Getting Error "java.lang.StackOverflowError" while adding Strage library

    Hi
    I am getting following Error when trying to Add Static Storage Library
    java.lang.StackOverflowError
    Any Help please ...
    I am running Ops Center Verion 12c update 4 on Solaris 11
    Regards,
    Shahid

    Duplicate: Re: Get null pointer exception while selecting LOV for a parameter form object

  • "java.lang.NullPointerException" while assigning Organization

    Hi,
    Recently we have upgraded our IDM environment from version 7 to 7.1.1.6.
    After that we get the "java.lang.NullPointerException" while assigning an Organization during the creation of the user through from Idm Admin
    Interface.
    Is there any file i am missing ? has any one experienced the problem before?
    thx,
    Ttslsab

    Thanks Hareesh,
    ya that  "callsapadapter"  was the culprit. It comes by itself, Once I removed that PGP was working fine.

  • Java.lang.NullPointerException while using PGP module in SFTP receiver

    Hi Experts,
    We are trying out newly installed PGP module on SAP PI 711 SP10.
    Scenario     : SFTP to SFTP
    While we are trying to encrypt the message in the SFTP receiver, we get the following error.
    nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/com.sap.aii.af.app, BC-XI-CON-AFW) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.af.app.endpoint.ModuleProcessorExitBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.af.app.endpoint.ModuleProcessorExitBean@6437822b for bean sap.com/com.sap.aii.af.app*xml|com.sap.aii.af.ejb.jar*xml|ModuleProcessorExitBean in application sap.com/com.sap.aii.af.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageKey() of an object loaded from local variable 'msMessage'

    Thanks Hareesh,
    ya that  "callsapadapter"  was the culprit. It comes by itself, Once I removed that PGP was working fine.

  • 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
    Ramya

    Hi 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

  • File Module Generation: Error: java.lang.NullPointerException in RWB.

    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.
    Nilesh

    It 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.

  • 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,
    Addy

    Hi 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)

  • Java.lang.NullPointerException  while executing ODI package

    hi,
    while executing some of my packages in ODI 11g....
    i m getting the following error
    java.lang.NullPointerException
         at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatPopSourceSet(SnpGeneratorSQLCIT.java:7984)
         at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatJobPopCollectionBuild(SnpGeneratorSQLCIT.java:7771)
         at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.preComputePop(SnpGeneratorSQLCIT.java:7713)
         at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatJobPop(SnpGeneratorSQLCIT.java:7623)
         at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.treatPackageStep(SnpGeneratorSQLCIT.java:10636)
         at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.mainGenPackageSessionInternal(SnpGeneratorSQLCIT.java:3212)
         at com.sunopsis.dwg.codeinterpretor.SnpGeneratorSQLCIT.mainGenPackageSession(SnpGeneratorSQLCIT.java:3168)
         at com.sunopsis.graphical.dialog.SnpsDialogExecution.doPackageExecuter(SnpsDialogExecution.java:936)
         at oracle.odi.ui.action.SnpsPopupActionExecuteHandler.actionPerformed(SnpsPopupActionExecuteHandler.java:68)
         at oracle.odi.ui.SnpsFcpActionAdapter.handleEvent(SnpsFcpActionAdapter.java:252)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    plz help me out....

    Hi,
    At what step of the package ur getting this error?
    ODI throughs this err, when
    e.g.,Suppose you are refreshing a variable with the select query and that select query has no data found in that case u can get the null pointer exception(one of the case).
    variable: p_refresh and in the refresh query is something like
    select 1 from dual where 1=2;
    When the above refresh query quites it through the null pointer exception.

  • JAX-RPC + Bean = deserialization error: java.lang.NullPointerException

    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?
    thanks

    Hi,
    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: 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

  • Can anyone tell me why i'm getting this: java.lang.NullPointerException

    Please lend me your expertise.I hava a feeling its got something to
    do with the session.When I run the servlet I get this error:
    java.lang.NullPointerException
         at ConnectionPerClient.doGet(connectionperclient.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:484)
    Here is my code:
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    class ConnectionHolder implements HttpSessionBindingListener
    private Connection con = null;
    public ConnectionHolder(Connection con)
    this.con = con;
    try
    con.setAutoCommit(false);
    catch(SQLException e)
    public Connection getConnection()
    return con;
    public void valueBound(HttpSessionBindingEvent event)
    public void valueUnbound(HttpSessionBindingEvent event)
    try
    if(con!=null)
    con.rollback();
    con.close();
    catch(SQLException e)
    public class ConnectionPerClient extends HttpServlet
    public void init(ServletConfig config)throws ServletException
    super.init(config);
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException e)
    public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException
    res.setContentType("text/plain");
    PrintWriter out = res.getWriter();
    HttpSession session = req.getSession(true);
    ConnectionHolder holder = (ConnectionHolder) session.getAttribute("servletapp.connection");
    if(holder == null)
    try
    holder = new ConnectionHolder(DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:macha","username","password"));
    session.setAttribute("servletapp.connection",holder);
    catch(SQLException e)
    Connection con = holder.getConnection();
    try
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM david.Emp");
    //Print start of table and column headers
    out.println("<TABLE CELLSPACING=\"0\" CELLPADDING=\"3\" BORDER=\"1\">");
    out.println("<TR><TH>EMPNO</TH><TH>ENAME</TH><TH>JOB</TH><TH>SAL</TH></TR>");
    //Loop through results of query.
    while(rs.next())
    out.println("<TR>");
    out.println(" <TD>" + rs.getString("EMPNO") + "</TD>");
    out.println(" <TD>" + rs.getString("ENAME") + "</TD>");
         out.println(" <TD>" + rs.getString("JOB") + "</TD>");
    out.println(" <TD>" + rs.getString("SAL") + "</TD>");
    out.println("</TR>");
    out.println("</TABLE>");
    catch(SQLException e)
    out.println("SQLException: " + e.getMessage() + "<BR>");
    while((e = e.getNextException()) != null)
    out.println(e.getMessage() + "<BR>");
    finally
    //Clean up resources, close the connection.
    if(con != null)
    try
    con.close();
    catch (Exception ignored) {}

    Take this code:
    ConnectionHolder holder = (ConnectionHolder) session.getAttribute("servletapp.connection");
    if(holder == null)
    try
    holder = new ConnectionHolder(DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:macha","username","password"));
    session.setAttribute("servletapp.connection",holder);
    catch(SQLException e)
    }and change it to:
    ConnectionHolder holder = (ConnectionHolder) session.getAttribute("servletapp.connection");
    if(holder == null)
    try
    holder = new ConnectionHolder(DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:macha","username","password"));
    session.setAttribute("servletapp.connection",holder);
    catch(SQLException e)
        e.printStackTrace(); // THIS IS THE LINE TO ADD IN

  • Java.lang.NullPointerException at oracle.xml.xsql.XSQLHttpUtil.HttpRequestAsXMLDocume

    Hello Everyone,
    I get the following error in the <request> element of my XML result from any XSQL page. This always occurs when the page is linked from a JSP page using a simple hyperlink, accessed with <jsp:forward> or accessed with <jsp:include>. This occurs both when I include a request parameter and when I don't.
    If I access the XSQL page directly through its URL in my browser or as a link from a regular HTML page this does not occur.
    However, once I link or include to the XSQL page and get the error I continue to get it until I stop and restart the server.
    Oracle XDK Java 9.2.0.2.0 Production
    Development Environment: WebSphere Studio Application Developer 4.02
    OS: NT 4.0 SP6
    Even this simple Hello World! example produces the error when linked from a JSP page:
    <?xml version="1.0"?>
    <page connection="ghms" xmlns:xsql="urn:oracle-xsql">
         <xsql:include-request-params/>
    <xsql:query>
              SELECT 'Helo World!' AS text
              FROM DUAL
    </xsql:query>
    </page>
    Error:
    <request>java.lang.NullPointerException
         at oracle.xml.xsql.XSQLHttpUtil.HttpRequestAsXMLDocument(XSQLHttpUtil.java:116)
         at oracle.xml.xsql.XSQLServletPageRequest.getRequestParamsAsXMLDocument(XSQLServletPageRequest.java:382)
         at oracle.xml.xsql.actions.XSQLIncludeRequestHandler.handleAction(XSQLIncludeRequestHandler.java:39)
         at oracle.xml.xsql.XSQLDocHandler.getDocument(XSQLDocHandler.java:149)
         at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:140)
         at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:60)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
         at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
         at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
         at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
         at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
         at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
         at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
         at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
         at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
         at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
         at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
         at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
         at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
    </request>

    Please refer to Oracle bug 3973353 in Metalink. The solution is as following:
    - extract BC4JRequestProcessor.java from \BC4J\src\bc4jstrutssrc.zip
    - copy BC4JRequestProcessor.java to ...\project\src\oracle\jbo\html\struts11\BC4JRequestProcessor.java
    - comment the following lines (lines 347 to 351):
    // Overide only if the action mapping is a BC4JActionMapping.
    // ActionMapping mapping = (ActionMapping)
    // request.getAttribute(Globals.MAPPING_KEY);
    // if (! (mapping instanceof BC4JActionMapping) )
    // return super.processMultipart(request);
    Regards,
    Rayyen

  • Urgent :-Need Help in DOtnet Dll integration with CFM 8. for error "java.lang.NullPointerException"

    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)

  • 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,
    Thava

    Hi,
    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

Maybe you are looking for

  • Oracle 9.2.0.1 Expert cannot collect statistics ( WindowsXP)

    I have Oracle 9.2.0.1 and OEM with Diag and Tuning Pack WindowsXP SP1 When I try to collect statistics using Oracle Xpert I get XP-21161: Database connection attempt has failed ORA-28009: connection to sys should be as sysdba or sysoper Cause: Expert

  • Store photo in original size

    Everytime I sync photos from iTunes to iPhone 3Gs 32Gb, all the photos are magically "Optimized" to a lower quality. Is there anyway to disable this optimization? I want to zoom my photos in great details, but photos become blurred after being optimi

  • CS6, Adobe ID, and Site License

    I searched everywhere for the answer but nobody seemed to have a solution. We just downloaded CS6 Master Collection and getting the instructions together. It looks like you need to now put a Adobe ID in for part of the activation process. We have a s

  • Record audio MP3 Format

    Hi, How can we record audio in Flash Media server as MP3 format is it possible ? Raj

  • Prerequisites and requirements for a change of Fiscal Year in BW?

    Hello: We are planning for a change in Fiscal year. Our current Fiscal year starts from Apr 2010 - Mar 2011. But the change will be or should be done in Feb 2011 which means the new Fiscal year will start in Feb 2011. What are the implications for th