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.
Summary: | Unable to open java file org.openide.src.SourceException | ||
---|---|---|---|
Product: | java | Reporter: | phuey <phuey> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE Log File |
Description
phuey
2004-05-21 09:30:29 UTC
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. |