Run/Debug failing
Hi,
Starting today, when I try to run a robot test using Run/Debug I now get a notification: Cannot invoke ”com.intellij.xdebugger.XSourcePosition.getFile()" because “sourcePosition” is null
Yesterday it was working fine but no more today. I don't get it. Any idea ?
Please sign in to leave a comment.
Finally found out the problem: it was due to a breakpoint set on an unexisting file (branch changed).
Though, having a breakpoint like this should not be a problem …
2024-05-03 15:40:59,573 [ 141657] INFO - #c.i.e.r.ExecutionUtil - Error running '[SHARED] Robot test':<br>Cannot invoke "com.intellij.xdebugger.XSourcePosition.getFile()" because "sourcePosition" is null
java.lang.NullPointerException: Cannot invoke "com.intellij.xdebugger.XSourcePosition.getFile()" because "sourcePosition" is null
at robocorp.dap.RobotDebugProcess$RobotBreakpointHandler.registerBreakpoint(RobotDebugProcess.java:144)
at robocorp.dap.RobotDebugProcess$RobotBreakpointHandler.registerBreakpoint(RobotDebugProcess.java:133)
at com.intellij.xdebugger.impl.XDebugSessionImpl.handleBreakpoint(XDebugSessionImpl.java:464)