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.

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

  • HT201317 Why is it when I get a new idevice and try to upload photos from iCloud onto my device there are always a large portion of photos missing?

    Why is it when I get a new idevice and try to upload photos from iCloud onto my device there are always a large portion of photos missing?

    Adding to fromsouth...  if you are restoring from a backup, then only photos in the camera roll are made available, not others.
    If you are using photo stream, then only photos that have been on the stream server in the past 30 days (and a max of 1000 of them) are downloaded.  All others have been deleted, since photo stream is not a storage service, but a syncing service that allows you to sync photos over a 30 day window.

  • Deleted items from Ipod Nano to make room for new. Emptied trash. Still getting error message when I try to copy items from ITunes to Ipod. What should I do now?

    Deleted items from Ipod Nano to make room for new. Emptied trash. Still getting error message when I try to copy items from ITunes to Ipod. What should I do now?

    If you delete songs (and other items) from the main iTunes library, yes, you need to empty the Trash because iTunes puts the song files into the Trash.  When deleting items from an iPod, the items are not being deleted from the main iTunes library, so nothing should end up in the Trash.
    Hopefully, you are not deleting items from your main iTunes library, just to sync those deletions from the iPod.  If you are, there is a better way.  You can post back if you want more info...

  • When I try to download software from the internet I only get a black screen and the software never downloads.

    When I try to download software from the internet I only get a black screen and nothing downloads.  I attempted mozilla firefox and software from a photobook site just to name a couple.

    How much free space on the startup disk?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you have a minimum of 15% free disk space.

  • I want to get the values from the second hiphen only

    Hey Guys,
    I have one column and the data like this
    col1 = 'AI463-901-001'
    Now,
    I want to get the values from the second hiphen only(any no. of values).
    Please can any one help me on this .
    Thanks in advance!
    Regards,
    -LK

    you have a mistake
    you result is -001
    this is right
      select substr('AI463-901-001',instr('AI463-901-001','-',1,2)+1) from dual;
      -- @user11928732 -  if you are using Oracle Database 11g, ttry this please
    with data as
      (select  'AI463-901-001'from dual)
      select substr(str,instr(str,'-',1,2)+1) from data;
      select substr(<YOUR COLUMN>,instr(<YOUR COLUMN>,'-',1,2)+1) from <YOUR TABLE>;result is : 001
    Edited by: Mahir M. Quluzade on May 3, 2011 5:37 PM

  • How to get a list of displayed columns from a UIX read only table

    I am using JDev 9.0.5.2 ADF UIX. Is there a way to get all the columns and/or column labels displayed in a UIX read only table? I would like to be able to do this in my DataForwardAction.

    Please don't post the same question multiple times.

  • 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 inner exception "dtd is prohibited in this xml document exchange" while reading emails from outlook

    Getting error "The response received from the service didn't contain valid XML." with inner exception "dtd is prohibited in this xml document exchange" while reading emails from outlook(Not while reading every mail).
    Can anybody please tell me what might be the issue. Below is the code where I am getting error
    FindItemsResults<Item> RetrievedItems=null ;
    RetrievedItems = service.FindItems(FIds, new ItemView(4));
    String[] SignatureList = ConfigurationManager.AppSettings.Get("SignatureTypes").Split(',');
    if (RetrievedItems != null && RetrievedItems.Count() > 0)
    RetrievedItems.ToList().ForEach(x =>
    try
    List<String> Attachments = new List<String>();
    List<String> ScanFileName = new List<String>();
    bool IsAvailable = true;
    //Getting error while Load() - below line of code
    ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).Load();
    Vo.EmailMessage msg = new Vo.EmailMessage();
    msg.MessageId = ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).Id.UniqueId;
    msg.From = ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).From.Address;
    ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).ToRecipients.ToList().ForEach(z => msg.To += z.Address + ",");
    ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).ReplyTo.ToList().ForEach(y => msg.ReplyToEmailAddress += y.Address + ",");
    msg.Subject = ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).Subject;
    msg.Body = ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).Body.Text;
    msg.Dated = ((Microsoft.Exchange.WebServices.Data.EmailMessage)x).DateTimeSent;
    Please help.

    Hi,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    Niko Cheng
    TechNet Community Support

  • I keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get it when I either try to open it from the Start menu or from the desktop icon.

    I've just installed Firefox on my laptop and keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get this message whenever I either try to open it from the Start menu or from the desktop icon. I've never gotten it to work and even uninstalled it and then redownloaded it and still cannot get it to open. Any help would be greatly appreciated!!!!

    Are you installing from the official site? http://www.mozilla.com/firefox
    If you use Windows Explorer (My Computer) to check that path, is the Mozilla Firefox folder there? That is the normal installation location, but I think it's worth checking.
    If the folder isn't there or firefox.exe is not in it, I wonder whether some other software might be interfering. You might want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

  • Get error message when I try to download pictures from my camera to Iphoto.

    Whenever I try to download photos from my digital camera to my Iphoto application in my Mac Book Pro laptop, I'm getting an error message that "startup disk is running low on space" and to delete some files before I try to download again. I also tried to install a recent software update to my computer and could not because it said that I did not have anough GB to do so. So... I'm thinking I need to delete some things. Which items take up the most hard drive space and which would be the best files to delete? I have all my info backed up on an external hard drive, so I could delete a lot of pictures. Thanks!

    The order of consumption is usually, video, pics, music, docs.
    If you have a great deal of photos on you internal drive and have them on an external storage drive, then you can delete them from your internal, that would free up space, same for videos, they are both space hogs. I regularly put my photos to an external drive, just keep my internal with as much free space on it. It runs faster and less stressful on the drive.
    If you are having these error messages then you most certainly need to get stuff off, overloading can kill a drive.
    As a general rule try to keep the internal below 50% for better performance.

  • Foxfire stays in back gro I get this script when I try to get back on Foxfire after closing it. Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart.

    This happens 95% of the time when I close Foxfire and then later try to get back on. I usually have to restart my computer before getting back on to Foxfire.

    Sounds like Firefox is "hanging at exit". That problem is frequently caused by an Extension or a Plugin. Read all of the following articles.<br /><br />
    #Stop the Firefox process:
    #*[http://kb.mozillazine.org/Kill_application Mozillazine - Kill application]
    #*Windows 7 users click [http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576 here]
    #*Mac users: http://techheavy.com/2011/02/the-mac-task-manager/
    #Why Firefox may hang:
    #*[http://support.mozilla.com/en-US/kb/Firefox+hangs Firefox hangs] (see Hang at exit)
    #*[http://kb.mozillazine.org/Firefox_hangs Firefox hangs (Mozillazine)] (see Hang at exit and Closing Firefox properly)
    #*[https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding Firefox is already running but is not responding]
    #Use Firefox Safe Mode to find a problem with an Extension or Plugin:
    #*Don't check anything when entering Safe Mode, just continue
    #*If the problem does not occur in Safe Mode it is probably and Extension or Plugin causing the problem
    #*See:
    #**[[Safe Mode]] and [http://kb.mozillazine.org/Safe_Mode Safe Mode (Mozillazine)]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    #**[http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How do i get the itunes on the computer acknowledge my ipod if it is stuck in disable mode

    how do I get iTunes to acknowledge my ipod wen its plugged into computer?? it is stuck in disabled mode so I cant acknowledge it threw my ipod.. what do I do??

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:           
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
      If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes

  • Expense reporting, get values from column and return only unique values somewhere else

    i would like check a column for the values it contains (expense categorizations) and then return a list of only the unique values somewhere else in a vertical list. So "gasoline" may be listed 12 times in the reference list but in my result listing i would expect it to only show up once. If there is a way to do this then I would also like to know how empty cells are handled.
    I will then be applying a SUMIF to the returned list to get totals for all the unique categorization a have specified.
    Thank you for your time.

    Deleting the first row made your $F$2 become $F$1.
    Explaining how a formula works is not so easy to do. I'll try, but the best way is to read up on the formulas and piece it all together.  There's nothing fancy or tricky going on here.
    The "active ingredient" in the formula is this piece: OFFSET('Table 1-2'::$F$1,SMALL('Table 1-2'::G,ROW()−1)−1,0)
    ROW() returns the row number of the cell that has the formula in it. It is an easy way to get an ever increasing number for the formula. The other way would be to have another column with 1,2,3,4, etc. in it.  So, ROW() will return the number 1 if the formula is in row 1, will return the number 2 in row 2, etc.
    SMALL(range, n) returns the nth smallest number from the given range of numbers.  So, for the formula  in row 2, SMALL('Table 1-2'::G, ROW()−1) becomes SMALL('Table 1-2'::G, 1) which will return the 1st smallest number from the G column of Table 1-2.  In the 3rd row it would return the 2nd smallest number. Etc.  And remember that those numbers it is returning are the row numbers of your unique values in Table 1-2.
    OFFSET(base, row offset, column offset) is a way of  referencing a cell.  For instance, OFFSET($F$1,1,0) would be one row down from cell F1. OFFSET($F$1,2,3) would be two rows down and three columns to the right of cell F1.  The SMALL formula has given you the row number for a unique value in your Table 1-2.  To reference the correct row, the row offset from F1 needs to be one less than that number (an offset of 0 = cell F1. An offset of 1 = cell F2, etc.). The column offset is zero.

Maybe you are looking for

  • Photo album from the iPhone to iPhoto in the Mac

    When i create a photo album in the Iphone and put pictures in it still from the iPhone, how can i transfer it to the mac: album with the pictures already in it so that it is not necessary to create the album again in the Mac? iPhone iOS 6 and latest

  • FileAdapter Write file with empty payload always error

    Hi All , I run on 10.1.3.3.1 with patch Patch 7375080 only esb not have bpel.I have to use webservice for verify data. and response with set of objects. I have 2 important questions about write file with FileAdapter. 1. I want to not create file if n

  • AE user event error

    Have an AE which has errors: Init - registers dynamic user events and Runs VI. Write - Attempts to generate user event to write data to VI which is running (Error 1) Close - Attempts to retrieve control value (safety cluster_out) from running VI and

  • Extracting the DML queries by LCR in Oracle and send them over to IBM MQ

    Hi, My question is mostly about the concept of LCR (logical change recortds in Oracle Streams) I want to extract any DML script which has been applied to one specific table, but i don't want to apply this DML anywhere , I just want to send it over by

  • HT4753 how do i disable the saving of past versions to save space?

    how do i disable the saving of past versions to save space? i realized that there have been many versions of the file and to save space, i wish to del or disable this function. anyway to do that? http://support.apple.com/kb/ht4753