To trace the exceptions.

i want trace the exceptions like invalid cursor state exception instead of sql exception.how to ?is there any numberings.

If I understand the question....
"invalid cursor state" comes from outside of java. There is no implicit way to get a trace. For certain external sources to jdbc there are ways to trace results there. For example in ODBC there is a trace log.

Similar Messages

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • Get the entire stack trace of exception ?

    Hi!
    If the JVM prints this :
    Caused by: java.sql.BatchUpdateException: ORA-00001: unique constraint (FOO.BAR) violated
    at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
    at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9040)
    at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:517)
    at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
    ... 73 more
    then how do I get the missing 73 lines ?

    Why would you want to? they are shorthand indicating that they were thrown from the same method: From the API Docs
    Note the presence of lines containing the characters "...".
    These lines indicate that the remainder of the stack trace for this exception matches the indicated number of frames from the
    bottom of the stack trace of the exception that was caused by this exception (the "enclosing" exception).
    This shorthand can greatly reduce the length of the output in the common case where a wrapped exception is thrown from same method
    as the "causative exception" is caught. ~Tim
    Message was edited by:
    SomeoneElse
    Message was edited by:
    SomeoneElse

  • How to handle the Exception when RegisterEventProcessorAsync

    In our Cloud Service project, we have 2 instances for work role (deploy to Azure), the work role is consume events from the EventHub using EventProcessorHost).
    When we want to register EventProcessor to consume data (see below):
    await eventProcessorHost.RegisterEventProcessorAsync<eventProcessor>();
    Sometimes we will got the Exception:
    Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (412) There is
    currently a lease on the blob and no lease ID was specified in the request.. ---> System.Net.WebException: The remote server returned an error: (412)
    There is currently a lease on the blob and no lease ID was specified in the request..
      at Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpStatusCode actualStatusCode, T retVal, StorageCommandBase`1 cmd, Exception ex)
       at Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpWebResponse resp, T retVal, StorageCommandBase`1 cmd, Exception ex)
       at Microsoft.WindowsAzure.Storage.Blob.CloudBlobSharedImpl.<DeleteBlobImpl>b__1b(RESTCommand`1 cmd, HttpWebResponse resp, Exception ex, OperationContext ctx)
       at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult)
       --- End of inner exception stack trace ---
       at Microsoft.WindowsAzure.Storage.Core.Util.StorageAsyncResult`1.End()
       at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.EndDeleteIfExists(IAsyncResult asyncResult)
       at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.<>c__DisplayClass1`1.<CreateCallback>b__0(IAsyncResult ar)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at Microsoft.ServiceBus.Messaging.BlobLeaseManager.<DeleteAllAsync>d__2a.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.ServiceBus.Messaging.EventProcessorHost.<InitializeAsync>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.ServiceBus.Messaging.EventProcessorHost.<StartAsync>d__e.MoveNext()
       --- End of inner exception stack trace ---
       at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       at System.Threading.Tasks.Task.Wait()
    at awaiteventProcessorHost.RegisterEventProcessorAsync<eventProcessor>();
    If we got the Exception, we won’t got messages any more.
    From the Call Stack, we found it was cause by delete the Blob. So we wonder that, when we call
    RegisterEventProcessorAsync,
    the hub will delete the blob and renew one in Storage?
    If we delete the blob for the EventHub manually and then run our server again. It worked as usual.
    But we can do it like this way manually, so is there any way to handle the exception in code to make the EventProcessorHost worked?
    Thanks so much!

    If we use different blob container name for different EventProcessorHost, is it a workaround for the issue?
       var
    eventProcessorHost = new
    EventProcessorHost(
                    hostName,
                    hubName,
                    consumerGroupName,
                    serviceBusConnectionString,
                    storageConnectionString,
    leaseContainerName);

  • Hit the exception when editing the value of row key column in a new created row in a table

    1. I created a view object with 2 entity objects (parent table: YARD_FIXED_SLOT - child table: YARD_FIXED_SLOT_DETAIL) and the primary key of child table composes of 2 columns ( one of them is FK: YardFixedSlotDetail.FIXED_SLOT_ID REFERENCES YARD_FIXED_SLOT(FIXED_SLOT_ID)
    SQL queries:
    SELECT YardFixedSlotDetail.FIXED_SLOT_ID,
           YardFixedSlotDetail.MODIFIED_DT,
           YardFixedSlotDetail.SLOT_FROM_N,
           YardFixedSlotDetail.SLOT_TO_N,
           YardFixedSlotDetail.USER_ID,
           YardFixedSlot.BLOCK_M,
           YardFixedSlot.BLOCK_N,
           YardFixedSlot.FIXED_SLOT_ID AS FIXED_SLOT_ID1,
           YardFixedSlot.SECTION_N,
           YardFixedSlot.STATUS_C,
           YardFixedSlot.TERMINAL_C
    FROM  YARD_FIXED_SLOT_DETAIL YardFixedSlotDetail, YARD_FIXED_SLOT YardFixedSlot
    YardFixedSlotDetail.FIXED_SLOT_ID = YardFixedSlot.FIXED_SLOT_ID
    2. I dragged this view object into JSF page as an ediable table and add 'add' button to add a new row to the table. and the handling logic in managed bean is as followed. now one new row can be added succesfully in the table.
        public void processSlotDetailCreation(ActionEvent ae)
            DCBindingContainer bindings = (DCBindingContainer)getBindings();
            DCIteratorBinding dciter = bindings.findIteratorBinding("YardFixedSlotDetailFindAllByBlock1Iterator");
            Row row = dciter.getCurrentRow();
            //get the last row for the index and create a new row for the //user to edit
            Row lastRow = dciter.getNavigatableRowIterator().last();
            YardFixedSlotDetailFindAllByBlockRowImpl newRow = (YardFixedSlotDetailFindAllByBlockRowImpl)dciter.getNavigatableRowIterator().createRow();
            newRow.setFixedSlotId(new Integer(21));
            newRow.setUserId("adftest");
            newRow.setModifiedDt(new Timestamp(System.currentTimeMillis()));
            //bug exist here
            newRow.setSlotFromN(new Integer(1));
            //newRow.setSlotToN(new Integer(1));
            newRow.setNewRowState(Row.STATUS_INITIALIZED);
            int lastRowIndex = dciter.getNavigatableRowIterator().getRangeIndexOf(lastRow);
            dciter.getNavigatableRowIterator().insertRowAtRangeIndex( lastRowIndex+1, newRow);
            // make the new row the current row of the table
            dciter.setCurrentRowIndexInRange(lastRowIndex);
            dciter.setCurrentRowWithKey(newRow.getKey().toStringFormat(true));
            //table should have its displayRow attribute set to //"selected"
           // AdfFacesContext.getCurrentInstance().addPartialTarget(slotDetailsTable);
    3. When filling in a new value for SlotFromN column (note that SlotFromN column and FixedSlotId column are the rowKey), hit the exception below:
    [2013-12-04T13:04:28.866+08:00] [DefaultServer] [ERROR] [] [oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: eb5e281b-6b07-4c17-987e-049792c97dda-000001bf,0] [APP: YPCApp] [DSID: 0000KAvzIaA5qYWFLzmJOA1IbdqZ000003] ADF_FACES-60096:Server Exception during PPR, #7[[
    oracle.jbo.InvalidOperException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-34014. Error message parameters are {0=oracle.jbo.Key[21 null ], 1=root}
    at oracle.jbo.uicli.binding.JUCtrlHierBinding.bringNodeToRangeKeyPath(JUCtrlHierBinding.java:859)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding.bringNodeToRangeKeyPath(FacesCtrlHierBinding.java:122)
    at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:131)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:951)
    at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:527)
    at org.apache.myfaces.trinidad.component.UIXTable.setRowKey(UIXTable.java:760)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils._processStampedChildrenForActiveRow(TableRendererUtils.java:2950)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.processFacetsAndChildrenForClickToEdit(TableRendererUtils.java:1604)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.processFacetsAndChildrenForClickToEdit(TableRenderer.java:352)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.decodeChildren(TableRenderer.java:193)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1347)
    at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:226)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at oracle.adf.view.rich.component.fragment.UIXRegion.decodeChildrenImpl(UIXRegion.java:605)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1365)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1351)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1124)
    at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1176)
    at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:933)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1574)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:416)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    4. I think problem maybe is related with row key, but I need end user to change rowkey column value. does it allow changing the value of column as row key? I found this problem maybe only occur for new created row. For those existing rows, even I change the value of row key column, no such problem occurred, how do I handle this situation?
    Appriciate if anybody can help.

    Hi Bangaram,
    Thank you for your reply. 
    The error: "Root cause error code is JBO-34014. Error message parameters are {0=oracle.jbo.Key[21 null ], 1=root} "
    I didn't create master records, I just used joint queries for information display of both master and detail. I am trying to create a row in the UI table to create a new detail record and master record already exists.
    The row key for new added row in UI rich table is [21 null ], row key of detail records table composes of 2 columns. 21 is for FixedSlotId and null is for SlotFromN. when I provide a new value for SlotFromN column in UI rich table, problem will occur.

  • How should i solve the problem for the exception.

    <b>Web is below:</b>
    Error when processing your request
    <b>What has happened?</b>
    The URL http://xxxxxxx.xxxxx:xxxxxx/sap/bc/bsp/sap/xxxxxxx/result.htm was not called due to an error.
    <b>Note</b>
    The following error text was processed in the system D50 : The current application triggered a termination with a short dump.
    The error occurred on the application server sapcidev01_D50_00 and in the work process 1 .
    The termination type was: RABAX_STATE The ABAP call stack was:
    Form: DIALOG_CHECK of program CL_IMC_MODE===================CP
    Form: PREPARE_MODE of program CL_IMC_MODE===================CP
    Form: GET_MODE_BY_NAME of program CL_IMC_MODE===================CP
    Form: SEND_COMMAND of program CL_DV_IMC_CLIENT==============CP
    Form: PROCESS_COMMAND of program CL_DV_SDV=====================CP
    Form: DISP_DOC of program CL_DV_SDV=====================CP
    Form: DISP_AO_DOC of program CL_DV_SDV_AO==================CP
    Form: DISP_AO_DOCS of program CL_DV_SDV_AO==================CP
    Function: ALINK_DISPLAY_IMC of program SAPLALINK_DISPLAY_DOCUMENT
    Function: ARCHIVOBJECT_DISPLAY of program SAPLOPTA
    <b>What can I do?</b>
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system D50 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapcidev01_D50_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server sapcidev01_D50_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 151 -u: 117846 -l: E -s: D50 -i: sapcidev01_D50_00 -w: 1 -d: 20070320 -t: 062938 -v: RABAX_STATE -e: MESSAGE_TYPE_X
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    <b>Run ST22 and information is below:</b>
    Source Code Extract
    Line SourceCde
    1 METHOD DIALOG_CHECK.
    2 DATA: GUI_FLAG TYPE SY-BATCH.
    3
    4 * IMC NUR in Online-Modus ? (kein Batch und dunkle Batch-Input-Betrieb)
    5 IF GUI_IS_ON IS INITIAL.
    6 CALL FUNCTION 'RFC_IS_GUI_ON'
    7 EXPORTING
    8 LOGIN_CHECK = ' '
    9 IMPORTING
    10 ON = GUI_FLAG.
    11
    12 IF GUI_FLAG <> 'Y'.
    13 IF RABAX IS INITIAL.
    14 CLEAR EXISTS.
    15 ELSE.
    >>>>> MESSAGE X005(IMC).
    17 ENDIF.
    18 ELSE.
    19 GUI_IS_ON = 'Y'.
    20 EXISTS = 'X'.
    21 ENDIF.
    22 ELSE.
    23 EXISTS = 'X'.
    24 ENDIF.
    25
    26 ENDMETHOD.
    i can access the other bsp web.but this bsp application raises the exception. Who can help solve the problem?
    I appreciate your help.

    Is it SAP BSP application or custom?
    If its custom,check whether you are using any MESSAGE statements. Handle all the Exceptions from Class/Methods/Function module to avoid the Dump.
    Raja T

  • Why am i not able to see the exception message?

    i wrote an 'instead of insert' trigger on a view.
    and there are some exception situations in which the insertion should be stopped. my trigger works correctly. i mean it implements its purpose. however, the message i am taking after the trigger execution is not satisfying. ( i am using iSQL*Plus as the editor.)
    here is my trigger: (after trigger there is some extra explanation below.)
    CREATE OR REPLACE TRIGGER DemandOfCourses_T1_II
    INSTEAD OF INSERT ON DemandOfCourses
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
         cpc NUMBER;
         currentNum NUMBER;
    stud1 NUMBER;
         stud2 NUMBER;
         prec     NUMBER;
    exc1 EXCEPTION;
    exc2 EXCEPTION;
    BEGIN
         SELECT capacity
         INTO cpc
         FROM LimitedCourse
         WHERE course = :NEW.course;
         IF cpc IS NULL THEN
              cpc := 1000;
         END IF;
         SELECT COUNT(course)
    INTO currentNum
    FROM Registered
    WHERE course = :NEW.course;
         SELECT COUNT(student)
         INTO stud1
         FROM Registered
         WHERE student = :NEW.student
         AND course = :NEW.course;
         SELECT COUNT(student)
         INTO stud2
         FROM WaitingFor
         WHERE student = :NEW.student
         AND course = :NEW.course;
         SELECT COUNT(hp.preCourse)
         INTO prec
         FROM HasPrereq hp
         WHERE hp.course = :NEW.course
         AND hp.preCourse NOT IN (SELECT course FROM CourseResult WHERE student = :NEW.student);
         IF (prec = 0) THEN
         IF (stud1 = 0) AND (stud2 = 0) THEN
         IF (currentNum = cpc) THEN
              INSERT INTO WaitingFor
              VALUES (:NEW.student, :NEW.course, SYSDATE);
         ELSE
              INSERT INTO Registered
              VALUES (:NEW.student, :NEW.course);
         END IF;
         ELSE
         RAISE exc1;
         END IF;
         ELSE
         RAISE exc2;
         END IF;
         EXCEPTION
         WHEN exc1 THEN
              RAISE_APPLICATION_ERROR (-20002, 'Already registered for this course.');
         WHEN exc2 THEN
              RAISE_APPLICATION_ERROR (-20003, 'First the prerequesite course(s) must be taken.');
         WHEN NO_DATA_FOUND THEN
              NULL;
    END;
    for eample, if i want to insert the row below:
    INSERT INTO DemandOfCourses VALUES (100005, 'BAK127', 'REGISTERED');
    -- 100005 : STUDENT ID
    -- BAK127 : COURSE CODE
    -- REGISTERED : SITUATION
    when i run this insert comment, i receive this result:
    1 row created.
    Actually, it should not insert anything. and it is not inserting anything. i mean, it is working correctly. however, i want it to write my exception message: "-20003, 'First the prerequesite course(s) must be taken.'"
    why cannot i see my expected exception message?
    all the data and structure is certainly true. if you have a question about them, i can answer.
    by the way, i will catch this exception from my java code. what should i do in this situation?
    any help will be appreciated.
    regards

    Hi,
    i don't understand your logic.
    See, I added output to trace the counters value :
    SQL> drop table courses cascade constraints;
    Table dropped.
    SQL> CREATE TABLE Courses (
      2  code VARCHAR2(15),
      3  name VARCHAR2(40) NOT NULL,
      4  credit NUMBER(2) CHECK (credit BETWEEN 1 AND 20),
      5  PRIMARY KEY (code)
      6  );
    Table created.
    SQL>
    SQL> drop table LimitedCourse;
    Table dropped.
    SQL> CREATE TABLE LimitedCourse (
      2  course VARCHAR2(15),
      3  capacity NUMBER(3) NOT NULL,
      4  PRIMARY KEY (course),
      5  FOREIGN KEY (course) REFERENCES Courses(code)
      6  );
    Table created.
    SQL>
    SQL> drop table Registered;
    Table dropped.
    SQL> CREATE TABLE Registered (
      2  student NUMBER(6),
      3  course VARCHAR2(15),
      4  PRIMARY KEY (student, course),
      5  --FOREIGN KEY (student) REFERENCES Students(studentID),
      6  FOREIGN KEY (course) REFERENCES Courses(code)
      7  );
    Table created.
    SQL>
    SQL> drop table WaitingFor;
    Table dropped.
    SQL> CREATE TABLE WaitingFor (
      2  student NUMBER(6),
      3  course VARCHAR2(15),
      4  regisDate TIMESTAMP NOT NULL,
      5  PRIMARY KEY (student, course),
      6  --FOREIGN KEY (student) REFERENCES Students(studentID),
      7  FOREIGN KEY (course) REFERENCES Courses(code)
      8  );
    Table created.
    SQL>
    SQL> drop table HasPrereq ;
    Table dropped.
    SQL> CREATE TABLE HasPrereq (
      2  course VARCHAR2(15),
      3  preCourse VARCHAR2(15),
      4  PRIMARY KEY (course, preCourse),
      5  FOREIGN KEY (course) REFERENCES Courses(code),
      6  FOREIGN KEY (preCourse) REFERENCES Courses(code)
      7  );
    Table created.
    SQL>
    SQL>
    SQL> drop table CourseResult;
    Table dropped.
    SQL> CREATE TABLE CourseResult (
      2  student NUMBER(6),
      3  course VARCHAR2(15));
    Table created.
    SQL>
    SQL> CREATE OR REPLACE VIEW DemandOfCourses (student, course, situation) AS
      2  (SELECT student, course, 'REGISTERED' FROM Registered)
      3  UNION
      4  (SELECT student, course, 'WAITING' FROM WaitingFor);
    View created.
    SQL>
    SQL> INSERT INTO Courses VALUES ('EDA242', 'MATHEMATICS 1', 5);
    1 row created.
    SQL>
    SQL> INSERT INTO LimitedCourse VALUES ('EDA242', 15);
    1 row created.
    SQL>
    SQL>
    SQL> CREATE OR REPLACE TRIGGER DemandOfCourses_T1_II
      2  INSTEAD OF INSERT ON DemandOfCourses
      3  REFERENCING NEW AS NEW OLD AS OLD
      4  FOR EACH ROW
      5  DECLARE
      6   cpc NUMBER;
      7   currentNum NUMBER;
      8   stud1 NUMBER;
      9   stud2 NUMBER;
    10   prec NUMBER;
    11   exc1 EXCEPTION;
    12   exc2 EXCEPTION;
    13 
    14  BEGIN
    15 
    16  SELECT capacity
    17  INTO cpc
    18  FROM LimitedCourse
    19  WHERE course = :NEW.course;
    20  dbms_output.put_line('cpc '||cpc);
    21 
    22  IF cpc IS NULL THEN
    23   cpc := 1000;
    24  END IF;
    25 
    26 
    27  SELECT COUNT(*)
    28  INTO currentNum
    29  FROM Registered
    30  WHERE course = :NEW.course;
    31  dbms_output.put_line('currentNum '||currentNum);
    32 
    33  SELECT COUNT(*)
    34  INTO stud1
    35  FROM Registered
    36  WHERE student = :NEW.student
    37  AND course = :NEW.course;
    38  dbms_output.put_line('stud1 '||stud1);
    39 
    40  SELECT COUNT(*)
    41  INTO stud2
    42  FROM WaitingFor
    43  WHERE student = :NEW.student
    44  AND course = :NEW.course;
    45  dbms_output.put_line('stud2 '||stud2);
    46 
    47 
    48  SELECT COUNT(*)
    49  INTO prec
    50  FROM HasPrereq hp
    51  WHERE hp.course = :NEW.course
    52  AND hp.preCourse NOT IN (SELECT course FROM CourseResult WHERE student = :NEW.student);
    53  dbms_output.put_line('prec '||prec);
    54 
    55 
    56  IF (prec = 0) THEN
    57   IF (stud1 = 0) AND (stud2 = 0) THEN
    58    IF (currentNum = cpc) THEN
    59     dbms_output.put_line('IF_1');
    60     INSERT INTO WaitingFor
    61     VALUES (:NEW.student, :NEW.course, SYSTIMESTAMP);
    62    ELSE
    63     dbms_output.put_line('ELSE_1');
    64     INSERT INTO Registered
    65     VALUES (:NEW.student, :NEW.course);
    66    END IF;
    67   ELSE
    68    dbms_output.put_line('ELSE_2');
    69    RAISE exc1;
    70   END IF;
    71  ELSE
    72   dbms_output.put_line('ELSE_3');
    73   RAISE exc2;
    74  END IF;
    75 
    76  EXCEPTION
    77  WHEN exc1 THEN RAISE_APPLICATION_ERROR (-20002, 'Already registered for this course.');
    78  WHEN exc2 THEN RAISE_APPLICATION_ERROR (-20003, 'First the prerequesite course(s) must be taken
    79  WHEN NO_DATA_FOUND THEN dbms_output.put_line('NO_DATA_FOUND');
    80  END;
    81  /
    Trigger created.
    SQL>
    SQL> INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED');
    cpc 15
    currentNum 0 --here all count are 0, also you insert...
    stud1 0
    stud2 0
    prec 0
    ELSE_1
    1 row created.
    SQL> INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED');
    INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED')
    ERROR at line 1:
    ORA-20002: Already registered for this course. --For the second time, you have your excetion...
    ORA-06512: at "SCOTT.DEMANDOFCOURSES_T1_II", line 73
    ORA-04088: error during execution of trigger 'SCOTT.DEMANDOFCOURSES_T1_II'
    SQL> Nicolas.

  • How to display the 500-internal server error on the Exception Handler page

    Hello
    My situation is as follows : JDev 11.1.1.0.2, ADF fusion application, one unbounded task flow containing 2 view pages view1.jspx and error.jspx
    The error jspx is marked as the exception handler.
    When an error occurs (typically a 500-Internal Server Error) the error.jspx is correctly displayed and shows our message such as 'Don't panic, please call our tech support'
    What I would like to do is to display the actual error stack on this page along with our message.
    I've searched around and I can't find how to either get the error stack in a bean or what EL expression should be used to get the error stack.
    Can anybody help ?
    Best Regards
    Paul
    Switzerland

    The error will be the same, but the stack trace will be different, such as
    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Echec de la vérification des autorisations : '/view1.jspx' 'VIEW'.
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:145)
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:124)
         at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:639)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:449)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:44)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:529)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:118)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:166)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent
    What I would like is to display the above stack trace on the page marked as the exception handler....
    Regards
    Paul

  • I get the exception information from GMail link which I can load directly why?

    Server Error in '/' Application.
    Forum does not exist - SectionID/ApplicationKey: 2
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: CommunityServer.Components.CSException: Forum does not exist - SectionID/ApplicationKey: 2
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [CSException: Forum does not exist - SectionID/ApplicationKey: 2]
    CommunityServer.Components.PermissionBase.RedirectOrException(CSExceptionType csEx, ApplicationType appType, String message) +134
    CommunityServer.Discussions.Components.Forums.GetForumNew(Int32 forumID, Boolean cacheable, Boolean ignorePermissions, Boolean allowNullReturn) +154
    CommunityServer.Discussions.Components.Forums.GetForum(Int32 forumID, Boolean cacheable, Boolean ignorePermissions, Boolean allowNullReturn) +128
    CommunityServer.Discussions.Components.Forums.GetForum(Int32 forumID) +48
    CommunityServer.Discussions.Components.ForumPost.get_Section() +29
    CommunityServer.Discussions.Components.ForumPost.get_Forum() +8
    CommunityServer.Discussions.Controls.BreadCrumb.AddPost(List`1 links, ForumPost p) +22
    CommunityServer.Discussions.Controls.BreadCrumb.get_DataSource() +376
    System.Web.UI.WebControls.Repeater.ConnectToDataSourceView() +183
    System.Web.UI.WebControls.Repeater.OnLoad(EventArgs e) +19
    CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +12
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +265
    System.Web.UI.ControlCollection.Add(Control child) +80
    CommunityServer.Controls.ConditionalContent.AddContentControls() +185
    CommunityServer.Controls.WrappedContentBase.CreateControlHierarchy() +107
    CommunityServer.Controls.WrappedContentBase.CreateChildControls() +32
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +44
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209

    The only properties and methods for the Link object are listed in the Acrobat JS API Reference you linked to. JavaScript can set a link action, but once set it is not retrievable by JS.
    You should be able to write an plug-in with that could be added to a user's system to access this data.

  • What's the meaning of "...(Complied Code)" in the exception messages?

    Hi all,
    I'm monitoring a program running abnormally. In its log, I see many exceptions like "at XXX.YYY.methodFoo(YYY.java (Compiled Code))" which is not sufficient for me to locate where in the code this exception is thrown.
    At first, I thought because I was using a jar which only contains compiled byte codes so that there's no message about the line numbers where exceptions were thrown.
    But then, I found that in the log there were also many exceptions like "at XXX.YYY.methodBar(YYY.java: 123))". What is strange is that two exceptions were thrown respectively in two methods belonging to the same class, and one exception has line number but another doesn't!!!
    So I guess the "...(Complied Code)" has different meaning. Maybe it means that JIT has complied it into native instructions so that JVM can't trace back the line from which the exception is thrown?
    Can anyone tell me the meaning of "...(Compiled Code)"?
    Thanks!

    'Compiled code' means it was compiled with -g:none or some other -g: option excluding line number information.

  • Write and read txt files and catch the exceptions

    hey everyone, im in a bit of a bind. im trying to set up this try catch statement. here is what i have for code so far.
    import java.util.Scanner;
    import java.io.*;
    public class Warning
        //   Reads student data (name, semester hours, quality points) from a
        //   text file, computes the GPA, then writes data to another file
        //   if the student is placed on academic warning.
        public static void main (String[] args)
         int creditHrs;         // number of semester hours earned
         double qualityPts;     // number of quality points earned
         double gpa;            // grade point (quality point) average
         String line, name, inputName = "students.dat";
         String outputName = "warning.dat";
         try
              Scanner FileScan1 = new Scanner (new File("students.dat"));
              // Set up scanner to input file
              // Set up the output file stream
              // Print a header to the output file
              outFile.println ();
              outFile.println ("Students on Academic Warning");
              outFile.println ();
              // Process the input file, one token at a time
              while (FileScan1.hasNext())//there is another line...
                  {               // Get the credit hours and quality points and
                   // determine if the student is on warning. If so,
                   // write the student data to the output file.
              // Close output file
         catch (FileNotFoundException exception)
              System.out.println ("The file " + inputName + " was not found.");
         catch (IOException exception)
              System.out.println (exception);
         catch (NumberFormatException e)
              System.out.println ("Format error in input file: " + e);
    }I am pretty sure the layout is good to go, but first and foremost that try statement is hanging me up. Could someone give me some suggestions about how i should set this up.
    i want to read in this students.dat file, then output another file called warning.dat.
    Thanks i really appreicate the help.

    no, i was really hoping to just see if the way it is
    set up it will be doable, that way i wouldn't be
    working on code that was impossiable to sort through
    properlyFair enough.
    One thing I'd suggest is that if you're really basically only going to be printing the exceptions, and since that is the top-level method (main) --
    I'd instead just add some "throws" clauses to main, get rid of the try/catch stuff, and just let the VM handle the exceptions for you. It will print them, just like you're doing, except that it will also print the stack traces, which you are not doing.
    If you're going to handle exceptions, it's better to actually do something about them rather than just print them - otherwise you might just as well let the runtime do that for you.

  • Can we trace the values in  a cursor if we debug the package?

    Can we trace the values in a cursor if we debug the package having a cursor?
    Does it shows cursor attributes like %rowcount,%notfound,%found etc?
    Because i am debugging a pachage , and I am getting the exception.
    And its after the fetching of a cursor I am hitting on the exception.
    If I click the profilier after I debug, its showing the error ora 1775::looping chain of synonyms.
    The scenario is after the fetching of cursor, i am hitting the exception and after debug If i see the profilier I am getting the error 1775::looping chain of synonyms.

    Firslty, thanks for your time.
    I am using the PLSQL developer.
    The select command in the cursor picks tha value but when it fetches, it is showing the error.
    Any idea what could be the reason.?
    FETCH get_notices ----would show ( rowcount =0,%open,first iteration), does that mean cursor is not picking any value?
    Because i have checked the select statement and it picks the value.

  • Capturing trace of exception

    Suppose following stored procedure:
    PROCEDURE TEST_PRC
    IS
    BEGIN
    RAISE VALUE_ERROR;
    END;
    If I call this procedure in Sql*Plus, I get:
    BEGIN test_prc; END;
    ERROR in line 1:
    .ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SCH_PERSONEN.TEST_PRC", line 4
    ORA-06512: at line 1
    I can see exactly on which line the exception was raised: line 4.
    I can see this linenumber also in Sql*Navigator or in de stacktrace of the SqlException in a Java-program.
    But how can I catch this information to store in a logtable ?
    When I change the stored procedure as follows, I get only the number of the line where format_call_stack is called.
    But I want the number of the line where the exception is raised !!!
    PROCEDURE TEST_PRC
    IS
    BEGIN
    RAISE VALUE_ERROR;
    EXCEPTION
    WHEN VALUE_ERROR THEN
    DBMS_OUTPUT.put_line(SUBSTR(DBMS_UTILITY.format_error_stack || DBMS_UTILITY.format_call_stack, 1, 255));
    END;
    The output in Sql*Plus is:
    ORA-06502: PL/SQL: numeric or value error
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2ae87f14 7 procedure SCH_PERSONEN.TEST_PRC
    291f19b4 1 anonymous block

    Start at the top and work your way back. If the error was in a class you did not write, read thru the trace until you get to the class you wrote and figure out what might be wrong there that could have caused the problem. Other than that, Norweed is right in saying it is a case by case basis.

  • I am facing a problem while deploying an Entity bean in iPlanet(sp3).I have attached the exception thrown.Why has this exception occured?

    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)

    Hi,
    I think you are trying to test the Hello world EJB example shipped with the product. As a first
    step I would recomend you to go through every line of the document on deploying this application,
    since, I too have experienced many errors while trying to deploy the sample applications, but on
    following the documentation, I subsequently overcame all the errors and have been working with the
    applications. So please follow the steps in documentation and let me know, if you still encounter any
    issues.
    Regards
    Raj
    Sandhya S wrote:
    I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
    have attached the exception thrown.Why has this exception occured?
    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
    exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at
    com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
    Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Trace line exception Lightswitch app C#

    Hi,
    I am developping a web lightswitch application using C#. I am trying in the production environment to trace the line of code where an exception is fired. Nothing has worked for me. Can anyone help ?
    Thanks 

    HI firsni,
    If you want to get line number from Exception using C#, you can refer to code snippet below.
    try
    throw new Exception();
    catch (Exception ex)
    // Get stack trace for the exception with source file information
    var st = new StackTrace(ex, true);
    // Get the top stack frame
    var frame = st.GetFrame(0);
    // Get the line number from the stack frame
    var line = frame.GetFileLineNumber();
    Hope it helps.
    Best regards,
    Angie
    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.

Maybe you are looking for

  • Limiting maximum rows for page of a D2K report

    Hi all I have created a report which is giving 96 rows and i want to print only 24 rows per page . for repeating frame in propert i have set maximum record per page as 24 .It is working fine while running in report builder. but after uploading in erp

  • Export data using SUBMIT

    I want to export a field from program1 into selct-options of another program....i recieved some reply  for this but they all  have use of export and import statement. but I have to do this only by SUBMIT statement.please suggest me for this with vey

  • Searching in calendars - won't find events #Driving me mad!!

    Hi! When I search for certain events in my iphone calendar it is unable to find them! why is this? This is so disruptive to my business! I have lost a lot of work over this.

  • CS3: Cycle through fonts?

    Back in the dark days, in Quark I always would highlight the text, and then use option + F7 or F8 (i think) to "scroll" up or down through the open fonts. That was SO helpful. Is there ANY way to do that in InDesign CS3? I've looked, and can't find :

  • Transport Request and Process Chain - Together?

    Hi, Is it safe to transport a request while a process chain is being run? Need your expert advice. Thanks!