Skip to content

Null pointer Exception while trying to run Polypheny-DB #311

Answered by vogti
S-Harshit asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @S-Harshit This should not happen... But it sometimes does when you switch branches or deploy adapters (e.g. a CSV adapter) and then delete the directory. Since Polypheny-DB is persistent and restores data and schema on startup, there can be errors when the previous configuration can't be restored. The good thing is, that this error is easy to fix: Simply start Polypheny-DB ones with the -resetCatalog parameter.

We already have it on the to do list to make the startup procedure more stable and resilient.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@S-Harshit
Comment options

Answer selected by S-Harshit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants