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

NPE in ODocument creation #7150

Closed
PhantomYdn opened this issue Feb 6, 2017 · 1 comment
Closed

NPE in ODocument creation #7150

PhantomYdn opened this issue Feb 6, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@PhantomYdn
Copy link
Contributor

OrientDB Version: 2.2.16

Java Version: 8

It's allowed to create ODocument with className null, but if you specify null oClass - it will through NPE.

new ODocument((String)null);  // It's OK
new ODocument((OClass)null); It's failing, **but in OrientDB 2.1.19 it was OK**.
@tglman
Copy link
Member

tglman commented Feb 7, 2017

fixed closing

@tglman tglman closed this as completed Feb 7, 2017
@santo-it santo-it modified the milestones: 2.2.17, 2.2.x (next hotfix) Feb 9, 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

4 participants