Handle Exception from LCDS

Hello,
I am using Flex 4 with LCDS 3. I am having problems with properly handling 
exceptions. 
I have a simple commit service like; 
var commitToken:AsyncToken = 
_serviceName.serviceControl.commit(); // Commit the change. 
commitToken.addResponder(new AsyncResponder( 
function (event:ResultEvent, 
token:Object=null):void 
Alert.show("DATA DELETED"); 
function (event:FaultEvent, 
token:Object=null):void 
Alert.show("Save failed: " + 
event.fault.faultString, "Error"); 
_serviceName.serviceControl.revertChanges(); 
Now when I try to delete a row which has a child record I get the following 
error in my tomcat log; 
hdr(DSEndpoint) = my-rtmp 
hdr(DSId) = 9AFF219A-AB2A-3B60-D990-9E87A3D7CF71 
java.lang.RuntimeException: Hibernate jdbc exception on operation=deleteItem 
error=Could not execute JDBC batch update : sqlError = from SQLException: 
java.sql.BatchUpdateException: ORA-02292: integrity constraint (CATEGORY_FK) 
violated - child record found 
followed by; 
[LCDS]Serializing AMF/RTMP response 
Version: 3 
(Command method=_error (0) trxId=10.0) 
(Typed Object #0 'flex.messaging.messages.ErrorMessage') 
rootCause = (Typed Object #1 'org.omg.CORBA.BAD_INV_ORDER') 
minor = 0 
localizedMessage = "The Servant has not been associated with an ORB 
instance" 
message = "The Servant has not been associated with an ORB instance" 
cause = null 
completed = (Typed Object #2 'org.omg.CORBA.CompletionStatus') 
destination = "CATEGORY" 
headers = (Object #3) 
correlationId = "D4B6573F-F8C2-0732-BD1C-6FD1C5979763" 
faultString = "Error occurred completing a transaction" 
messageId = "9AFF6D9A-3C1C-E99B-B00F-92E72069B64E" 
faultCode = "Server.Processing" 
timeToLive = 0.0 
extendedData = null 
faultDetail = null 
clientId = "C2F15FE1-2977-23AA-1ADD-6FD1C096A82F" 
timestamp = 1.281776280572E12 
body = null 
In flex in my "event" in the fault function I can only get general data like 
"Error occurred completing a transaction", but I cannot access the error 
"ORA-02292:...". 
Is there a way to access it, as I need to handle multiple exceptions that Oracle 
will catch such as duplicate ID.....

Hi Hong,
I can confirm that 0xE8010014 represents a driver fault. Unfortunately without a dump or some other trace file it is hard to track this down. You could create a dump file if you can reproduce it, upload it to your OneDrive and then post the link here, I
can grab it and take a look.
>>This is reported by users. Unfortunately I am unable to reproduce it.
Could you please collect the OS version which have this issue?
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.

Similar Messages

  • Handling exceptions from Future/FutureTask.get()  : a question

    Hello.
    While trying to understand the way (possible) exceptions from Future/FutureTask.get() method can be handled, I found the following example on how this could be done:
    [http://www.javaconcurrencyinpractice.com/listings.html]
    * StaticUtilities
    * @author Brian Goetz and Tim Peierls
    public class LaunderThrowable {
         * Coerce an unchecked Throwable to a RuntimeException
         * <p/>
         * If the Throwable is an Error, throw it; if it is a
         * RuntimeException return it, otherwise throw IllegalStateException
        public static RuntimeException launderThrowable(Throwable t) {
            if (t instanceof RuntimeException)
                return (RuntimeException) t;                // Line #1
            else if (t instanceof Error)
                throw (Error) t;                                    // Line #2
            else
                throw new IllegalStateException("Not unchecked", t);// Line #3
    }And here is an example on how this handler is supposed to be used:
    * Preloader
    * Using FutureTask to preload data that is needed later
    * @author Brian Goetz and Tim Peierls
    public class Preloader
        ProductInfo loadProductInfo() throws DataLoadException {
            return null;
        private final FutureTask<ProductInfo> future =
            new FutureTask<ProductInfo>(new Callable<ProductInfo>() {
                public ProductInfo call() throws DataLoadException {
                    return loadProductInfo();
        private final Thread thread = new Thread(future);
        public void start() { thread.start(); }
        public ProductInfo get()
        throws DataLoadException, InterruptedException
            try {
                return future.get();
            } catch (ExecutionException e) {
                Throwable cause = e.getCause();
                if (cause instanceof DataLoadException)
                    throw (DataLoadException) cause;
                else
                    throw LaunderThrowable.launderThrowable(cause);
        interface ProductInfo {  }
    class DataLoadException extends Exception { }Everything is clear in general, except for one thing:
    Why is the LaunderThrowable.launderThrowable() method re-throws Error and IllegalStateException (Line #2 and #3 above) and just returns RuntimeException (Line #1)? Especially taking into consideration that whatever is returned from launderThrowable() is re-thrown in any case...
    Any ideas?
    Thanks.

    ...Why is the LaunderThrowable.launderThrowable() method re-throws Error and IllegalStateException (Line #2 and #3 above) and just returns RuntimeException (Line #1)?this is explained in the end of paragraph [5.5.2. FutureTask|http://www.javaconcurrencyinpractice.com/]:
    +"...When get throws an ExecutionException in Preloader, the cause will fall into one of three categories: a checked exception thrown by the Callable, a RuntimeException, or an Error. We must handle each of these cases separately, but we will use the launderThrowable utility method in Listing 5.13 to encapsulate some of the messier exception-handling logic. Before calling launderThrowable, Preloader tests for the known checked exceptions and rethrows them. That leaves only unchecked exceptions, which Preloader handles by calling launderThrowable and throwing the result. If the Throwable passed to launderThrowable is an Error, launderThrowable rethrows it directly; if it is not a RuntimeException, it throws an IllegalStateException to indicate a logic error. That leaves only RuntimeException, which launderThrowable returns to its caller, and which the caller generally rethrows..."+
    ...Especially taking into consideration that whatever is returned from launderThrowable() is re-thrown in any case...As far as I understand, assumption about re-throwing in any case is not quite correct. launderThrowable is intended to be a general utility, #) so it leaves a way for client to handle the returned value in a way different from re-throwing.
    #) intended to be a general utility -- launderThrowable is used not only in Preloader, but in [other listings|http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.javaconcurrencyinpractice.com%2Flistings+launderThrowable] as well

  • Handling exceptions from inputprocessor

    I'm using portal 7.0. I created a simple 2 page webflow using the ebcc wizard.
    The first presentation node is a form using the <webflow:validatedForm> taglib.
    I added the event and namespave attrbute. The event from the node is to a input
    processor node. I created a java class to handle the validation from the form.
    The docs from portal 4.0 really helped getting started on that. Then from the
    the input procoessor node I have an exception event back to the first presentation
    node.
    So when I fill out the form and the validation fails the exception is thrown,
    but the screen is not in the portal framework, but instead on the for presentation
    node is displayed with the excpetion printed and the error message next to the
    fields that need to fixed. When I add more items to the form, the functionality
    works, but it's not within the portal framework.
    Any help would be great.
    Thanks,
    Kevin

    use the <portlet:validatedForm>
    "Kevin Pfarr" <[email protected]> wrote:
    >
    I'm using portal 7.0. I created a simple 2 page webflow using the ebcc
    wizard.
    The first presentation node is a form using the <webflow:validatedForm>
    taglib.
    I added the event and namespave attrbute. The event from the node is
    to a input
    processor node. I created a java class to handle the validation from
    the form.
    The docs from portal 4.0 really helped getting started on that. Then
    from the
    the input procoessor node I have an exception event back to the first
    presentation
    node.
    So when I fill out the form and the validation fails the exception is
    thrown,
    but the screen is not in the portal framework, but instead on the for
    presentation
    node is displayed with the excpetion printed and the error message next
    to the
    fields that need to fixed. When I add more items to the form, the functionality
    works, but it's not within the portal framework.
    Any help would be great.
    Thanks,
    Kevin

  • Stopping exceptions from being handled earlier

    Hi,
    I am writing a program that uses some code that I wrote and some code that others wrote. In one part of the code, an exception often comes up in the part of code that other people wrote. They handle that exception themselves by printing the stack trace. However, I do not want the stack trace to be printed out. The exception is already handled so if I put in a catch block it does nothing.
    Is there any way I can stop the exception from being caught or handled before? Or is there a way I can prevent the stack trace from being printed and call a different method if this exception was ever thrown or caught?
    Thanks, and tell me if part of what I wrote was unclear then tell me.

    Sky,
    Your problem description is perfectly clear. 10/10.
    But, Sorry.... It ain't good news.
    1. The short answer is "No".
    2. The longer and far more correct answer is "maybe", so long as the dodgy booger who wrote that code gave you the hooks which allow you to (a) supply an error handler; or (b) override the offending method by extending the class and reimplementing all it's constructors and that messy method, and you can change all the code which references that class to use your subclass... ie: Not bluddy likely.
    3. The correct answer is of course: "Yes, anything is possible, just some things cost more than others"... Decompilers, Custom byte-code modifying class-loaders, A wee ASM to filter the JVM's
    standard error stream... I can hear the boss now "What do you porkchops think you're playing at!".
    I get the feeling that the stackTrace is just an annoyance factor, and it really isn't worth the effort to solve this problem. My advice is to learn to live with it.
    Keith.

  • Is it possible to throw an exception from a handler chain with JAXWS???

    I know I cannot throw directly an exception from the handler cause my handler extends SOAPHandler and the method handlerMessage cannot throw exceptions. The problem is that I would like to validate some authorization and if the client doesn't have the appropriate rights, I would like to throw an exception from the handler without calling the web service itself, so the client would receive a valid soap response from the server. Is it possible?? Is there another mechanism that I can use to do that??
    Thanks a lot
    Korg

    You can throw a ProtocolException or RuntimeException from handleMessage().
    If you throw ProtocolException, HandleFault() is called on previously invoked handlers.
    If you throw a RuntimeException, handleFault() or handleMessage() is not called on previously invoked handlers, and the Exception is converted to Fault message and dispatched.

  • Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))

    I've Main Report + 5 sub report. All of this in a 1 file named _rptBorang.rpt.
    This _rptBorang.rpt consists of
    1. Main Report
    2. _spupimSPMBorang.rpt
    3. _spupimSTPMBorang.rpt
    4. _spupimSijilDiploma.rpt
    5. _spupimKoQ.rpt
    6. _spupimPilihanProg.rpt
    When I preview the report, the Enter values dialog box ask 7 parameters. It's
    1. idx
    2. tbl_MST_Pemohon_idx
    3. tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)
    4. tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)
    5. tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)
    6. tbl_MST_Pemohon_idx(_spupimKoQ.rpt)
    7. tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)
    My ASP.NET code as following,
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="_cetakBorang.aspx.vb" Inherits="_cetakBorang" title="SPUPIM" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1n" runat="server">
        <div align="center">
            <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
                AutoDataBind="true" />
        </div>
        </form>
    </body>
    </html>
    Imports System.configuration
    Imports System.Data.SqlClient
    Imports System.Web.Security
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports.Engine
    Partial Class _cetakBorang
        Inherits System.Web.UI.Page
        Private Const PARAMETER_FIELD_NAME1 As String = "idx"
        Private Const PARAMETER_FIELD_NAME2 As String = "tbl_MST_Pemohon_idx"
        Private Const PARAMETER_FIELD_NAME3 As String = "tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)"
        Private Const PARAMETER_FIELD_NAME4 As String = "tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)"
        Private Const PARAMETER_FIELD_NAME5 As String = "tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)"
        Private Const PARAMETER_FIELD_NAME6 As String = "tbl_MST_Pemohon_idx(_spupimKoQ.rpt)"
        Private Const PARAMETER_FIELD_NAME7 As String = "tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)"
        Dim myReport As New ReportDocument
        'rpt connection
        Public rptSvrNme As String = ConfigurationManager.AppSettings("rptSvrNme").ToString()
        Public rptUsr As String = ConfigurationManager.AppSettings("rptUsr").ToString()
        Public rptPwd As String = ConfigurationManager.AppSettings("rptPwd").ToString()
        Public rptDB As String = ConfigurationManager.AppSettings("rptDB").ToString()
        Private Sub SetCurrentValuesForParameterField(ByVal reportDocument As ReportDocument, ByVal arrayList As ArrayList, ByVal paramFieldName As String)
            Dim currentParameterValues As New ParameterValues()
            For Each submittedValue As Object In arrayList
                Dim parameterDiscreteValue As New ParameterDiscreteValue()
                parameterDiscreteValue.Value = submittedValue.ToString()
                currentParameterValues.Add(parameterDiscreteValue)
            Next
            Dim parameterFieldDefinitions As ParameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields
            Dim parameterFieldDefinition As ParameterFieldDefinition = parameterFieldDefinitions(paramFieldName)
            parameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
        End Sub
        Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            If Not IsPostBack Then
                publishReport(Convert.ToInt32(Session("applicantIdx")), Convert.ToInt32(Session("applicantIdx")))
            End If
        End Sub
        Private Sub publishReport(ByVal idx As Integer, ByVal tbl_MST_Pemohon_idx As Integer)       
            Try
                Dim reportPath As String = String.Empty
                reportPath = Server.MapPath("_rptBorang.rpt")
                myReport.Load(reportPath)
                myReport.SetDatabaseLogon(rptUsr, rptPwd, rptSvrNme, rptDB)
                Dim arrayList1 As New ArrayList()
                arrayList1.Add(idx)
                SetCurrentValuesForParameterField(myReport, arrayList1, PARAMETER_FIELD_NAME1)
                Dim arrayList2 As New ArrayList()
                arrayList2.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList2, PARAMETER_FIELD_NAME2)
                Dim arrayList3 As New ArrayList()
                arrayList3.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList3, PARAMETER_FIELD_NAME3)
                Dim arrayList4 As New ArrayList()
                arrayList4.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList4, PARAMETER_FIELD_NAME4)
                Dim arrayList5 As New ArrayList()
                arrayList5.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList5, PARAMETER_FIELD_NAME5)
                Dim arrayList6 As New ArrayList()
                arrayList6.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList6, PARAMETER_FIELD_NAME6)
                Dim arrayList7 As New ArrayList()
                arrayList7.Add(tbl_MST_Pemohon_idx)
                SetCurrentValuesForParameterField(myReport, arrayList7, PARAMETER_FIELD_NAME7)
                Dim parameterFields As ParameterFields = CrystalReportViewer1.ParameterFieldInfo
                CrystalReportViewer1.ReportSource = myReport
            Catch ex As Exception
                lblMsg.Text = ex.Message
            End Try
        End Sub
        Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
            myReport.Close()
        End Sub
    End Class
    The result was, my ASP.NET return error --- > Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
    I'm stuck
    Really need help
    Edited by: WKM1925 on Feb 22, 2012 11:49 AM

    First off, it would really be nice to have the version of CR you are using. Then
    1) does this report work the CR designer?
    2) What CR SDK are you using?
    3) If .NET, what version?
    4) Web or Win app?
    5) What OS?
    Then, please re-read your post and see if it actually makes any sense. To me, it's just gibberish...
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Invalid Handle Exception-What is the reason?

    I face with "Invalid Handle exception" (SQLException) while using the following code.
    Could anybody tell me the possible reasons/Situation the error rise?
    stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery(SQLStmt);
         if(rs!=null){
    ResultSetMetaData rsm = rs.getMetaData();
         int totalcols = rsm.getColumnCount();
         Vector temp;
         while (rs.next()) {
         Vector temp = new Vector();
         for (int i = 1; i <= totalcols; i++) {
              String value = rs.getString(i);
              if (value == null) {
              value = "";
         temp.addElement(value);
         }//for loop ends here
         valueVector.addElement(temp);
         rs.close();
         stmt.close();     
    Thank you all

    Vector temp;
    while (rs.next()) {
    Vector temp = new Vector();Are you sure that this is the code you are running? The reason I ask is that I'm pretty sure that it won't compile, at least under JDK1.4. You should get a compile error something like "temp is already defined".
    If thats not the problem you need to find out on which line the error actually occurs. You can get this from the exception by calling the printStackTrace() method.
    Col

  • How can I pass an exception from one thread to another thread

    If I create a new class, that will extends the class Thread, the methode run() can not be use with the statement Throws Exeption .
    The question now: Is there any possibility to pass an exception from one thread to another thread?
    Thx.

    It really depends on what you want to do with your exception. Is there some sort of global handler that will process the exceptions in some meaningful way? Unless you have that, there's not much point in throwing an exception in a thread, unless you simply want the stack trace generated.
    Presuming that you have a global handler that can catch exceptions, nest your Exception subclass inside a RuntimeException:
    public class NestedRuntimeException extends RuntimeException
        private final m_nestedException;
        public NestedRuntimeException(final Exception originalException)
            super("An exception occurred with message: " + originalException.getMessage());
            m_nestedException;
        public Exception getNestedException()
            return m_nestedException;
    }Your global handler can catch the NestedRuntimeException or be supplied it to process by the thread group.

  • How do I handle errors from a call to an http handler routine on the server?

    I have written an http handler for the server. It is used for file uploads. It works fine.
    However, if the server gets any kind of exception, I don't seem to get anything back in the Silverlight httpWebRequest.  It seems like something in the communications sees the exception as a  "server not found" type error.  And a
    Dialog pops up that appears to NOT be my code that says the message.
    For my WCF calls, I implemented a SilverlightFaultBehavior that switched the status code to OK and I was able to get the server exceptions from my WCF calls into my Silverlight app.
    But how do I do that for an http handler?  What do I have to add, if anything to the server side and what do I need to do on the Silverlight client side?

    How are you calling your service?
    You should be doing asynchronous calls and supplying a callback with silverlight.
    Check for errors in the callback.
    FileListServiceReference.FileListServiceClient proxy = new ITSupport.FileListServiceReference.FileListServiceClient();
    proxy.GetFileListCompleted += new EventHandler<ITSupport.FileListServiceReference.GetFileListCompletedEventArgs>(proxy_FileListCompleted);
    proxy.GetFileListAsync(fileList);
    void proxy_FileListCompleted(object sender, ITSupport.FileListServiceReference.GetFileListCompletedEventArgs e)
    ObservableCollection<ImageVM> ims = new ObservableCollection<ImageVM>();
    if (e.Error == null)
    That does stuff if there's no errors and returns nothing if there are but you might want more sophisticated handling.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Can we handle exceptions for the expressions in select query?

    Hi all,
    Can we handle exceptions for the expressions in select query.
    I created a view, there I am extracting a substring from a character data and expected that as a number.
    For example consider the following query.
    SQL> select to_number( substr('r01',2,2) ) from dual;
    TO_NUMBER(SUBSTR('R01',2,2))
    1
    Here we got the value as "1".
    Consider the following query.
    SQL> select to_number( substr('rr1',2,2) ) from dual;
    select to_number( substr('rr1',2,2) ) from dual
    ORA-01722: invalid number
    For this I got error. Because the substr returns "r1" which is expected to be as number. So it returns "Invalid number".
    So, without using procedures or functions can we handle these type of exceptions?
    I am using Oracle 10 G.
    Thanks in advance.
    Thank you,
    Regards,
    Gowtham Sen.

    SQL> select decode(ltrim(rtrim(translate(substr('r21', 2, 2), '0123456789', ' ' ), ' '), ' '), null, (substr('r21', 2, 2)), null) from dual;
    DE
    21
    SQL> ed a
    SQL> select decode(ltrim(rtrim(translate(substr('rr1', 2, 2), '0123456789', ' ' ), ' '), ' '), null, (substr('rr1', 2, 2)), null) from dual;
    D
    -

  • Handling exception logging in a Java task scheduler program?

    I need to design a Task Scheduler Where
    1) User should be able to schedule multiple task at the same time.
    2) There should be proper error handling on failure of any task and should not affect the other running tasks.
    I found the related programme at http://www.roseindia.net/java/example/java/util/CertainAndRepeatTime.shtml
    My concern is about handling of point 2 in program provided at above link. Say I schedule a recurring mail send process in above program which will be run first time on 12 september 2011 at 2 am, and will be repeated after every 2 hours Say a one process fais at 8 am. I want to log it in log file with task name and time details. Now if I look at above programme i.e CertainAndRepeatTime.java. This program will exit once it schedules all the tasks. Where and how should handle the logging?
    Posted at http://stackoverflow.com/questions/7377204/handling-exception-logging-in-a-java-task-scheduler-program but folks suggesting Quartz scheduler . My Limitation is that i can't for quartz because my project allows me to use only standard java library. Is there any way we can handle logging in the same programme in case of exception.

    Well, first of all I wouldn't trust any code from roseindia. So you might want to look for more reliable advice.
    As for your logging, you can add it for example to the TimerTask itself. I don't recommend adding logging to that roseindia cr*p though.

  • How to handle exceptions in a Service

    Hi,
    I'm trying to get the new Service (background thread) stuff working and am close but I have a problem with handling exceptions that are thrown in my Task. Below is my code, does anyone know if I am doing something wrong, or is this just a flaw in the system at the moment:
    Here is my service:
    public class TestService extends Service<String>
        protected Task<String> createTask()
            return new Task<String>()
                protected String call() throws Exception
                   System.out.println("About to throw exception from inside task");
                   throw new Exception("Test failure");
    }Here is my code using this service:
    public void doTest()
        final TestService test = new TestService();
        test.stateProperty().addListener(new ChangeListener<Worker.State>()
            public void changed(ObservableValue<? extends Worker.State> source, Worker.State oldValue, Worker.State newValue)
                System.out.println("State changed from " + oldValue + " to " + newValue);
        test.start();
    }When the task throws its exception I was hoping to get a state change to FAILED but the callback is never triggered. I've tried listening for invalidation of the state and also tried listening to all the other properties on Service (running, progress, exception, etc). There doesn't seem to be any feedback after the exception has been thrown.
    Am I using this wrong, or is it a bug?
    Cheers for you help,
    zonski

    Hi,
    This was working in the build #32. I updated the JavaFX to build #36 and it stopped working.
    I checked in the latest build #37 as well which was released last week and this doesn't work here as well.
    If the task is succeeding the state is getting changed to SUCCEEDED but in case of an exception there is no change in the state
    Edited by: user12995677 on Aug 3, 2011 2:07 AM

  • Handling exceptions inside a Presentation

    Hi people, I have a problem handling exceptions inside a Presentation that it is inside an screenflow (that it is inside a Global Creation Activity). This it is in some way related to this other thread: Managing transactions with DynamicSQL
    I have an Interactive Activity that renders an Object BPM's Presentation. This Presentation has dependent combos (i.e.: Country, State, City).
    Although I can add an exception transition to the Interactive Activity, if the BP-Method that fills the other combo fails, this exception transition it is not executed. Instead, it shows a screen with the stack trace.
    The solution I've found: catch the exception inside the BP-Method, and use this.showError let the user know that something went wrong.
    This solves my problem, but I'd like to know why ALBPM let me put an exception transition from an Interactive Activity? I mean, in which cases this transition could be executed
    Thanks in advance!

    This does not solve my problem, but I think that it would be a better design idea not to allow presentations to call server-side BP-Methods directly. Instead it should call a client-side BP-Method and from this method call the one in the server.
    This should improve the way we can handle an error that occurs on a server-side BP-Method
    It's for sure a "best practice", but I think it would be better if the tool help us to implemented this way
    What do you think?

  • To handle exception in insert query

    Hi ,
    I am trying it insert certain records from another table A to temp table B, while doing insert i am having exception of unique constraint in table B how can i check which record is throwing exception while inserting in table A
    for eg:
    insert into A
    select * from B;
    i need to handle exception in which record of B i am getting unique constraint error

    Hi,
    If you add an error logging clause (with keywords LOG ERRORS), then you can insert a row into another table for each row that can't be inserted according to your INSERT statement.
    To query table A to see which ids already exist in table B, you can say
    SELECT  *
    FROM    a
    WHERE   a_id  IN (
                          SELECT  b_id
                          FROM    b
    where b.b_id is the unique key in table b, and a.a_id is the value you're truing to insert into that column.
    If you just want to skip the insert when a matching row already exists, then use MERGE instead of INSERT.

  • Can we handled exceptions in Oracle EDQ?

    Hi All,
    I need to know, how to handle exceptions in EDQ? for example when i am fetcthing data from DB view, DB is down/ process is hanged then i have to send error msg to Webservice.
    How can i handled this situation? Thanks in advance.
    Regards,
    Chandra

    Hi,
    This can be done, using the Triggers functionality, and a trigger that detects a certain type of error in a log and calls a web service.
    Someone more experienced than me in writing triggers would probably need to help with an example.
    Regards,
    Mike

Maybe you are looking for

  • Dynamic Load Plan creation using scripting

    Hello All,                We have a requirement to create load plans dynamically i.e using script groovy. Idea is that we will store interface scenarios in a table and then script will read these scenarios an create dynamic load plans. Now following

  • Email sending in BPEL

    I have created a BPEL process which is used to send emails. Its working properly. But as per the requirment I have to pass the 'from account' dynamically in the runtime. Please help me to solve the issue. Currently I have hardcoded the 'from account'

  • Using a macbook pro (late 2012) as primary desktop recommended?

    I own a macbook pro Late 2012 edition and I am thinking about connecting it to an external monitor and using it as my primary desktop. Is this recommended? I am afraid that it will harm my macbook..especially the battery. Any insight would be appreci

  • Closing for Assets

    Dear Friends,   I Have a small problem which is creating big issue.I hope i can get solution from you all. We have done MIGO postings for Assets.But No MIRO for that. No depreciation till now .open periods for Assets 05-06 and 06-07. Now i need to cl

  • What are crystal reports ?

    Hello,          Please explain me wht are crystal reports i dont know even wht are they. I have got a task to prepare a crystal report, please do help me achieve this. Points will be awarded for the helpful answer. Thks