val t1= new OrientEdge()
t1.setProperty("x","test") => Causes null pointer exception
Hi,Sorry for pushing this question, but I am in the middle of writing a little test Scala mapper and since this is crucial for further development design choice I am now stuck. I would be really thankful if someone could provide me any hint.
Cheers, Fritz
Hi,
thanks for your comment, but I knew of the docs.I am just surprised, since one normally defines interfaces and marks classes as protected / private when you do not want anyone to create an instance of a classes but still allow access to it. It is just quite unusual to create public class that can cause unhandled exceptions so I think there was a design purpose by the developers of OrientDB.Maybe some OrientDB official in this thread can say something ;-)
/**
* (Internal) Called by serialization
*/
public OrientEdge() {
super(null, null);
}