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.
[NetBeans 200507272036; WinXP; JDK 1.5.0_04] Issue summary: -------------- Cast hint may cause attached exception. Sometimes it's necessary to execute the hint only once, in some cases you need to execute it several times. Steps to reproduce: ------------------- 1. Add following code a new Java class: public String test() { Object o; return o; | } 2. Close the IDE. 3. Launch the IDE. 4. Right after IDE startup go line with | and invoke hint once it appears. 5. Execute the cat hint. -> An exception may appear, if it doesn't, undo the changes and try the hint again until the exception is thrown. Exception: ---------- java.lang.StackOverflowError at org.netbeans.modules.javacore.parser.Scope.computeTypeScope(Scope.java:425) at org.netbeans.modules.javacore.parser.Scope.computeTypeScope(Scope.java:425) at org.netbeans.modules.javacore.parser.Scope.computeTypeScope(Scope.java:425) ...
Created attachment 23349 [details] Stack Overflow Error
it seems to be fixed. I cannot reproduce it. Please reopen if you will see it again.
I haven't seen it recently. Verified.