RaiseBundledException does not raise exception??

Hi all,
I am validating an entities attributes and collect the exceptions in a list and finally throw an exception with
if(!getExceptionList().isEmpty())
OAException.raiseBundledOAException(getExceptionList());
the exception list is not empty but somehow it does not show an exception!
I don't have much time and if you have any idea any response will be appreciated.

Hi Ramkumar,
this is what I did in order to make attribute validation,
public static void DMOvalidateFields(OAPageContext oapagecontext,OAWebBean oawebbean,BidItemsVORow biditemsvorow,ResponseAM responseam)
BidItemPricesEOExImpl biditempriceseoimpl = (BidItemPricesEOExImpl)((BidItemsVORowImpl)biditemsvorow).getEntity(0);
biditempriceseoimpl.DMOvalidateFields();
if(!responseam.getExceptionList().isEmpty())
                    List x = responseam.getExceptionList();
                    System.out.println(x);
responseam.raiseBundledExceptions();
return;
and this the log :
[oracle.apps.fnd.framework.OAAttrValException: Application: PON, Message Name: PON_AUC_HDR_ATTR_REQ_B. Tokens: ATTRIBUTENAME = DMO Teknik şartnamesini tüm koşul ve şartlarıyla kabul ettiğimi taahüt ederim;  (Could not lookup message because there is no database connection)]

