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: | Repeated errors with a named local class | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Some exceptions
The class in question |
Description
Jesse Glick
2004-10-07 21:43:22 UTC
Created attachment 18146 [details]
Some exceptions
Afterwards I get an OOME and have to shut down the IDE (which I was about to do anyway). Created attachment 18147 [details]
The class in question
Restarting the IDE with a clear cache doesn't help; just starts throwing errors again as soon as you start up again. Once I rewrote the class to make DeferredRun a nested inner class (i.e. not inside a method), then things seem to be OK again. So it really looks like the parser just chokes on local classes somehow. Yes, javacore has a problem with named local classes (as you found out in issue 48869). We are working on it but the problem is a bit complex. JMI part is done, but parser part still requires some work. Hopefully we will be able to fix it soon after Tomas gets back to work (he is sick). Btw., you probably attached an incorrect log - this one contains NPEs from BtreeStorage.save. *** This issue has been marked as a duplicate of 48869 *** Maybe the local-class-related exceptions are further down in the log. Hard to tell - I had so many pages full of exceptions, I did not know which were triggered by what action. Reorganization of java component |