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.

Bug 16572 - IDE crashes after cyclic inheritance.
Summary: IDE crashes after cyclic inheritance.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-15 16:17 UTC by Martin Roskanin
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Interface One (157 bytes, text/plain)
2001-10-15 16:26 UTC, Martin Roskanin
Details
Interface Two (157 bytes, text/plain)
2001-10-15 16:27 UTC, Martin Roskanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Roskanin 2001-10-15 16:17:45 UTC
If Java parser starts to parse InterfaceOne  that extends InterfaceTwo and InterfaceTwo extends InterfaceOne, IDE crashes.
I am attaching example sources of cyclic inheritance.
Bug #16566 in editor is the same problem. But it seems it should be fixed in editor module.
Comment 1 Martin Roskanin 2001-10-15 16:20:20 UTC
Thread dump:

"Java source parsing" daemon prio=2 tid=0xe1fa288 nid=0x544 runnable [0xef61000..0xefffdc4]
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:575)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
        at org.netbeans.lib.javac.v8.comp.Resolve.findMemberType(Resolve.java:591)
[snip]
Comment 2 Martin Roskanin 2001-10-15 16:26:08 UTC
Created attachment 3017 [details]
Interface One
Comment 3 Martin Roskanin 2001-10-15 16:27:13 UTC
Created attachment 3018 [details]
Interface Two
Comment 4 Tomas Hurka 2001-10-15 17:58:13 UTC
Started
Comment 5 _ pkuzel 2001-10-17 14:51:35 UTC
Possibly similar problem:

class Node extends AbstractNode implements Node {

}
Comment 6 Tomas Hurka 2001-10-22 17:41:27 UTC
fixed in trunk
Comment 7 Jan Becicka 2001-11-06 16:37:44 UTC
Verified
Comment 8 Quality Engineering 2003-07-01 13:21:49 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.