Similar Messages

  • How to handle "The specified resource does not exist" exception while using entity group transactions to purge WADLogs table

    Hi,
    We have a requirement to purge the Azure WADLogs table on a periodic basis. We are achieving this by using Entity group transactions to delete the
    records older than 15 days. The logic is like this.
    bool recordDoesNotExistExceptionOccured = false;
    CloudTable wadLogsTable = tableClient.GetTableReference(WADLogsTableName);
    partitionKey = "0" + DateTime.UtcNow.AddDays(noOfDays).Ticks;
    TableQuery<WadLogsEntity> buildQuery = new TableQuery<WadLogsEntity>().Where(
    TableQuery.GenerateFilterCondition("PartitionKey",
    QueryComparisons.LessThanOrEqual, partitionKey));
    while (!recordDoesNotExistExceptionOccured)
    IEnumerable<WadLogsEntity> result = wadLogsTable.ExecuteQuery(buildQuery).Take(1000);
    //// Batch entity delete.
    if (result != null && result.Count() > 0)
    Dictionary<string, TableBatchOperation> batches = new Dictionary<string, TableBatchOperation>();
    foreach (var entity in result)
    TableOperation tableOperation = TableOperation.Delete(entity);
    if (!batches.ContainsKey(entity.PartitionKey))
    batches.Add(entity.PartitionKey, new TableBatchOperation());
    // A Batch Operation allows a maximum 100 entities in the batch which must share the same PartitionKey.
    if (batches[entity.PartitionKey].Count < 100)
    batches[entity.PartitionKey].Add(tableOperation);
    // Execute batches.
    foreach (var batch in batches.Values)
    try
    await wadLogsTable.ExecuteBatchAsync(batch);
    catch (Exception exception)
    // Log exception here.
    // Set flag.
    if (exception.Message.Contains(ResourceDoesNotExist))
    recordDoesNotExistExceptionOccured = true;
    break;
    else
    break;
    My questions are:
    Is this an efficient way to purge the WADLogs table? If not, what can make this better?
    Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
    Would this logic fail in any particular case?
    How would this approach change if this code is in a worker which has multiple instances deployed?
    I have come up with this code by referencing the solution given
    here by Keith Murray.

    Hi Nikhil,
    Thanks for your posting!
    I tested your and Keith's code on my side, every thing worked fine. And when result is null or "result.count()<0", the While() loop is break. I found you code had some logic to handle the error "ResourceDoesNotExist" .
    It seems that the code worked fine. If you always occurred this error, I suggest you could debug your code and find which line of code throw the exception.   
    >> Is this an efficient way to purge the WADLogs table? If not, what can make this better?
    Base on my experience, we could use code (like the above logic code) and using the third party tool to delete the entities manually. In my opinion, I think the code is every efficient, it could be auto-run and save our workload.
     >>Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
    In you code, you used the "recordDoesNotExistExceptionOccured " as a flag to check whether the entity is null. It is a good choice. I had tried to deleted the log table entities, but I used the flag to check the result number.
    For example, I planed the query result count is 100, if the number is lower than 100, I will set the flag as false, and break the while loop. 
    >>Would this logic fail in any particular case?
    I think it shouldn't fail. But if the result is "0", your while loop will always run. It will never stop. I think you could add "recordDoesNotExistExceptionOccured
    = true;" into your "else" block.
    >>How would this approach change if this code is in a worker which has multiple instances deployed?
    You don't change anything expect the "else" block. It would work fine on the worker role.
    If any question about this issue, please let me know free.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT1430 my iphone does not charge except it is turn off

    My iphone does not charge except i turn it off

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    Please be more specific about "it wont connect back to the computer" so that appropriate troubleshooting steps can be provided.

  • "Document  does not exist" exception when updating a Purchase Order, Agentry

    Hello Gurus,
    I updated a PO in SAP by calling the Bapi. It displays the error:
    com.syclo.sap.mm.steplet.POUpdateSteplet::throwExceptionToClient::1513::POUpdateSteplet - Document  does not exist |
    I checked on SAP and found the PO there. And in the log file, the PONumber, Company code are sent to the server. Then  why It throws the above exception.
    I spent a day but cannot find out what happen to the PO. Please help me. Thank you very much.
    Edit: Even though I hard coded the PO Number, it still display the error.
    JCO.Structure header = _imports.getStructure("IS_POHEADER");
      String poNumber = user.getString("transaction.PONumber");
      setValue(header, log, "PO_NUMBER", poNumber);
      String companyCode = user.getString("transaction.CompanyCode");
      setValue(header, log, "COMP_CODE", companyCode);
      String purchaseOrg = user.getString("transaction.PurchaseOrganization");
    JCO.Structure headerX = _imports.getStructure("IS_POHEADERX");
    setValue(headerX, log, "PO_NUMBER", poNumber);
    setValue(headerX, log, "COMP_CODE", "X");

    Jason,
    I checked the SAP error log and found the issue in the log. I am not sure if it is the cause of "Document doesnt exists. Please help me figure it out. Thank you very much.

  • Java Does Not Throw Exception When Writing To Read-Only Files

    I have noticed that when I try to write to a read-only file in a window environment, Java does not throw an IOExcpetion, it just dosn't write to the file.
    I am writing an FTP server and here is the code:
         public static long copyStream(InputStream in, OutputStream out)throws IOException
              IOException exception = null;
              long copied = 0;
              try
                   byte buffer[] = new byte[1024];
                   int read;
                   while((read = in.read(buffer)) != -1)
                        out.write(buffer, 0, read);
                        copied += read;
              catch(IOException e)
                   //ensures that the streams are closed.
                   exception = e;
              try
                   in.close();//ensures output stream gets closed, even if there is an
                   //excption here.
              catch(IOException e){exception = e;}
              out.close();//try to close output.
              if(exception != null)
                   //exception is not null, an exception has occured.
                   //rethrow exception.
                   throw exception;
              return copied;//all ok, return bytes copied.
         }Is this a bug in JAVA VM? Is so, how should I report it?

    I have noticed that when I try to write to a read-only file in a window environment,
    Java does not throw an IOExcpetion, it just dosn't write to the file.C:\source\java\Markov>attrib readonly.out
    A R C:\source\java\Markov\readonly.out
    �C:\source\java\Markov>java b
    java.io.FileNotFoundException: readonly.out (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at b.main(b.java:5)
    import java.io.*;
    public class b {
        public static void main(String[] args) {
         try     {
              OutputStream os = new FileOutputStream ( "readonly.out");
         catch (Exception e) {
              e.printStackTrace();
    }

  • CatchAll does not catch exception in ora:translateFromNative

    Hello,
    In a BPEL process, I have an Assign step where I use the ora:translateFromNative function. There is a CatchAll around the Sequence. When I provide wrong data in the inputvariable for the native translation (for instance a typo in the root element name), the XPATH function fails but the CatchAll does not catch this. Furthermore, the process state is not dehydrated so in the BPEL console you don't see anything about this. The log file however shows the following information:
    <2007-06-25 13:31:01,723> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.instance.PerformMessage"; the exception is: XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:translateFromNative(bpws:getVariableData('ReceiveBodConfirmation_confirm_InputVariable','payload','/client:PlasPOImportConfirmRequest/client:request'),'mro_confirm_bod.xsd','CONFIRM_BOD_002')", the reason is FOTY0001: type error.
    Please verify the xpath query.
    My gut feeling after reading this is that an exception occurs while BPEL is creating the fault that should be thrown.
    In any case, this behaviour prevents me from creating a robust BPEL process. Any ideas on how I could deal with this would be much appreciated.
    Kind regards,
    Peter

    Hoi Peter,
    Is the message still in the recovery area? So BPEL is thinking that it is a runtime error and could be revoverd?
    Did you log a TAR?
    Marc

  • Bpel Server Does Not Catch Exceptions Thrown By Custom Xpath Functions

    Hi.
    I am using some custom xpath functions in a bpel process and whenever they fail I get an XPathExecutionError with summary:
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "<my function>", the reason is FOTY0001: type error.
    Please verify the xpath query.
    I am forcing my function to fail by giving a wrong input, which should result in an XPathFunctionException("Input does not respect format").
    There is a note on Metalink with ID 458434.1 on this subject which says that patch 5926809 should fix my problem.
    Patch 5926809 fixes Bug 5926809 - ORA:PARSEESCAPEDXML XPATH EXPRESSION FAILED TO EXECUTE FOTY0001: TYPE ERROR.
    I am using it, but it does not work :(
    I am using version 10.1.3.3.0 of App Server with various patch sets, including fix for bug 5926809.
    Has anyone suggestions on how to overcome this problem?
    Thanks

    Hello,
    I am trying to add a custom xpath function to the BPEL server, and I see that you made it work. I am using Oracle SOA Suite 10.1.3.3 and jDeveloper 10.1.3.4. I am using this function inside an xsl mapping file, although I am able to compile and deploy the Bpel Process to the server, it stops mapping where I placed the function and I have not seen any meaningful message from the domain/log/ files.
    Can you tell me how you did it?
    I think you will tell me faster than Oracle support, I already placed an SR but they just give me superficial advice.
    I appretiate your time and advice,
    Guillermo

  • ADF Faces selectOneChoice does not raise valueChangeEvent all the time

    When using the following code in my JSF page:
    <af:selectOneChoice id="yearChoice" autoSubmit="true" value="#{selectedDate.startingYear}" binding="#{selectedDate.yearChoice}" required="yes" valueChangeListener="#{selectedDate.valueChanged}">
    <f:selectItem itemLabel="2005" itemValue="2005" />
    <f:selectItem itemLabel="2006" itemValue="2006" />
    <f:selectItem itemLabel="2007" itemValue="2007" />
    <f:selectItem itemLabel="2008" itemValue="2008" />
    <f:selectItem itemLabel="2009" itemValue="2009" />
    </af:selectOneChoice>
    The valueChangeEvent is fired most all of the time, but when you change the choice back to whatever the original was set to, it does not fire. It only fires when you choose something other than the original selection. Even after selecting other values.
    Any help would be greatly appreciated.

    Set "immediate" to false on all of the showDetailItems inside the showOneTab. It currently defaults to true (unlike all other uses of "immediate"); we may revisit that decision shortly.

  • The contents of some yahoo mail e-mails does not display (except using No Style page View, or when doing a Reply), but IE works fine.

    For some (but only some) incoming Yahoo e-mails, Firefox does not show the text of the e-mail. I can see the text with the No Style page view. It also appears when I do a Reply. And, FYI, IE (both 8.0.7600.16385 and 8.0.6001.18702) have no problem with the same e-mails.
    == URL of affected sites ==
    http://mail.yahoo.com

    Executing a refreshing read all query, based on the required locations, on UnitOfWork A, after UnitOfWorkB has committed will update the vendors within the UnitOfWorkA, including those that may have been added to a location. This is most likely the easiest to implement. For efficiency you may wish to use your Read Only Session to execute the refreshing queries for the Vendors. By performing the query based on the possible Locations you will retrieve all of the available vendors, including those newly added.
    uow.refreshAllObject(collectionOfLocations);
    ..or
    ReadAllQuery query = new ReadAllQuery(Vendors.class);
    query.refreshIdentityMapResults();
    query.setSelectionCriteria(query.getExpressionBuilder().get("location").equal(location));
    uow.executeQuery(query);
    --Gordon

  • The Stop button does not show except when I'm customizing settings

    I have just upgraded from FF 3.6 to FF 8. The Stop button (X) does not appear between the Reload and Home buttons.
    However, if I right click the menu bar and select Customize... , the X appears as it should, then disappears again when I close the Customize... box.
    Thanks for your assistance. This may be tied to the other error I'm receiving:
    [https://support.mozilla.com/en-US/questions/894055 TypeError opening FF 8]

    Thanks, SafeBrowser. Step 3 did the trick!

  • FastcgiStub does not raise a new process

    Hi there.
    we have a perl FCGI running with Sun ONE 6.1 sp5 over Solaris10.
    We have a line in obj.conf like this:
    <Object name="fcgi.perl">
    Service fn="responder-fastcgi" app-path="/usr/bin/perl" app-args="/internet/datos/WWW/cgi-bin/loginCGI/loginCGI.pl" app-args="/inter
    net/datos/WWW/cgi-bin/loginCGI" bind-path="localhost:27527" resp-timeout=10 restart-interval=30 min-procs=1 max-procs=10
    </Object>
    We are doing load test against our web app., and we can see that Fastcgistub does not start a new perl process when needed (and of couerse, we fail in process too many request). Instead of that, when our perl dies due to a SIGPIPE signal, we can see this message in fastcgitub.log, repeated a lot of times:
    server bind error
    /usr/bin/perl bound to localhost:27527 is already running
    Could you help us with this issue, please?
    Thanks a lot in advance.
    Best Regards

    In my test setup :
    <Object name="fcgi.perl">
    Service fn="responder-fastcgi" app-path="/opt/csw/bin/perl" app-args="/tmp/one.pl" bind-path="localhost:27527" resp-timeout=10 restart-interval=30 min-procs=2 max-procs=10
    </Object>
    If I overload the CPU using
    $ ab -n 100000 -c 100 http://host:port/fcgiperl/
    I am able to saturate the CPU. Even if I print a sleep statement in while loop
    of /tmp/one.pl then too, I don't get the error you mentioned.
    I however observed that Fastcgistub doesn't create the new processes.
    Can you test the following script in your test environment to see how
    it performs?
    --------------------- /tmp/one.pl -----------------------------
    #!/usr/bin/perl
    use IO::File;
    #use strict;
    use CGI::Fast qw(:standard);
    $COUNTER = 0;
    while (new CGI::Fast) {
    print header;
    print start_html("Fast CGI Rocks");
    print
    h1("Fast CGI Rocks"),
    "Invocation number ",b($COUNTER++),
    " PID ",b($$),".",
    hr;
    print end_html;
    -----------------------------------------------------

  • My iPhone's sound does not work except for the alarm and the volume bar is not there.

    Hi, thank you in advance if you can help.
    When my iphone 4 is not plugged in to headphones the sound does not work, and if I try to adjust the sound with the plus and minus buttons in the side it comes up like normal saying "Ringer" but then there is no bar underneath it. Sometimes the sound will work for a couple of minutes. However, there is definitely no problem with the speaker as the alarm always works perfectly fine.
    I have tried restoring it, this did not help.

    what you could even try is to write down a few contacts that you would need to get through a single day, restore it to factory, punch in those few odd contacts,
    No.  What he should be doing is syncing his contacts to an app on his computer or cloud service, then sync them back to the phone (without restoring the backup). 
    Never rely on the backup for contacts.  The contact info stored there may be incomplete and is only meant to maintain the recent calls and favorites lists.

  • Created policies does not match except Global Acces Policy

    Hello,
    I'm having an issue with our IronPort C160 web proxy. When I create new access policies and use one identity created by me,
    the policy does not match even the user matches the identity used in this access policy. The user falls under Global Access Policy.
    Model: S160
    Version: 7.1.1-027 for Web
    Any idea ? Any AsyncOS bug ?
    Best Regards,

    Hello Jaki,
    First of all thank you for your reply. I have tested also using no authentication but it's the same thing. Now I'm noticing even the right Identity does not match, and the user always match the default identity.
    Please have a look to the file containg the access logs.
    I have tried with a user named test3 for a website that fall under the category Dating (www.eharmony.com). Normally the user should match TestPolicy policy and the page should be blocked but it does not and fall under default policy that allow the page to be viewed by the user.
    It seems a thing very easy to configure and I don't know why it does not function. Maybe that I have to do any other configuration :S ?
    Best Regards,
    Ilir

  • Exception in extended class does not raise

    I have extended a seeded class and raised an exception in the extended class.
    Exception is raised if i modify seeded class. If i extend the class and then raise the exception it is not working.
    Any pointers.

    Is the code reaching the extended class and is the exception condition being met ??
    Thanks
    Tapash

  • BPM Transformation Error not Raising Exceptions

    Hi,
    I've got a BPM receives a message, then call a transformation step and then send the message.  I've created exception branches for the transformation and send steps.  If the message mapping called in the transformation step works, the message is send, no problems.  If a message mapping exception occurs, for example a string index out of bounds, the exception branch is not executed.  Instead the BPM continues to the send step and an error occur because of the empty container element.(the container is empty because the mapping fails).  SAP Help states that an exception is "Thrown when a permanent system error occurs" in the Transformation step.  My question is what exactly is a permanent system error if normal message mapping exceptions is not a permanent system error?  And also, how do I generate a permanent system error when a message mapping exception is thrown in order for the exception branch in my BPM to execute?
    Any suggestions will be appreciated.

    I dont think there is a direct way to raise such error in mapping
    What is the sxi_cache status for ur integration process?
    Here r the steps for which permanent error is thrown
    http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    Regards,
    Prateek

Maybe you are looking for

  • While Opening a New Window all Tool Bars and Bookmark Bar Dissapearing

    Dear Mozilla Team, I loved the new Firefox 4 it is fast and more space for webpages and many other a lot of good stuff. Congrats and thank you for the hard work. However something weird happening every time I opened a second new window . I will try t

  • Connecting wirelessly to access windows shared network printer

    Hi there: New macbook computer. HP 2605dn laser printer. I've connected to the windows network using lpd and other protocols, and everything seems to be going smoothly. The printer shows up on my screen. I push print. It says it's printing. But nothi

  • Grey instead of black as PDF

    Hi All, While saving my business card as a pdf, black seems to go grey, and Im not sure the cause of it. I don't know whether it's simply some settings in indesign. I suspect though because I have placed images from photoshop, the contrast of grey ag

  • The risk analysis results are different when choose report type as "summary" and "management" summary

    Hello experts, I found a expired user with SOD conflicts in "management summary" report format, but it doesn't exist in "Summary" report. You can find the screenshot in attached file. The user name is "YINPENG2_BK". What happened? The result of diffe

  • Incoming mail: SMTP or POP?

    Hi, I'm quite new to OS X Server and I got the following question. There's a mail server in the internet for (let's say) example.net that receives emails via SMTP. There are some Adresses configured at this server. Now I'm running an OS X Server for