Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot rebuild index because NPE #1921

Closed
julien-lafont opened this issue Dec 30, 2013 · 1 comment
Closed

Cannot rebuild index because NPE #1921

julien-lafont opened this issue Dec 30, 2013 · 1 comment
Assignees
Labels

Comments

@julien-lafont
Copy link

Hello !

I'm stuck with a com.orientechnologies.orient.core.index.OIndexUnique - Cannot rebuild index 'xxxx' from storage (rid=#1:5) because 'java.lang.NullPointerException'. The index will be removed in configuration.

Scenario:

  • Create and populate a DB in my webapp (OrientDB 1.6.3 / plocal)
  • Stop webapp server
  • Connect in console to this DB
  • Create a new index (composite unique index) -> Index generated with success
  • Quit console
  • To verify last operation : connect in console, SELECT from index:xxxx => OK, quit console
  • Relaunch application
  • GOT this NPE on new OrientGraphNoTx (Tinkerpop 2.5.0-snapshot)
  • Stop webapp server
  • Connect in console
  • rebuild index xxxx => Index 'xxx' not found

I havn't any stacktrace, maybe is there a way to enable a "debug" mode?

@julien-lafont
Copy link
Author

My bad, it's a unix related problem. (index xxx is created as root, whereas the webapp is chrooted!)

@ghost ghost assigned lvca Dec 30, 2013
@lvca lvca modified the milestones: 1.7, 1.6.5, 1.7rc1 Feb 5, 2014
@lvca lvca modified the milestone: 1.7rc1 Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants