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 ?

1

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)

1

请先登录再写评论。