I debug my custom business logic code with CodeRunner and whenever I try to go out of scope of handleEvent method ( i.e. when I try to step out after the return statement ), the following exception is thrown:
java.lang.NullPointerException Cannot evaluate com.backendless.coderunner.commons.protocol.InvocationResult.toString()
This is how my event handler looks like:
public class myEventEventHandler extends com.backendless.servercode.extension.CustomEventHandler
{
//...
public Map<String, Object> handleEvent( RunnerContext context, Map eventArgs )
{
Map<String, Object> result = new HashMap<String, Object>();
//...
return result;
}
}
If I don’t set any breakpoints, no exceptions are thrown.
I use CodeRunner™ v3.0.16 for Java and IntelliJ IDEA 16.1.2