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 252915

Summary: StackOverflowError at org.netbeans.api.java.source.TypeMirrorHandle$Visitor.visitClassType
Product: java Reporter: misterm <misterm>
Component: SourceAssignee: Svata Dedic <sdedic>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217859
Attachments: stacktrace

Description misterm 2015-06-10 20:04:10 UTC
Build: NetBeans IDE Dev (Build 20150601-12fb145cd552)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Windows 8

User Comments:
misterm: .




Stacktrace: 
java.lang.StackOverflowError
   at org.netbeans.api.java.source.TypeMirrorHandle$Visitor.visitClassType(TypeMirrorHandle.java:454)
   at org.netbeans.api.java.source.TypeMirrorHandle$Visitor.visitClassType(TypeMirrorHandle.java:438)
   at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:778)
   at org.netbeans.api.java.source.TypeMirrorHandle$Visitor.visitClassType(TypeMirrorHandle.java:454)
   at org.netbeans.api.java.source.TypeMirrorHandle$Visitor.visitClassType(TypeMirrorHandle.java:438)
   at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:778)
Comment 1 misterm 2015-06-10 20:04:18 UTC
Created attachment 154144 [details]
stacktrace
Comment 2 Svata Dedic 2015-07-24 08:08:45 UTC
More info needed. Could you please attach either the source file which you edited at the time the error was thrown, or at last all class declarations (mehods + code is not important) ? The recursion happens over some bounds of type parameters, so I need an example which shows the inheritance hierarchy + type parameters (incl. their hierarchy) to reproduce.

Thanks.