Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Array index out of bound exception on creating a row.

adrinaAug 27 2016 — edited Aug 27 2016

Hi,

Am using jdeveloper 11.1.1.7.0

I have dragged and dropped my childview as a adf tree table and used the below method in the ViewImpl Class. 

@Override

    public void insertRow(Row row) {

     super.insertRow(row);

     row.removeAndRetain();

     last();

     next();

     getDefaultRowSet().insertRow(row);

    }

I have dragged and dropped CreateInsert action in my jsff page. On clicking this button am getting the exception as

<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1

java.lang.ArrayIndexOutOfBoundsException: 0

  at oracle.adf.model.binding.DCIteratorBinding.reserveRowWithKey(DCIteratorBinding.java:4061)

  at oracle.jbo.uicli.binding.JUIteratorBinding.reserveRowWithKey(JUIteratorBinding.java:483)

  at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.setupRegionIteratorBinding(JUCtrlHierNodeBinding.java:2314)

  at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getRegionBinding(JUCtrlHierNodeBinding.java:2272)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2016
Added on Aug 27 2016
2 comments
1,504 views