This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
org.openide.src.SourceException Error on open or Java File. The file opens ok but reports the above error. If double clicking on the file again no error is reported (if active file).
Created attachment 15049 [details] IDE Log File
Reassigning for evaluation.
There is a nice description in Issue 44015 : ----------------------------------------------- I created a class dshadow.RoundGradientPaint. Then I select- all/copied the content of the java file from another file, where it was declared in the default package. So I pasted in code with the right class name, but no package declaration. When I added "package dshadow" at the top of the file, the following exception popped up (and continued popping up): Correction - I also pasted the wrong sources into the file. So I had sources for "RoundGradientPaint" in a file called "RoundGradientContext" which I was changing the package statement for. -----------------------------------------------
*** Issue 44015 has been marked as a duplicate of this issue. ***
*** Issue 46004 has been marked as a duplicate of this issue. ***
org.netbeans.modules.java.model package has been replaced by the new javacore module and o.n.m.j.bridge. This issue is no longer valid.