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 156109 - IndexOutOfBoundsException: Index: 0, Size: 0
Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 06:43 UTC by sfehrman
Modified: 2011-10-10 12:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 32336


Attachments
stacktrace (759 bytes, text/plain)
2008-12-28 06:43 UTC, sfehrman
Details
stacktrace (760 bytes, text/plain)
2009-02-09 00:18 UTC, theshadow27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sfehrman 2008-12-28 06:43:41 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
GUEST: Right clicked on project and selected "Build"

GUEST: I was refreshing a webService created from a WSDL and I get this error

lios: I was generating Web Services from a WSDL file



Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:546)
        at java.util.ArrayList.get(ArrayList.java:321)
        at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsChildren$6.modelCreated(JaxWsChildren.java:545)
        at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.fireModelCreated(WsdlModeler.java:273)
        at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.access$200(WsdlModeler.java:73)
        at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler$1.run(WsdlModeler.java:99)
Comment 1 sfehrman 2008-12-28 06:43:46 UTC
Created attachment 75332 [details]
stacktrace
Comment 2 theshadow27 2009-02-09 00:18:04 UTC
Build: NetBeans IDE Dev (Build 200812180001)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-130, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-277
OS: Mac OS X, 10.5.6, i386

User Comments: 
Parsing a wsdl

Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:546)
        at java.util.ArrayList.get(ArrayList.java:321)
        at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsChildren$6.modelCreated(JaxWsChildren.java:570)
        at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.fireModelCreated(WsdlModeler.java:276)
        at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.access$200(WsdlModeler.java:73)
        at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler$1.run(WsdlModeler.java:99)
Comment 3 theshadow27 2009-02-09 00:18:15 UTC
Created attachment 76719 [details]
stacktrace
Comment 4 Denis Anisimov 2011-10-07 07:34:07 UTC
The stacktrace doesn't correspond to the current state of sources.
But I believe I've found the places where IOOB could be thrown.
web-main#91a01f4aba2e
Comment 5 Quality Engineering 2011-10-10 12:27:36 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/91a01f4aba2e
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#156109 - IndexOutOfBoundsException: Index: 0, Size: 0