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 - StackOverflowError at org.netbeans.api.java.source.TypeMirrorHandle$Visitor.visitClassType
Summary: StackOverflowError at org.netbeans.api.java.source.TypeMirrorHandle$Visitor.v...
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-10 20:04 UTC by misterm
Modified: 2015-07-24 08:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217859


Attachments
stacktrace (92.75 KB, text/plain)
2015-06-10 20:04 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
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.