javavscode icon indicating copy to clipboard operation
javavscode copied to clipboard

Run|Debug main will be disabled after navigating to a library source code

Open omidp opened this issue 2 years ago • 2 comments

Hi,

When I navigate to a library source code and come back to my main method of my Java application. Run main|Debug main buttons are disabled until I close the file and re-open it.

Here is the error in the output console

Cannot invoke "org.openide.filesystems.FileObject.toURI()" because "file" is null

omidp avatar Oct 23 '23 09:10 omidp

Can you please provide if possible any specific library examples or some steps to reproduce the issue?

Achal1607 avatar Oct 25 '23 10:10 Achal1607

Hi @Achal1607 ,

This bug is related to the other one. I've created a small video of how to reproduce the bug which you can download from here.

PS: I am using Mac M1 maybe it is reproducible only in Mac

omidp avatar Oct 26 '23 14:10 omidp