File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/org/netbeans/modules/python/debugger Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public int getColumn() {
6363
6464 public Line location () {
6565 try {
66- LineCookie lc = DataObject .find (FileUtil .toFileObject (Paths .get (getSourceURI ())))
66+ LineCookie lc = DataObject .find (FileUtil .toFileObject (Paths .get (getSourceURI ()). toFile () ))
6767 .getLookup ().lookup (LineCookie .class );
6868 if (lc == null ) {
6969 return null ;
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ public List<PythonDebuggerCallStack> whereResponse(String response) {
192192 }
193193
194194 private Annotatable getLine (String filePath , int lineNumber ) {
195- FileObject fobj = FileUtil .toFileObject (Paths .get (filePath ));
195+ FileObject fobj = FileUtil .toFileObject (Paths .get (filePath ). toFile () );
196196 DataObject dobj = null ;
197197 try {
198198 dobj = DataObject .find (fobj );
You can’t perform that action at this time.
0 commit comments