Af:dialog cancel problem on new VO row

Using 11.1.1.4.
I have an af:popup that contains an af:dialog which itself contains enterable components mapped to VO attributes, the first being an af:selectOneChoice (body-part list). The body-part list draws from an LOV setup on the underlying VO attribute. The LOV RowSet is initialized in the model tier for the row each time the popup is invoked to ensure it contains all the values allowed.
Everything works fine except when:
a) user adds a new row to the underlying VO and invokes the popup to initialize the new row values, and
b) user selects a value out of the body-part list, and
c) user elects to Cancel the dialog
The PopupCanceledEvent fires a Delete Operation on the underlying VO in the above case, to remove the new row just added.
All this works fine, but if the dialog is now invoked either for another new row, or for an existing row, the body-part list shows the value that was selected at b) above and not the value as it is in the Model row (this has been verified). If I add and delete the row using the Delete Operation off an icon above the VO table (outside the dialog), then no issues. The problem doesn't correct itself unless / until user goes in to the dialog again and completes the add row process by hitting the dialog OK button. User can then delete this new row using the icon, and then edit and add operations all work fine again.
Everything in the model looks fine, the problem just seems to be that the UI components in the dialog aren't initializing properly from the values I know to be in the model WHEN AND ONLY WHEN the dialog has been canceled on the add of a new row (cancel of an edit doesn't cause the problem). I've tried various PPR requests to try and sync the components up with the bound values, but no luck.
Does anyone have any suggestions as to what might be going on here ?
Thanks,

Thanks, again that's fixed it up. Appreciate the support.
I put a ResetUtils.reset(body-part-list component) in the bean member handling the PopupCanceledEvent and it all works fine now. Don't really understand what's going on here, and why the manual reset is required for this item, but it's working ...
Thanks again,

Similar Messages

  • Problem deleting new uncommited rows

    I am unable to create a new object, assign a sequence number and then delete that object (before ever committing to the DB).
    I am using ADF toplink binding methods to create and delete the object (createInsert & delete). Once created, I associate to the parent object and assign a sequence number.
    - unitOfWork.assignSequenceNumber(theNewObject)
    - theNewObject.setParentObject(parentObj)
    From here, I'd like to delete theNewObject - effectively, never perform the insert.
    To you TopLink experts - how should I delete theNewObject or avoid having the unit of work create the insert statements?
    I tried clearing the collection - parentObj.getChildObjectCollection().clear() - and expected that to deregister the object and never create an insert statement but that didn't work.
    Please help!!! Thanks.
    jj

    I'm not sure it will help, but are you able to "unRegister" the object from the UOW?
    - Don

  • Dialog Box Problem

    i have created dialog box manually using stage and modility. the problem is when the dialog box executes the code following dialog box
    gets executed before closing the dialog box. i want to use it like confirmation box in swing. i want to stop further execution of code till yes/no button of dialog box clicked.please suggest... please help me....

    Ok, so it doesn't look like there is an easy way to do modality in JFX. I had thought since Swing does and JFX uses the same threading model that it should be do-able, but from what I can tell, Swing does some serious magic under the covers to make modal dialogs work.
    Your best bet probably is to use callbacks instead. Make your own dialog window and instead of doing something like this:
    int choice = MyDialog.show("Are you sure you want to do that?");
    if (choice == MyDialog.OK)
        doTheAction();
    } Do something more like:
    MyDialog dialog = new MyDialog("Are you sure you want to do that?");
    dialog.setOnOk(new EventHandler<ActionEvent>()
        public void handle(ActionEvent actionEvent)
            doTheAction();
    });In fairness, that is probably a bit more 'correct' anyway and inline with the JFX style of doing things (although it is more code).
    Here's some very, very rough code for doing something like what you want. You could obviously customise the class to take an enum of the button options available etc. It could all be improved a lot.
    public class TestApp extends Application
        public static void main(String[] args) throws Exception
            launch(args);
        public void start(final Stage stage) throws Exception
            StackPane rootPane = new StackPane();
            FlowPane contentPane = new FlowPane();
            BorderPane dialogContent = new BorderPane();
            dialogContent.setStyle("-fx-background-color: white");
            dialogContent.setCenter(new Label("This is a dialog"));
            final Dialog dialog = new Dialog(dialogContent);
            dialog.setOnOk(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Ok selected");
            dialog.setOnCancel(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Cancel selected");
            Button showDialogButton = new Button("Show Dialog");
            showDialogButton.setOnAction(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    dialog.show(stage);
            contentPane.getChildren().add(showDialogButton);
            rootPane.getChildren().add(contentPane);
            BorderPane glassPane = new BorderPane();
            glassPane.setStyle("-fx-background-color: rgba(200, 200, 200, 0.5)");
            glassPane.visibleProperty().bind(dialog.showingProperty());
            rootPane.getChildren().add(glassPane);
            Scene scene = new Scene(rootPane, 300, 300);
            stage.setScene(scene);
            stage.show();
        private class Dialog extends Popup
            private BorderPane root;
            private EventHandler<ActionEvent> onOk;
            private EventHandler<ActionEvent> onCancel;
            private Button cancelButton;
            private Dialog(Node content)
                root = new BorderPane();
                root.setPrefWidth(200);
                root.setPrefHeight(200);
                root.setStyle("-fx-background-color: white; -fx-border-width: 1; -fx-border-color: gray");
                root.setTop(buildTitleBar());
                root.setCenter(content);
                root.setBottom(buildButtonBar());
                getContent().add(root);
            public void setOnOk(EventHandler<ActionEvent> onOk)
                this.onOk = onOk;
            public void setOnCancel(EventHandler<ActionEvent> onCancel)
                this.onCancel = onCancel;
            public void setContent(Node content)
                root.setCenter(content);
            private Node buildTitleBar()
                BorderPane pane = new BorderPane();
                pane.setStyle("-fx-background-color: #0000aa; -fx-text-fill: white; -fx-padding: 5");
                pane.setOnMouseDragged(new EventHandler<MouseEvent>()
                    public void handle(MouseEvent event)
                        // not sure why getX and getY don't work
                        // double x = getX() + event.getX();
                        // double y = getY() + event.getY();
                        double x = event.getScreenX();
                        double y = event.getScreenY();
                        setX(x);
                        setY(y);
                Label title = new Label("My Dialog");
                pane.setLeft(title);
                Button closeButton = new Button("X");
                closeButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                pane.setRight(closeButton);
                return pane;
            protected Node buildButtonBar()
                FlowPane pane = new FlowPane(6, 6);
                pane.setAlignment(Pos.CENTER);
                Button okButton = new Button("OK");
                okButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onOk != null)
                            onOk.handle(actionEvent);
                pane.getChildren().add(okButton);
                Button cancelButton = new Button("Cancel");
                cancelButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onCancel != null)
                            onCancel.handle(actionEvent);
                pane.getChildren().add(cancelButton);
                return pane;
    }

  • Error while creating a new entity row in Create Page

    Hello all,
    I am facing a problem while coming to the Create Page from the Search page.In the process request of the controller i am initializing the row of the table like below
    public void createxx()
    xxVOImpl vo = this.getxxVO1();
    vo.setMaxFetchSize(-1);
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    which has a primary key while initializing only i am getting bellow exception.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for xxEO
    Kindly help

    Hi,
    replace
    xxVOImpl vo = this.getxxVO1();
    vo.setMaxFetchSize(-1);
    with
    OAViewObject vo = getxxVO1();
    vo.setMaxFetchSize(0);
    Thanks,
    Gaurav

  • 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.

  • Problems with Click a row in the Table

    Dear All,
    I am new to Java GUI. I got some problems with clicking the row in a table.
    My table allows the user to delete some rows fromt the table. When the user click a row or some rows in my table, the delete button should be enabled. It does work in most of the time. But sometimes, even the row being hight lighted, the button is still not enabled.
    Do you have any idea for what can cause this problem?
    What I did is :
    1. add a mouse listener to the table
    _userTable.addMouseListener(new java.awt.event.MouseAdapter()
    public void mouseClicked(MouseEvent e)
    userList_mouseClicked(e);
    2. then, if the row being selected is > 0, I will enable my delete button.
    Can anybody help?
    Thanks!

    Dear All,
    I am getting problems with single selection in a table. Although I have set the selection model to single, if I select a row int the table and then depress Ctrl/Shift multiple rows are selected.
    The code for set single selection is :
    ListSelectionModel seleModel = myTable.getSelectionModel();
    seleModel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    Any idea about this? Is this a bug in JAVA?
    Thanks!

  • Problem of deletion of rows in jtable, table refreshing too

    Hi,
    I have a table with empty rows in the beginning with some custom properties( columns have fixed width...), later user would be adding to the rows to this table and can delete, I've a problem while deleting the rows from table,
    When a selected row is deleted the model is also deleting the data but the table(view) is not refreshed.
    Actually i'm selecting a cell of a row, then hitting the delete button.
    So the model is deleting the information, but i'm not able to c the fresh data in table( especially when the last cell of last row is selectd and hit the delete button, i am getting lots of exception)
    Kindly copy the below code and execute it, and let me know,
    * AuditPanel.java
    * Created on August 30, 2002, 3:05 AM
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.table.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.util.Vector;
    * @author yaman
    public class AuditPanel extends javax.swing.JPanel {
    // These are the combobox values
    private String[] acceptenceOptions;
    private Vector colNames;
    private Color rowSelectionBackground = Color.yellow;
    private int rowHeight = 20;
    private int column0Width =70;
    private int column1Width =96;
    private int column2Width =327;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable jTable1;
    /** Creates new form AuditPanel */
    public AuditPanel() {
    public void renderPanel(){
    initComponents();
    public String[] getAcceptenceOptions(){
    return acceptenceOptions;
    public void setAcceptenceOptions(String[] acceptenceOptions){
    this.acceptenceOptions = acceptenceOptions;
    public Vector getColumnNames(){
    return colNames;
    public void setColumnNames(Vector colNames){
    this.colNames = colNames;
    public Vector getData(){
    Vector dataVector = new Vector();
    /*dataVector.add(null);
    dataVector.add(null);
    dataVector.add(null);
    return dataVector;
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;
    jPanel2 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    jTable1 = new javax.swing.JTable();
    setLayout(new java.awt.GridBagLayout());
    setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
    jPanel2.setLayout(new java.awt.GridBagLayout());
    jPanel2.setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
    jButton1.setText("Add");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 8;
    gridBagConstraints.insets = new java.awt.Insets(0, 1, 5, 0);
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    jPanel2.add(jButton1, gridBagConstraints);
    jButton2.setText("Delete");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    jPanel2.add(jButton2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    add(jPanel2, gridBagConstraints);
    jPanel1.setLayout(new java.awt.GridBagLayout());
    jPanel1.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED, Color.black, Color.gray) );
    jTable1.setModel(new javax.swing.table.DefaultTableModel(getData(), getColumnNames()));
    // get all the columns and set the column required properties
    java.util.Enumeration enum = jTable1.getColumnModel().getColumns();
    while (enum.hasMoreElements()) {
    TableColumn column = (TableColumn)enum.nextElement();
    if( column.getModelIndex() == 0 ) {
    column.setPreferredWidth(column0Width);
    column.setCellEditor( new ValidateCellDataEditor(true) );
    if( column.getModelIndex() == 1) {
    column.setPreferredWidth(column1Width);
    column.setCellEditor(new AcceptenceComboBoxEditor(getAcceptenceOptions()));
    // If the cell should appear like a combobox in its
    // non-editing state, also set the combobox renderer
    //column.setCellRenderer(new AcceptenceComboBoxRenderer(getAcceptenceOptions()));
    if( column.getModelIndex() == 2 ) {
    column.setPreferredWidth(column2Width); // width of column
    column.setCellEditor( new ValidateCellDataEditor(false) );
    jScrollPane1 = new javax.swing.JScrollPane(jTable1);
    jScrollPane1.setPreferredSize(new java.awt.Dimension(480, 280));
    jTable1.setMinimumSize(new java.awt.Dimension(60, 70));
    //jTable1.setPreferredSize(new java.awt.Dimension(300, 70));
    //jScrollPane1.setViewportView(jTable1);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    jPanel1.add(jScrollPane1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    add(jPanel1, gridBagConstraints);
    // set the row height
    jTable1.setRowHeight(rowHeight);
    // set selection color
    jTable1.setSelectionBackground(rowSelectionBackground);
    // set the single selection
    jTable1.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    // avoid table header to resize/ rearrange
    jTable1.getTableHeader().setReorderingAllowed(false);
    jTable1.getTableHeader().setResizingAllowed(false);
    // Table header font
    jTable1.getTableHeader().setFont( new Font( jTable1.getFont().getName(),Font.BOLD,jTable1.getFont().getSize() ) );
    jButton1.setMnemonic(KeyEvent.VK_A);
    // action of add button
    jButton1.addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent){
    // If a button press is the trigger to leave a JTable cell and save the data in model
    if(jTable1.isEditing() ){
    //System.out.println("table is edition ");
    String text=((javax.swing.text.JTextComponent)jTable1.getEditorComponent()).getText();
    jTable1.setValueAt(text,jTable1.getSelectedRow(),jTable1.getSelectedColumn()) ;
    jTable1.getCellEditor().cancelCellEditing();
    // find out total available rows
    int totalRows = jTable1.getRowCount();
    int cols = jTable1.getModel().getColumnCount();
    if( jTable1.getModel() instanceof DefaultTableModel ) {
    ((DefaultTableModel)jTable1.getModel()).addRow(new Object[cols]);
    int newRowCount = jTable1.getRowCount();
    // select the first row
    jTable1.getSelectionModel().setSelectionInterval(newRowCount-1,newRowCount-1);
    jButton2.setMnemonic(KeyEvent.VK_D);
    // action of Delete button
    jButton2.addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent){
    int totalRows = jTable1.getRowCount();
    // If there are more than one row in table then delete it
    if( totalRows > 0){
    int selectedOption = JOptionPane.showConfirmDialog(null,"Are you sure you want to delete this audit row?","Coeus", JOptionPane.YES_NO_OPTION);
    // if Yes then selectedOption is 0
    // if No then selectedOption is 1
    if(0 == selectedOption ){
    // get the selected row
    int selectedRow = jTable1.getSelectedRow();
    System.out.println("Selected Row "+selectedRow);
    if( selectedRow != -1 ){
    DefaultTableModel dm= (DefaultTableModel)jTable1.getModel();
    java.util.Vector v1=dm.getDataVector();
    System.out.println("BEFOE "+v1);
    v1.remove(selectedRow);
    jTable1.removeRowSelectionInterval(selectedRow,selectedRow);
    System.out.println("After "+v1);
    }else{
    // show the error message
    JOptionPane.showMessageDialog(null, "Please Select an audit Row", "Coeus", JOptionPane.ERROR_MESSAGE);
    } // end of initcomponents
    class AcceptenceComboBoxRenderer extends JComboBox implements TableCellRenderer {
    public AcceptenceComboBoxRenderer(String[] items) {
    super(items);
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus, int row, int column) {
    if (isSelected) {
    setForeground(table.getSelectionForeground());
    super.setBackground(rowSelectionBackground);
    } else {
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    // Select the current value
    setSelectedItem(value);
    return this;
    class AcceptenceComboBoxEditor extends DefaultCellEditor {
    public AcceptenceComboBoxEditor(String[] items) {
    super(new JComboBox(items));
    } // end editor class
    public class ValidateCellDataEditor extends AbstractCellEditor implements TableCellEditor {
    // This is the component that will handle the editing of the
    // cell value
    JComponent component = new JTextField();
    boolean validate;
    public ValidateCellDataEditor(boolean validate){
    this.validate = validate;
    // This method is called when a cell value is edited by the user.
    public Component getTableCellEditorComponent(JTable table, Object value,
    boolean isSelected, int rowIndex, int vColIndex) {
    if (isSelected) {
    component.setBackground(rowSelectionBackground);
    // Configure the component with the specified value
    JTextField tfield =(JTextField)component;
    // if any vaidations to be done for this cell
    if(validate){
    //tfield.setDocument(new JTextFieldFilter(JTextFieldFilter.NUMERIC,4));
    tfield.setText( ((String)value));
    // Return the configured component
    return component;
    // This method is called when editing is completed.
    // It must return the new value to be stored in the cell.
    public Object getCellEditorValue() {
    return ((JTextField)component).getText();
    // This method is called just before the cell value
    // is saved. If the value is not valid, false should be returned.
    public boolean stopCellEditing() {
    String s = (String)getCellEditorValue();
    return super.stopCellEditing();
    public void itemStateChanged(ItemEvent e) {
    super.fireEditingStopped();
    }//end of ValidateCellDataEditor class
    public static void main(String args[]){
    JFrame frame = new JFrame();
    AuditPanel auditPanel = new AuditPanel();
    frame.getContentPane().add(auditPanel);
    auditPanel.setAcceptenceOptions(new String[]{"Accepted", "Rejected", "Requested"} );
    java.util.Vector colVector = new java.util.Vector();
    colVector.add("Fiscal Year");
    colVector.add("Audit Accepted");
    colVector.add("Comment" );
    auditPanel.setColumnNames( colVector);
    auditPanel.renderPanel();
    frame.pack();
    frame.show();

    Hi,
    I've got the solution for it. As when the cursor is in cell of
    a row and hit the delete button, the data in that cell is not saved,
    So i'm trying to save the data first into the model then firing the action event by doing this ..
    jButton2.addActionListener( new ActionListener(){       
    public void actionPerformed(ActionEvent actionEvent){           
    // If a button press is the trigger to leave a JTable cell and save the data in model
    if(jTable1.isEditing() ){                   
    String text=((javax.swing.text.JTextComponent)jTable1.getEditorComponent()).getText();
    jTable1.setValueAt(text,jTable1.getSelectedRow(),jTable1.getSelectedColumn()) ;
    jTable1.getCellEditor().cancelCellEditing();
    // HERE DO THE DELETE ROW OPERATION
    <yaman/>

  • New detail rows not showing

    Hi,
    Here's a little background on my problem. We have a simple master-detail hierarchy. Both have a ViewObject. The problem lies in the fact that our detail VO has a filter using a bind variable. The bind variable value is determined (most of the time) at the VO execution time: bindParametersForCollection is overriden and passes a value for the bind variable if it is null. In our specific case the variable represents the username of the authenticated user.
    The main complexity lies in the UI. We present all the masters and their children in a single table in edit mode. We are using a tree binding with an accessor from the master node to the child node.
    Example
    Row 1: Master 1 Column 1 | Master 1 Column 2 | Master 1 Detail 1 Column 1 | Master 1 Detail 1 Column 2
                                                 | Master 1 Detail 2 Column 1 | Master 1 Detail 2 Column 2
                                                 | Master 1 Detail 3 Column 1 | Master 1 Detail 3 Column 2
    Row 2: Master 2 Column 1 | Master 2 Column 2 | Master 2 Detail 1 Column 1 | Master 2 Detail 1 Column 2
                                                 | Master 2 Detail 2 Column 1 | Master 2 Detail 2 Column 2
                                                 | Master 2 Detail 3 Column 1 | Master 2 Detail 3 Column 2
    Row 3: Master 3 Column 1 | Master 3 Column 2 | Master 3 Detail 1 Column 1 | Master 3 Detail 1 Column 2
                                                 | Master 3 Detail 2 Column 1 | Master 3 Detail 2 Column 2
                                                 | Master 3 Detail 3 Column 1 | Master 3 Detail 3 Column 2Everything works until we try to create new rows. In our use case, whenever we create a new master row, we also create a fixed number of detail rows. The number of detail rows depends on the context. Whenever we do this, the details rows do not show up in the UI.
    In my experimentations, I found that the problem was caused by the bind variable on the detail VO. Tracing the detail VO query execution I came to the conclusion that unposted rows where rejected from the QueryCollection when there’s a bind variable. The debugger shows that in VO#executeQueryForCollection the QueryCollection#mUnpostedRows list is empty when there’s a bind variable while it is not when there’re no bind variable.
    This is a major issue in our case, so I would like to know if you consider this as a bug (in my opinion it is). If yes, when can we expect a fix or workaround? Otherwise we’ll have to get around this problem by either finding a way to remove the bind variable OR do everything manually in a managed bean (which I would prefer not to have to do).
    I have reproduced the problem in a SRDemo test case. Test case has been sent to Steve Muench.
    Thanx!
    Olivier

    This looks very similar to Bug# 6412612 "New Row Lost After Executequery In Vo W/ Bind Variable In Where Clause", reported in the Tech Preview #2 release, and fixed in Tech Preview #3 (due out before the end of December 2007). Will try confirming with an in-house TP3 build that this fix fixes your testcase, too.

  • WAD input ready query with new blank rows

    Hi all,
    İ need to make an input ready query in wad with new blank rows under report.
    in mu query i can see posted values where i need blank rows as well.
    i have set number of new rows in analysis item.
    what else i should do.
    when i run my query, it gives warning that i have no columns that i can enter manually.
    Any help?
    thanks

    Hi,
    A few points that you should check:
    1) Whether all characteristics of the Aggregation level are restricted to one single value except for characteristics included in the rows;
    2) Whether all the characteristics included in the rows are displayed with the Key (with or without text);
    3) If you have a Unit characteristic in the row, it still has to be restricted to a single value in the filter.
    These are some of the typical reasons why I have encountered the same problem!
    Regards
    Sriram

  • Exchange 2013 CU 2 - Cmdlet cancelled. Cmdlet New-MoveRequest

    Hi All,
    I'm struggling with some issue in Exchange 2013 CU2 with user mailbox migration from Exchange 2010. When starting a Migration Batch via ECP site or from powershell i got an warning:
    Log Name: MSExchange Management
    Source: MSExchange CmdletLogs
    Date: 2014-01-09 14:52:30
    Event ID: 5
    Task Category: General
    Level: Warning
    Keywords: Classic
    User: N/A
    Computer: EXMBX1.Domain.local
    Description:
    Cmdlet cancelled. Cmdlet New-MoveRequest, parameters {TargetDatabase=MBXD1, ArchiveTargetDatabase=MBXD1_ARCH, WhatIf=True, Identity=Domain.local/User Name, BadItemLimit=0, BatchName=MigrationService:test_kar, CompletedRequestAgeLimit=7.00:00:00}.
    And the migration batch is in "Syncing" state. Is there any solution for this ? 
    -- Kamil Tatar

    Hi Kamil,
    You can use the following cmdlet to check what's wrong in the result.
    Get-MoveRequest -Identity "xxx" | Get-MoveRequestStatistics -IncludeReport | FL
    Here is a similar thread for your reference.
    Exchange 2013: batch to migrate users from 2010 database is hung at "Syncing"
    http://social.technet.microsoft.com/Forums/exchange/en-US/90403f75-e530-478a-ab68-27823b730f68/exchange-2013-batch-to-migrate-users-from-2010-database-is-hung-at-syncing-after-a-disaster?forum=exchangesvrdeploy
    Hope it helps.
    If there are any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Error while creating a new entity row for LoginPageEO.jbo.RowCreateExceptio

    hi all, i am new to OAF i have created a login page and trying to validate to a custom table which had two columns username and password, i am calling function from controller class which is in AM and from AM in turn i am calling function in VOimpl.java file where i am executing my query with whereClause, i am passing two parametere username and password to this function.
    if ((uname != null) && (!("".equals(uname.trim()))))
    whereClause.append(" UNAME = :");
    whereClause.append(bindCount++);
    parameters.addElement(uname);
    clauseCount++;
    if ((pass!= null) && (!("".equals(pass.trim()))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append(" PASSWORD = :");
    whereClause.append(bindCount++);
    parameters.addElement(pass);
    clauseCount++;
    setWhereClause(whereClause.toString());
    if (bindCount > 0)
    Object[] params = new Object[bindCount];
    // the copyInto() is 1.1.8 compliant which is required by ARU
    parameters.copyInto(params);
    setWhereClauseParams(params);
    //System.out.println(getQuery());
    executeQuery();
    //System.out.println(getRowCount())
    when i call this from login page i am getting
    Error - oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for LoginPageEO.
    Can any one help me out.

    If your requirement is not to update any DB Table then don't use an EO. I would suggest the following for your requirement of validating the username and password.
    - Create a VO that has the following query. Do not select any EO during the VO creation.
              SELECT 'x'
              FROM  <CUSTOM TABLE>
              WHERE <USERNAME COL> = :1
                  AND  <PASSWORD COL> = :2
            - Have the initQuery(..) Method in your VOImpl, that takes the username and password. Binds them to the VO and executes the query.
    - Have a method in your AM to take the username and password as parameters. Make a call to the above VO::initQuery(..)
    - In your controller's processFormRequest(..) call this AM Method upon the submit button action.
    This should work smoothly.
    The following is just for triaging the error that you have. The above steps, should help you achieve your requirement by itself, the below steps would not be required.
    Coming back to your issue. Any custom table should have the standard WHO Columns.
    - Modify the custom table to have these who columns.
    - In the EO Wizard, synchronize the EO to reflect the DB Structure.
    - Make sure the EO Attributes are marked updatable.
    Cause of your issue: Through you are not creating EO rows programatically, whenever a VO is based on an EO, upon execution of the VO query, EO's are automatically created, based on the number of rows returned by the VO Query. So internally its failing to created the EO Rows. On of the common reason would be that it creates the EO row, but cannot set the attributes from the VO, because the EO Attribute is readonly.
    Hope this clarifies.

  • Error while creating a new entity row for testEO

    Hi All,
    I have a 1st page where I enter the employeeNumber and that particular parameter should get displayed in the 2nd page when I click on the "SubmitButton".I am moving to the 2nd page using pageContext.forwardImmediately.I am passing my parameter with this URL.But, I am getting "Error while creating a new entity row for testEO" in my code before i enter anything in " employeeNumber " field in the 1st page.
    My CO code is:
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxfc.oracle.apps.test.OAProject1.webui;
    import com.sun.java.util.collections.HashMap;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.jbo.Row;
    import xxfc.oracle.apps.test.OAProject1.server.testVOImpl;
    * Controller for ...
    public class testCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
    testVOImpl vo1 = (testVOImpl)am.findViewObject("testVO1");
    vo1.executeQuery();
    Row r = vo1.first();
    System.out.println("**************Error in the below Line**********************");
    Row row = vo1.createRow();
    vo1.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
    OAViewObject vo1 = (OAViewObject)am.findViewObject("testVO1");
    if(!vo1.isPreparedForExecution())
    vo1.executeQuery();
    Row row = vo1.getCurrentRow();
    am.getOADBTransaction().commit();
    String strEvent = pageContext.getParameter(EVENT_PARAM);
    if (strEvent.equals("update"))
    String custId = pageContext.getParameter("CustID");
    pageContext.putParameter("CstID",custId);
    HashMap hashMap = new HashMap();
    hashMap.put("CustomerId",custId);
    am.getOADBTransaction().commit();
    pageContext.forwardImmediately("OA.jsp?page=/xxfc/oracle/apps/test/OAProject1/webui/popupPG&CustID=custId",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hashMap, //hashmap
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    thanks,
    Akshata

    Hi Niranjana,
    It did not work I am getting the same error.does the WHO column order in the table matters? My WHO columns are in the below order:
    LAST_UPDATE_DATE
    LAST_UPDATED_BY
    LAST_UPDATE_LOGIN
    CREATION_DATE
    CREATED_BY
    my error is:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for testEO.
    It appears on the top of my page as a message.
    Thanks,
    Akshata
    Edited by: Akshata on Mar 15, 2012 12:29 AM

  • Error while creating a new entity row

    This exception raise when i attempt to set an attribute in overwrite entity's create() method. Please show me what mistake did i take ? Thanks !!!
    My error stack says:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ManualEntry.
         void oracle.jbo.server.ViewRowStorage.create(oracle.jbo.AttributeList)
              ViewRowStorage.java:778
         void oracle.jbo.server.ViewRowImpl.create(oracle.jbo.AttributeList)
              ViewRowImpl.java:280
         oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              ViewObjectImpl.java:2105
         oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              QueryCollection.java:771
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1438
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1476
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
              ViewRowSetImpl.java:1460
         oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
              ViewObjectImpl.java:5400
         void oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt()
              JUCtrlActionBinding.java:315
         void oracle.jbo.uicli.controls.JUNavigationBar.doAction(int)
              JUNavigationBar.java:257
         void oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(java.awt.event.ActionEvent)
              JUNavigationBar.java:228
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
              BasicButtonListener.java:216
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85
    ## Detail 0 ##
    java.lang.NullPointerException
         void oracle.jbo.server.ViewDefImpl.processEntityAssociations()
              ViewDefImpl.java:3268
         com.sun.java.util.collections.ArrayList oracle.jbo.server.ViewAttributeDefImpl.getEntityAssociationReferences()
              ViewAttributeDefImpl.java:566
         void oracle.jbo.server.ViewObjectImpl.associatedReferenceEntities(oracle.jbo.server.ViewAttributeDefImpl, com.sun.java.util.collections.ArrayList)
              ViewObjectImpl.java:7697
         void oracle.jbo.server.ViewObjectImpl.sourceChanged(oracle.jbo.server.EntityEvent)
              ViewObjectImpl.java:7199
         void oracle.jbo.server.EntityCache.deliverEntityEvent(oracle.jbo.server.EntityEvent)
              EntityCache.java:504
         void oracle.jbo.server.EntityCache.notifyColumnChange(oracle.jbo.server.EntityImpl, int[], java.lang.Object[])
              EntityCache.java:534
         void oracle.jbo.server.EntityImpl.notifyAttributesChanged(int[], java.lang.Object[])
              EntityImpl.java:4034
         void oracle.jbo.server.EntityImpl.setAttributeValue(int, java.lang.Object)
              EntityImpl.java:1984
         void oracle.jbo.server.AttributeDefImpl.set(oracle.jbo.Row, java.lang.Object)
              AttributeDefImpl.java:1700
         void oracle.jbo.server.EntityImpl.setAttributeInternal(int, java.lang.Object)
              EntityImpl.java:941
         void vn.com.tivn.ticas.bc.ManualEntryImpl.setBatchlogid(oracle.jbo.domain.Number)
              ManualEntryImpl.java:152
         void vn.com.tivn.ticas.bc.ManualEntryImpl.create(oracle.jbo.AttributeList)
              ManualEntryImpl.java:128
         void oracle.jbo.server.EntityImpl.callCreate(oracle.jbo.AttributeList)
              EntityImpl.java:380
         void oracle.jbo.server.ViewRowStorage.create(oracle.jbo.AttributeList)
              ViewRowStorage.java:765
         void oracle.jbo.server.ViewRowImpl.create(oracle.jbo.AttributeList)
              ViewRowImpl.java:280
         oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              ViewObjectImpl.java:2105
         oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              QueryCollection.java:771
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1438
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1476
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
              ViewRowSetImpl.java:1460
         oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
              ViewObjectImpl.java:5400
         void oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt()
              JUCtrlActionBinding.java:315
         void oracle.jbo.uicli.controls.JUNavigationBar.doAction(int)
              JUNavigationBar.java:257
         void oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(java.awt.event.ActionEvent)
              JUNavigationBar.java:228
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
              BasicButtonListener.java:216
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85

    It's most likely a bug.
    See:
    Urgent:  nullpointer exception in postChanges
    Sascha

  • JBO-25017: Error while creating a new entity row.

    [[email protected]]
    I'm trying to simply duplicate some records using essentially the code below:
      public static void copyUserAttributeValues2(final ApplicationModule p_appModule, final Long p_lDestinationId,
                                                 final String p_strDestinationType, final Long p_lSourceId) {
        final ViewObject l_viewObject = p_appModule.findViewObject("UserAttributeValuesCopyVO1");
        l_viewObject.setWhereClause(null);
        l_viewObject.setNamedWhereClauseParam("bindTargetId", new Number(p_lSourceId));
        l_viewObject.executeQuery();
        while (l_viewObject.hasNext()) {
          final Row l_newDuplicateRow = l_viewObject.createAndInitRow(l_viewObject.next());  // <- Error here.
          l_newDuplicateRow.setAttribute(VOConstants.VO_ACCESS_SOURCE_ID, new Number(p_lDestinationId));
          l_newDuplicateRow.setAttribute(VOConstants.VO_USER_ATTRIBUTE_ASSIGN_VALUE_TARGET_TYPE, p_strDestinationType);
          l_viewObject.insertRow(l_newDuplicateRow);
          l_viewObject.next(); // need to skip otherwise we'll get into an infinite loop.
      }When I run this I get the following:
    WARNING: ADF: Adding the following JSF error message: Error while creating a new entity row for UserAttributeValueEO.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for UserAttributeValueEO.
         at oracle.jbo.server.ViewRowStorage.processRowCreateExceptions(ViewRowStorage.java:3287)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1134)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:413)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:430)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:4722)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1764)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2210)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2256)
         at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2216)
         at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:9410)
         at oracle.apps.epm.fcc.model.applicationModule.TemplateManager.copyUserAttributeValues(TemplateManager.java:298)
         at oracle.apps.epm.fcc.model.applicationModule.CalendarAMImpl.initDayLabels(CalendarAMImpl.java:2381)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:561)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2112)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3015)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:256)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2119)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:392)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:216)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:200)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:136)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:140)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:874)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:750)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:218)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:96)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1281)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:95)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:324)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:279)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:127)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:88)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:114)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:546)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:120)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at java.lang.Class.isAssignableFrom(Native Method)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:404)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:360)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:818)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:850)
         at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:393)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:837)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:258)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:372)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:878)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:849)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:2842)
         at oracle.jbo.server.EntityImpl.validateAttribute(EntityImpl.java:12111)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1098)
         ... 90 more
    ## Detail 0 ##
    java.lang.NullPointerException
         at java.lang.Class.isAssignableFrom(Native Method)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:404)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:360)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:818)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:850)
         at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:393)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:837)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:258)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:372)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:878)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:849)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:2842)
         at oracle.jbo.server.EntityImpl.validateAttribute(EntityImpl.java:12111)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1098)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:413)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:430)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:4722)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1764)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2210)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2256)
         at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2216)
         at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:9410)
         at oracle.apps.epm.fcc.model.applicationModule.TemplateManager.copyUserAttributeValues(TemplateManager.java:298)
         at oracle.apps.epm.fcc.model.applicationModule.CalendarAMImpl.initDayLabels(CalendarAMImpl.java:2381)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:561)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2112)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3015)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:256)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2119)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:392)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:216)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:200)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:136)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:140)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:874)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:750)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:218)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:96)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1281)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:95)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:324)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:279)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:127)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:88)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:114)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:546)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:120)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)I have CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN and OBJECT_VERSION_NUMBER all defined in my UserAttributeValueEO. CREATED_BY and LAST_UPDATE_LOGIN are Nullable.

    Sorry wrong forum.

  • JBO-25017: Error while creating a new entity row for ValidationEO

    Hi
    I am facing the same issue,but i am using following code in controller file:
    ValidationAMImpl newam=(ValidationAMImpl)pageContext.getApplicationModule(webBean);
    ValidationVOImpl newvo = newam.getValidationVO1();
    if (newvo.getFetchedRowCount() == 0)
    // Save the original max fetch size just once -- processRequest() could be
    // re-entered.
    int maxFetchSize =newvo.getMaxFetchSize();
    if (maxFetchSize != 0)
    newvo.putValue("poOrigMaxFetchSize", new Integer(maxFetchSize));
    newvo.setMaxFetchSize(0);
    // To keep the inserted rows after commit.
    newvo.executeQuery();
    and the error while clicking Add new row button is
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ValidationEO.
    at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:75)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1388)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance2(EntityDefImpl.java:1338)
    at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1639)
    at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:269)
    at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1126)
    at oracle.jbo.server.ViewDefImpl.newInstance(ViewDefImpl.java:997)
    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2782)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
    at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleAddRowsEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:75)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1388)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance2(EntityDefImpl.java:1338)
    at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1639)
    at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:269)
    at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1126)
    at oracle.jbo.server.ViewDefImpl.newInstance(ViewDefImpl.java:997)
    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2782)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
    at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleAddRowsEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:75)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    solution to this will be higly appreciated

    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1388)
    Check your EO code, looks like an exception creating the instance, ( check the constructor code of your EO impl ).

Maybe you are looking for

  • My adventures with BT- time to change company

    I've seen a few horror stories in the forums and felt like sharing mine. It is a long read, but the plot twists towards the end make it worth the time. It all started when I decided to go with BT in my new flat because the previous tenants had BT so

  • Multiple routers/networks on one cable modem

    Hello everyone: I've been reading around on the forum trying to find the answer to this question, but have not found any specific answer that satisfies all my requirements.  A more in-depth explanation. I have 1 IP address via cable modem.  I want to

  • Bex Analyzer-No space error on refreshing the Workbook

    HI all, I am trying to execute a workbook with below fields Parner ID,Cus Name,Market class and volume. The requirement is to show the top 5 customers in the workbook.As there are huge volume of records I just filtered on Market class and executed th

  • Are you KIDDING?  Compression problem

    Someone anyone please help me here... I split up my presentation over the course of several slides. Each slide has a background image, the same image in the ilbrary, and some titles that fade in and out and finally some audio. I would have done one s

  • What happened to my iDisk files?

    Today I changed from MobileMe to iCloud. Now I can't find the files I had in iDisk? Are they gone? What is iCloud's equivilant?