Skip to content

NPE in ODocument creation #7150

@PhantomYdn

Description

@PhantomYdn

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**.

Metadata

Metadata

Assignees

Labels

buglegacy not used anymore

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions