Skip to content


Subversion checkout URL

You can clone with
Download ZIP


NullPointerException from OCommandExecutorSQLSelect.fillSearchIndexResultSet when using a NONUNIQUE index [moved] #983

lvca opened this Issue · 0 comments

1 participant


This is Issue 983 moved from a Google Code project.
Added by 2012-07-29T12:29:29.000Z by
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium, Release

Original description

Using version 1.1.0

<b>What steps will reproduce the problem?</b>
1. Using an database that has been exported and imported between versions, starting with 0.9.1
2. During startup, add fields to entity, using the document-backed object-store.
3. After successfully adding fields, create NONUNIQUE-index for 4 of the fields.
4. Index is created successfully, and works as it should...for a while
5. The orientdb-console shows the index and that it seems sound and correct.

Everything works, but intermittently, this occurs during a normal select-operation.
There seems to be no directly discernable pattern to the NPE.

Caused by: java.lang.NullPointerException: null
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.fillSearchIndexResultSet( ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchForIndexes( ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchInClasses( ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.assignTarget( ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.assignTarget( ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch( ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute( ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute( ~[orientdb-core-1.1.0.jar:1.1.0]
        at ~[orientdb-core-1.1.0.jar:1.1.0]
        ... 102 common frames omitted   
@lvca lvca closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.