Universal Robots+

Null pointer exceptions

I get frequent null pointer exceptions in Java like the one displayed below which I can’t bring in relation with any of my plugin code. Is there any good way to debug that type of exceptions?

At the top line of your code, you can see that the exception is being thrown from the isChildrenAllowed() method, which i assume you use in your code somewhere, and make sure that the method never receives a null argument.

Normally, it refers an object which is declared but it is null, so you have the pointer but not the content.
Trace the code unitl you find this declaration