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 174308

Summary: StackOverflowError at java.lang.Exception.<init>
Product: webservices Reporter: davideconsonni <davideconsonni>
Component: ManagerAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED WONTFIX    
Severity: blocker CC: pfraga
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=13118
Issue Type: DEFECT Exception Reporter: 13118
Attachments: stacktrace

Description davideconsonni 2009-10-11 17:12:46 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments:
GUEST: Attempted to test a web service

davideconsonni: try to invoke a webservice



Stacktrace: 
java.lang.StackOverflowError
        at java.lang.Exception.<init>(Exception.java:41)
        at java.lang.RuntimeException.<init>(RuntimeException.java:43)
        at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:37)
        at java.lang.ArrayIndexOutOfBoundsException.<init>(ArrayIndexOutOfBoundsException.java:46)
        at sun.reflect.generics.parser.SignatureParser.current(SignatureParser.java:79)
        at sun.reflect.generics.parser.SignatureParser.parseZeroOrMoreThrowsSignatures(SignatureParser.java:497)
Comment 1 davideconsonni 2009-10-11 17:12:53 UTC
Created attachment 89281 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-10-11 17:13:00 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=13118
Comment 3 Exceptions Reporter 2009-11-02 00:25:47 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=13118
Comment 4 Denis Anisimov 2010-10-27 08:12:41 UTC
This is the problem of manager module.
Exception somehow appears on "Test Method" popup menu item action 
for webservice node inside Services tab ( Web Service root node ).

Probably related to https://netbeans.org/bugzilla/show_bug.cgi?id=162053.
Comment 5 Denis Anisimov 2010-10-27 08:14:20 UTC
This is the problem of manager module.
Exception somehow appears on "Test Method" popup menu item action 
for webservice node inside Services tab ( Web Service root node ).

Probably related to https://netbeans.org/bugzilla/show_bug.cgi?id=162053.
Comment 6 Denis Anisimov 2010-10-27 08:15:33 UTC
This is the problem of manager module.
Exception somehow appears on "Test Method" popup menu item action 
for webservice node inside Services tab ( Web Service root node ).

Probably related to https://netbeans.org/bugzilla/show_bug.cgi?id=162053.
Comment 7 Jan Stola 2015-04-16 15:12:36 UTC
This exception occurs when the tested method has a parameter of type annotated by XmlType that has a field that has the same type. For example, if the tested method has a parameter of the following type

@XmlType
public class Employee {
    public String name;
    public Employee manager;    
}

The Test Web Service dialog attempts to create a text-fields for the parameter, i.e., it attempts to create text-fields for manager field and for the manager.manager field, manager.manager.manager field etc.

Unfortunately, the fix for this issue is not easy because the dialog is designed such that it creates all these text-fields in advance. It must be rewritten such that the fields are created on demand instead.
Comment 8 Martin Balin 2016-07-07 09:54:08 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss