Getting nullpointer Exception in Webdynpro application.

hi All,
I am getting one NullPointerException in the screen, .
This message is only coming only when the form is loading first time. So when i put the debugg statments to trace the error where it is coming, i come to know that it is coming before calling the init() method.
So when i click on the any of the button or firing the event in the screen,  , i am not getting that error in the screen. Can u please tell me anybody , what would be the problem.s
for your reference i have added that screen shot in the in the following path. Please look at the same. It is production. i am not able to find the problem, could any body help to find what is the problem.
My Home > Web Dynpro Java > Main > Attachments
file name is >  NullPointerException Easy.GIF
Is this error coming any of the life cycle methods creating internally by webdynpro framework.?
What is the lifecycle process of the webdynpro application.
Regards
Vijay

Hi Luciano ,
thanks for the reply
I have put the debugg statments also in the component contoller and custom controller init methods.
After that when i run the application it is  throwing the exception in the component controller inbetween init() and wdDoBeforeNavigation() methods.
For your reference i have attached screen shot in the following path. under wiki
My Home > Web Dynpro Java > Main > Attachments
Filename is >  NullPointerException Easy1.GIF
Acutally i was not able to provide the stract trace bcz , when i went the log files i am not finding any exception or error.
Regards
Vijay

Similar Messages

  • Getting nullpointer exception in Tomcap using getRealPath()

    Hi,
    I have the following code snippet, but getting nullpoint exception when I try to read a file in jsp.
    String realPath = this.getServletConfig().getServletContext().getRealPath("//AUDIT_TRAIL.xml");
    File fileDef = new File(realPath);
    Can someone tell me what I am doing wrong, or how i can read a file in jsp that works in tomcat 5

    why the double slash? / is not a special character ( b]backslash is, and so you would need \\)
    The file is sitting in the root of your web app?
    String realPath = this.getServletConfig().getServletContext().getRealPath("/AUDIT_TRAIL.xml");
    // and if it doesn't work, try this to see what it IS looking up
    String realPath1 = this.getServletConfig().getServletContext().getRealPath("/");
    System.out.println(realPath1);If you ware loading a file, you might consider using the getResourceAsStream() method.
    Cheers,
    evnafets

  • In GP i  am getting Nullpointer Exception

    i created on develpment component in web dynpro.
    In that one comp is created.
    //@@begin others
      private IGPExecutionContext executionContext;
      //@@end
    In that execute is not running.
    public void execute( com.sap.caf.eu.gp.co.api.IGPExecutionContext executionContext )
        //@@begin execute()
         this.executionContext = executionContext;
         IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
         GPWebDynproResourceAccessor resourceAccesor =new GPWebDynproResourceAccessor(textAccessor);
         try{
              //wdComponentAPI.getMessageManager().reportSuccess("Execute");
         catch(Exception er){}
        //@@end
    if call complete
    public void complete( )
        //@@begin complete()
         wdComponentAPI.getMessageManager().reportSuccess("Enter");
         try{
              <b>IGPStructure output = executionContext.getOutputStructure();</b>
         catch(Exception ex1){
              wdComponentAPI.getMessageManager().reportSuccess("exce in complete:"+ex1);
    in that bolded line i am getting nullpointer exception.
    Please slove the probelm

    Hi Satya,
    a) you are in the wrong forum
    b) you forgot to "bold" the relevant errornous line
    Regards Mario

  • Getting Editable Table in Webdynpro Applications

    Hi All,
    I am developing an ABAP webdynpro application where an employee can claim their medical claims through this application. In the application I need to add one Table with all the fields editable through which the usercan claim n number of claims at a time.
    I have already added 1 table with 10 columns each with Input Field attribute and also the read only flag is not ticked for them. But I am not getting the fields as editable.
    Please suggest me how we can get a table with all the rows editable.
    Regards,
    Pravesh.

    Hi,
    For getting the table in editable mode u need to first initialize the table.
    Following is the code for initializing the code.
      DATA lo_nd_cn_try TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_try TYPE REF TO if_wd_context_element.
      DATA ls_cn_try TYPE wd_this->element_cn_try.
      DATA ls_cn_try1 TYPE wd_this->elements_cn_try.
    navigate from <CONTEXT> to <CN_TRY> via lead selection
      lo_nd_cn_try = wd_context->get_child_node( name = wd_this->wdctx_cn_try ).
    do 5 times.
    clear ls_cn_try.
    append ls_cn_try to ls_cn_try1.
    lo_nd_cn_try->bind_table( ls_cn_try1 ).
    enddo.
    Here cn_try is the node which is binded with the table.
    For making more rows Editable run the above DO loop for more times.
    e.g. if u want 10 rows editable then run the loop for 10 times.
    Regards
    Pankaj Aggarwal

  • Getting Nullpointer Exception during paypal checkout in ATG 10.0.3

    Hi All,
    I have migrate my source form ATG9.4 to Atg 10.0.3. During checkout when I select paypal gateway for checkout I am getting NullPointerException. Same code is running successfully in ATG9.4 . Can anyone help me why I am getting this exception? I am attaching the log also.
    2013-02-08 03:09:09,171 INFO [nucleusNamespace.atg.commerce.order.purchase.PaymentGroupFormHandler] (ajp-172.18.0.126-10109-7) CMSPaymentGroupFormHandler.handleCheckoutWithPayPal.Profile Id (setExpressCheckoutRequest.getProfile().getRepositoryId()) --> 788240019
    2013-02-08 03:09:09,171 INFO [nucleusNamespace.atg.commerce.order.purchase.PaymentGroupFormHandler] (ajp-172.18.0.126-10109-7) CMSPaymentGroupFormHandler.handleCheckoutWithPayPal.Profile Id set in order (getOrder().getProfileId()) --> 788240019
    2013-02-08 03:09:09,172 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:Entering method.
    2013-02-08 03:09:09,172 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:there is no PayPal PG on the order. Creating a new one.
    2013-02-08 03:09:09,172 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:adding new PayPal PG to the order
    2013-02-08 03:09:09,482 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.setupPayPalPG:PayPal PG is setup as a remainder PG with amount: 13.95
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessorHelper] (ajp-172.18.0.126-10109-7) DEBUG CMSPayPalProcessorHelper.filterNVPForSetExpressCheckout.Start
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessorHelper] (ajp-172.18.0.126-10109-7) DEBUG CMSPayPalProcessorHelper.filterNVPForSetExpressCheckout.End
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.call:pNameValuePairs: {PAYMENTREQUEST_0_TAXAMT=0.00, CANCELURL=https://qa1.cms.com/cms/paypal/cancel, MAXAMT=16.74, PAYMENTREQUEST_0_SHIPTOZIP=96814, ADDROVERRIDE=1, PAYMENTREQUEST_0_ITEMAMT=8.0, PAYMENTREQUEST_0_SHIPTONAME=Chandra Mohan, L_PAYMENTREQUEST_0_QTY0=1, PAYMENTREQUEST_0_SHIPTOCITY=Honolulu, PAYMENTREQUEST_0_SHIPTOSTREET=700 Keeaumoku Street, EMAIL=null, PAYMENTREQUEST_0_AMT=13.95, PAYMENTREQUEST_0_SHIPTOSTATE=HI, L_PAYMENTREQUEST_0_NUMBER0=A389669863, PAYMENTREQUEST_0_SHIPTOSTREET2=, PAYMENTREQUEST_0_CURRENCYCODE=USD, ALLOWNOTE=0, useraction=continue, PAYMENTREQUEST_0_SHIPPINGAMT=5.95, PAYMENTREQUEST_0_PAYMENTACTION=Order, RETURNURL=https://qa1.cms.com/cms/paypal/continue, PAYMENTREQUEST_0_INVNUM=A389669863, L_PAYMENTREQUEST_0_AMT0=8.0, PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US, L_PAYMENTREQUEST_0_DESC0=cms.com Order #A389669863 (1 items), PAYMENTREQUEST_0_PAYMENTREQUESTID=A389669863, METHOD=SetExpressCheckout}
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.call:encodedString: PAYMENTREQUEST_0_TAXAMT=0.00&CANCELURL=https%3A%2F%2Fqa1.cms.com%2Fcms%2Fpaypal%2Fcancel&MAXAMT=16.74&PAYMENTREQUEST_0_SHIPTOZIP=96814&ADDROVERRIDE=1&PAYMENTREQUEST_0_ITEMAMT=8.0&PAYMENTREQUEST_0_SHIPTONAME=Chandra++Mohan&L_PAYMENTREQUEST_0_QTY0=1&PAYMENTREQUEST_0_SHIPTOCITY=Honolulu&PAYMENTREQUEST_0_SHIPTOSTREET=700+Keeaumoku+Street&PAYMENTREQUEST_0_AMT=13.95&PAYMENTREQUEST_0_SHIPTOSTATE=HI&L_PAYMENTREQUEST_0_NUMBER0=A389669863&PAYMENTREQUEST_0_SHIPTOSTREET2=&PAYMENTREQUEST_0_CURRENCYCODE=USD&ALLOWNOTE=0&useraction=continue&PAYMENTREQUEST_0_SHIPPINGAMT=5.95&PAYMENTREQUEST_0_PAYMENTACTION=Order&RETURNURL=https%3A%2F%2Fqa1.cms.com%2Fcms%2Fpaypal%2Fcontinue&PAYMENTREQUEST_0_INVNUM=A389669863&L_PAYMENTREQUEST_0_AMT0=8.0&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US&L_PAYMENTREQUEST_0_DESC0=cms.com+Order+%23A389669863+%281+items%29&PAYMENTREQUEST_0_PAYMENTREQUESTID=A389669863&METHOD=SetExpressCheckout&VERSION=63.0&USER=websup_1286901766_biz_api1.cms.com&PWD=472DXVG5JYQ79HY6&BUTTONSOURCE=SparkRed_ATG_EC_US&
    2013-02-08 03:09:09,500 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[cms].[jsp]] (ajp-172.18.0.126-10109-7) Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at com.sparkred.paypal.PayPalProcessor.call(PayPalProcessor.java:1390)
    at com.sparkred.paypal.PayPalProcessor.callSetExpressCheckout(PayPalProcessor.java:650)
    at com.cms.order.purchase.CMSPaymentGroupFormHandler.handleCheckoutWithPayPal(CMSPaymentGroupFormHandler.java:468)
    at com.cms.order.purchase.CMSPaymentGroupFormHandler.handleMoveToRewards(CMSPaymentGroupFormHandler.java:1600)
    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 atg.droplet.EventSender.sendEvent(EventSender.java:582)
    at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
    at atg.droplet.FormTag.sendEvents(FormTag.java:649)
    at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:396)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ShoppingContextServlet.service(ShoppingContextServlet.java:106)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ValidateNumericParamsServlet.validateNumberParameter(ValidateNumericParamsServlet.java:149)
    at com.cms.servlet.pipeline.ValidateNumericParamsServlet.service(ValidateNumericParamsServlet.java:102)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:305)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.NetscalerServlet.service(NetscalerServlet.java:101)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at com.cms.servlet.pipeline.ValidateParamsPipelineServlet.service(ValidateParamsPipelineServlet.java:60)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:348)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
    at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
    at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
    at atg.filter.dspjsp.PageFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
    at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    Thanks
    Chandra Mohan

    If you have its source code try to debug/find why NullPointerException is coming within PayPalProcessor.call() execution. Not sure if it is related to your issue but there is null value for email in the log where the name-value pairs being dumped.
    2013-02-08 03:09:09,498 INFO [nucleusNamespace.sparkred.paypal.PayPalProcessor] (ajp-172.18.0.126-10109-7) DEBUG PayPalProcessor.call:pNameValuePairs: {PAYMENTREQUEST_0_TAXAMT=0.00, CANCELURL=https://qa1.cms.com/cms/paypal/cancel, MAXAMT=16.74, PAYMENTREQUEST_0_SHIPTOZIP=96814, ADDROVERRIDE=1, PAYMENTREQUEST_0_ITEMAMT=8.0, PAYMENTREQUEST_0_SHIPTONAME=Chandra Mohan, L_PAYMENTREQUEST_0_QTY0=1, PAYMENTREQUEST_0_SHIPTOCITY=Honolulu, PAYMENTREQUEST_0_SHIPTOSTREET=700 Keeaumoku Street, *EMAIL=null*, PAYMENTREQUEST_0_AMT=13.95, PAYMENTREQUEST_0_SHIPTOSTATE=HI, L_PAYMENTREQUEST_0_NUMBER0=A389669863, PAYMENTREQUEST_0_SHIPTOSTREET2=, PAYMENTREQUEST_0_CURRENCYCODE=USD, ALLOWNOTE=0, useraction=continue, PAYMENTREQUEST_0_SHIPPINGAMT=5.95, PAYMENTREQUEST_0_PAYMENTACTION=Order, RETURNURL=https://qa1.cms.com/cms/paypal/continue, PAYMENTREQUEST_0_INVNUM=A389669863, L_PAYMENTREQUEST_0_AMT0=8.0, PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US, L_PAYMENTREQUEST_0_DESC0=cms.com Order #A389669863 (1 items), PAYMENTREQUEST_0_PAYMENTREQUESTID=A389669863, METHOD=SetExpressCheckout}
    You may check if it is related to the NPE by cross verifying it with the environment where it is working fine.

  • Getting error while deploying WebDynpro Application.

    Hi, There
    After creating an application for a WebDynpro project, when I execute the project (Deploy New Archive and Run) the application I am receiving then following error message.
    "This file does not have a program associated with it for performing this action. Create an association in folder options in control panel."
    This message is reflacted for the following file.
    "http://......../localhost/prjHello/AppHello?SAPtestId=5"
    I am not getting what is the file type of AppHello.xxx file and which file type I have to associate with which program in control panel.
    Please give me some idea on which file type I have to associate with which program?

    Hi Vikranth,
    After creating an application for a WebDynpro project, when I execute the project (Deploy New Archive and Run) the application I am receiving then following error message.
    "This file does not have a program associated with it for performing this action. Create an association in folder options in control panel."
    I think previously u faced the same problem.
    Please provide me solution.
    Regards
    Ravi

  • Getting NullPointer Exception while using  setNamedWhereClauseParam()

    Hi,
    I am using VO to execute an advance search query, for this i am first formatting the where and then setting the bind variable values programmatically.
    ViewObjectImpl myVO = //some code to get VO instance.
    myVO.setWhereClauseParams(null);
    myVO.setWhereClause(null);
    myVO.setWhereClause(whereClause); // some code to format where clase value based on value coming from user advance search form
    if (whereClause.contains(":pFullName")){
    myVO.defineNamedWhereClauseParam("pFullName", null, null);
    myVO.setNamedWhereClauseParam("pFullName",profileSearchHeaderRow.getAttribute("FullName")+"%");
    if (whereClause.contains(":JobName") ){
    myVO.defineNamedWhereClauseParam("JobName", null, null);
    myVO.setNamedWhereClauseParam("JobName",profileSearchHeaderRow.getAttribute("JobName"));
    if (whereClause.contains(":pJobName")){
    myVO.defineNamedWhereClauseParam("pJobName", null, null);
    myVO.setNamedWhereClauseParam("pJobName",profileSearchHeaderRow.getAttribute("JobName"));
    myVO.executeQuery();
    It is working fine for first time when i am giving only field A and B value next time if i will give only field A value in advance search i m getting below error,
    Earlier i was not using setNamedWhereClauseParam function i adding the field value while formatting the where clause that time it was working fine only problem was SQL Injection failing so i m trying with bind variable but its failing when changing the search criteria.
    Please let me know if i am missing anything in the code,
    <DCIteratorBinding> <releaseDataInternal> [167512] Releasing iterator binding:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [167513] Releasing iterator binding:variableIterator
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #14
    java.io.IOException: java.lang.NullPointerException
         at oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer.encodeAll(PageCustomizableRenderer.java:764)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:769)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1140)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:348)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:313)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:69)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:155)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1299)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:64)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:40)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:109)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.generalsettings.model.filter.GeneralSettingsLocaleFilter.doFilter(GeneralSettingsLocaleFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:653)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    I am already logging debug log on console using below settings,
    -Doracle.ecsf.crawl.factory=oracle.ecsf.data.RelationalCrawlerImpl -Doracle.ecsf.crawl.mode.debug=true -Doracle.ecsf.split.mode=simple -Doracle.ecsf.context= -Doracle.ecsf.security.service= -Djbo.debugoutput=console

  • Getting Nullpointer exception if i try to get value from messageChoicebean in read only/disabled mode

    Hi,
    I have standard notification page and there are three messagechoice components in that page. my requirement is to set default values for those three components and make read only/disable the components.
    I could be able to achieve this through controller extension, but in standard code some where it is trying to get the values from these three components as a result getting null pointer exception. how to make component values should be available in readonly/disabled mode to standard code.
    Regards,
    Satya.

    Hi Sandeep
    Thanks for the update.
    Page: /oracle/apps/fnd/wf/worklist/webui/NotifDetailsPG
    Following is the code used to set the messageChoice to set default value and make it disabled. when i submit the page using approve button, it is trying to get the value from disabled dropdown.
    It is returning null value. If we remove disable property then it is returning value. my requirement is to set the default value and disable the dropdown. pls let me know any alternative to do this.
    OAMessageChoiceBean oabuttonbean=(OAMessageChoiceBean)webBean.findChildRecursive("NRR0");
    oabuttonbean.setSelectionValue(pageContext,"PRORATE");
    oabuttonbean.setDisabled(true);
    Thanks,
    Satya.

  • NullPointer exception in request.getParameter().indexof(.....) only in 6.1

    Hi
    I have one full working application (containing WAR + JAR) files.
    Right now this application is working absolutely fine in weblogic 6.0 sp1 on
    WINNT & Solaris.
    In this application, we accept events to save data from external
    applications like excel files.
    Now code in JSP is -->
    Line 1: String Data = request.getParameter("data");
    Line 2: Data.indexof(........);
    Now in case of weblogic 6.1, i am getting NullPointer Exception in line 2,
    but I am NOT getting any exception in case of weblogic 6.0sp1.
    To my surprise, I am also printing request obj parameters values, whenever
    jsp get called from external source, there it is printing value of "data".
    I am totally clueless!!
    Any idea plz?
    Ashish Jain

    Looking very closely at request object contents..
    Wht i am sending (posting) from excel file-->
    xmlData=<?xml version="1.0" encoding="UTF-8"?><reportSheet bu="SHKXXX"
    report="PBrandContr" sheet=
    "PBrandContr" year="2002" coType="A" status="0" brId="PIC" act_brId="PIC"
    opt="P" ></reportSheet>
    But 6.1 interprets like this ---->
    key is --------> xmlData=<?xml version="1.0" encoding="UTF-8"?><reportSheet
    bu="SHKXXX" report="PBrandContr" sheet=
    "PBrandContr" year="2002" coType="A" status="0" brId="PIC" act_brId
    And Value is -------> "PIC" opt="P" ></reportSheet>
    This thing is causing all problems.
    I am not observing this kinda behaviour in 6.0sp1.
    Thanks
    Ashish Jain
    "Ashish Jain" <[email protected]> wrote in message
    news:[email protected]..
    Hi
    I have one full working application (containing WAR + JAR) files.
    Right now this application is working absolutely fine in weblogic 6.0 sp1on
    WINNT & Solaris.
    In this application, we accept events to save data from external
    applications like excel files.
    Now code in JSP is -->
    Line 1: String Data = request.getParameter("data");
    Line 2: Data.indexof(........);
    Now in case of weblogic 6.1, i am getting NullPointer Exception in line 2,
    but I am NOT getting any exception in case of weblogic 6.0sp1.
    To my surprise, I am also printing request obj parameters values,whenever
    jsp get called from external source, there it is printing value of "data".
    I am totally clueless!!
    Any idea plz?
    Ashish Jain

  • Get an exception, really dont know why?

    I get this exception in my application and I cant figur out why:
    java.lang.ArrayIndexOutOfBoundsException: 2
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(BasicTabbedPaneUI.java:535)
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:497)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(MetalTabbedPaneUI.java:666)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.update(MetalTabbedPaneUI.java:561)
    at javax.swing.JComponent.paintComponent(JComponent.java:541)
    at javax.swing.JComponent.paint(JComponent.java:808)
    at javax.swing.JComponent.paintChildren(JComponent.java:647)
    at javax.swing.JComponent.paint(JComponent.java:817)
    at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
    at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
    at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    Another guess:
    you say this happens during startup.
    As DrClap mentioned, this is not happening in your code, this is happening in Suns code, but nevertheless it can be your fault:
    my guess is you are doing lots of stuff during startup, but you are not doing this inside the AWT-Event-Thread, but in the Main Thread. you are already displaying your Panel/Dialog/Frame (see the Stacktrace) and while it is painting, you are adding stuff to your dialog. This is dangerous, since Swing is not threadsafe and funny things can happen (like yours)
    make sure to display your stuff at the end of all initialization.
    regards, sebastian

  • Cannot access WebDynpro application:com.sap.tc.webdynpro.services.exception

    Hello gurus!!
      I am trying to access the "Emergency address" from the LWE and I am getting this error "Cannot access Web Dynpro application: com.sap.tc.webdynpro.services.exceptions.WDException$DummyLocalizableTextFormatter@76829226". Could anybody please suggest what could be wrong with this action "Emergency Address"?
    Thanks much for your help with this,
    Maria Kutty Somori....

    Hi Yugandhar/Siddharth,
       Emergency address is the standard callable object for Execution that is part of the Standard Life and Work events. I have customized to reorganize the actions depending on our requirements and i have created a different folder structure and different order of execution of callable objects.
    How do I fix this "cannot access Webdynpro application" error? Please suggest.
    Thank you so much,
    Maria Kutty Somori.....

  • Exception while clicking button on UWL that launches WebDynpro Application

    Hi All,
    I am getting a portal runtime error while clicking on Button thatu2019s there in UWL. When user clicks on this button a webdynpro abap application should get launched. However we are getting exception. Button is added via UWL configuration file. Everything is working fine in Development system however this issue is there in QA system only.
    Here is the piece of code written in UWL configuration file.
    <ItemType name="uwl.task.webflow.TS00008267.MK1_500" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="MK1_500" externalType="TS00008267" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ZTE_EXP_DETAILS"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="WI_ID=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="WebDynproNamespace" value="SAP"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    Below are the details of portal exception.
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template '&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;'; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Exception.<init>(Exception.java:41)
         at java.lang.RuntimeException.<init>(RuntimeException.java:43)
         at com.sapportals.portal.prt.runtime.PortalRuntimeException.<init>(PortalRuntimeException.java:57)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:166)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:111)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         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:963)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:249)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:101)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Please guide how to resolve same.
    Regards,
    Madhvika
    Edited by: Madhvika Joshi on Apr 8, 2011 2:52 AM
    Edited by: Madhvika Joshi on Apr 8, 2011 2:52 AM
    Edited by: Madhvika Joshi on Apr 8, 2011 2:57 AM

    Here is the code for Config file
      <ItemType name="uwl.task.webflow.TS00008267.QT1_500" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="QT1_500" externalType="TS00008267" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ZTE_EXP_DETAILS"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="WI_ID=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="WebDynproNamespace" value="SAP"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>

  • Exception During Testing WebDynpro Application in Developer Studio

    Hi,
    I am trying to test webdynpro application in developer studio as they have mentioned in the url -<b>http://help.sap.com/saphelp_nw04/helpdata/en/c1/c6213e225f9a0be10000000a114084/frameset.htm</b>
    <b>1)</b>During Recording i am getting successful result as follows
    Application Url: http://pawanm:50100/webdynpro/dispatcher/sap.com/compositeapp~webdynpro/MyApplication
    Port: 12000
    The Server is ready to accept Xml files from the Web Dynpro Runtime on Port 12000
    -->Client Connected....
    XML file received from runtime
    The Server is closed and it will not accept any more Xml documents from the Web Dynpro Runtime.
    The script has been stored on the local file system.
    <b>2)</b>But when i am trying to reply the script generated by recording then i am getting
    following error in console
    ->Contacting XML Client on Server to get initial XML document.
    ERROR: Contacted the Xml client on the J2EE Server, but did not receive an Xml document from it.
    <b>And in log viewer i am getting following error</b>
    Date : 03/30/2007
    Time : 20:44:47:481
    Message : Cannot send an HTTP error response [500 Application error occurred during request processing. (details: java.lang.NullPointerException: null)].
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: The stream is closed.
    Exception id: [0014222FC3E20052000009490000077C00042CE65506EC3A]
    Severity : Error
    Category : /System/Server/WebRequests
    Location : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    Application : sap.com/tcwddispwda
    Thread : SAPEngine_Application_Thread[impl:3]_10
    Datasource : 17409750:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc
    Message ID : 0014222FC3E200520000094B0000077C00042CE65506EF1F
    Source Name : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    Argument Objs :
    Arguments :
    Dsr Component :
    Dsr Transaction :
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 0
    Relatives : /System/Server/WebRequests
    Resource Bundlename :
    Session : 0
    Source : com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl
    ThreadObject : SAPEngine_Application_Thread[impl:3]_10
    Transaction :
    User : Guest
    So anyony please help me by giving some guideline or send me some document or url from where i can get usefull document.
    And also please let me know that how to test CAF application by using some tool provided by SAP.  
    Thanks in Advance
    Pawan Mishra

    Hi Pawan
    Is your engine functioning properly.I mean go to http://localhost:port/index.html then chech out the webdynpro links and other links available on this page .I am suggesting this so that we can check if <b>sap.com/tcwddispwda</b>
    is working fine.Then we can look into the speacific application you are working on
    Reward suitable points

  • To get login details of portal into webdynpro application

    Hi All,
             How to get the portal login details(user name) into my webdynpro application.
    Thank you,
    Harsha P.

    Hi,
    If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
    Regards,
    Karri

  • How To Get GP Process Parameters in a Webdynpro Application runtime

    Hi ,
    Iu2019 ll hope you can help me to solve my problem with GP process.
    Iu2019 m trying to get GP process parameters from a Webdynpro application.
    I have to get parameters during the process runtime in every step of the process using
    a webdynpro application with the following code:
          IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
          try {
                IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
                IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
    userContext.getSAPUser());
                IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
                IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
          } catch (GPEngineException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPEngineException:"+getStackTrace(e), false);
          } catch (GPInvocationException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPInvocationException:"+getStackTrace(e), false);
    But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
    GP view of the portal, the values are those that I have set in the start process wizard.
    Have you a solution for this question?
    Thanks in advance
    Luca

    hi Abhimanyu
    I believe originally access to session was deliberately not made available inside WDA.
    Growing security concerns due to misuse of session information and
    perhaps other reasons as well.
    X.509  is considered a better approach.
    This may not help you in your problem.
    But you may see a trend in WDA pushing more robust and client independent
    approaches.
    Full x.509 access should remove the need for session fiddling.
    Also when developers access such session info directly, there is a possiblity
    when they dont understand the technology exactly that they create a security hole.
    You may know how to do safely, it is however discouraged.
    Im not aware of a way to get at the session info inside the WDA framework.
    Well not without a mod to the framework.
    It may be possible without a mod, but I dont know the trick.
    If someone has a little trick... please post.
    You may need to use BSP, if your only solution requires access to the session info.
    regards
    Phil

Maybe you are looking for