Cannot Define More Than One View Criteria For The Same Attribute.

(Doc ID 1199351.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version: and later   [Release: No Release Description and later ]
Information in this document applies to any platform.


In JDeveloper, the JDeveloper IDE crashes when adding, within a View Criteria,
the same attribute more than once.

The problem reproduces as the following:

Create an ADF BC project including EO Employees and VO EmployeesView, based on HR Schema.

In the View Object Editor on EmployeesView, performing the following steps reproduces the problem:

  1. double-click EmployeesView to open the editor
  2. click "Query"
  3. click "+" on the right of "View Criteria"
  4. in the "Create View Criteria" dialog, click "Add Item"
  5. enter/select the following values:
    Attribute: JobId
    Operator : Greater than
    Operand  : Literal
    Value  : 1
  6. select the "Group()" node and click "Add Item" again
  7. enter/select the following values:
    Conjunction: AND
    Attribute: JobId
    Operator : Less than
    Operand  : Literal
    Value  : 10
  8. click OK to close the dialog;
    check that the View Criteria was created ("EmployeesViewCriteria" if you didn't change its name).
  9. Select "EmployeesViewCriteria" and click the Edit icon (pencil), or double-click it;
    nothing happens.

When you run JDeveloper from the Console (jdev.exe), it shows the following IndexOutOfBoundsException and stack trace:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
     at java.util.ArrayList.RangeCheck(
     at java.util.ArrayList.get(
     at oracle.jbo.dt.objects.JboViewCriteriaItemCompound.getItemList(
     at oracle.jbo.dt.ui.view.VOViewCriteriaTree.populateContainerChildren(
     at oracle.jbo.dt.ui.view.VOViewCriteriaTree.populateContainerChildren(
     at oracle.jbo.dt.ui.view.VOViewCriteriaTree.populateTree(
     at oracle.jbo.dt.ui.view.VOViewCriteriaTree.setViewCriteria(


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms