Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Closed
lvca opened this Issue Dec 10, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

lvca commented Dec 10, 2012

This is Issue 983 moved from a Google Code project.
Added by 2012-07-29T12:29:29.000Z by kr...@krite.se.
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(OCommandExecutorSQLSelect.java:551) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchForIndexes(OCommandExecutorSQLSelect.java:437) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchInClasses(OCommandExecutorSQLSelect.java:359) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.assignTarget(OCommandExecutorSQLResultsetAbstract.java:135) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.assignTarget(OCommandExecutorSQLSelect.java:222) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch(OCommandExecutorSQLSelect.java:208) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:198) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:54) ~[orientdb-core-1.1.0.jar:1.1.0]
        at com.orientechnologies.orient.core.storage.OStorageEmbedded.executeCommand(OStorageEmbedded.java:82) ~[orientdb-core-1.1.0.jar:1.1.0]
        ... 102 common frames omitted   

@lvca lvca closed this Oct 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment