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 252140 - ArrayIndexOutOfBoundsException: 0
Summary: ArrayIndexOutOfBoundsException: 0
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-28 13:09 UTC by ystmio
Modified: 2015-05-08 19:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 57400


Attachments
stacktrace (3.58 KB, text/plain)
2015-04-28 13:09 UTC, ystmio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ystmio 2015-04-28 13:09:33 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 8

User Comments:
ystmio: On design view of web service

GUEST: After creating a web service, in the Projects window, in the respective project section "Web Services" tried to acces "Edit web service attributes" on the context menu (mouse right click)

GUEST: plz improve it as soon as possible

GUEST: I added a Webservice. 
Then: Right Click WebServices --> Edit WebService Attributes

GUEST: Rigth clicked on web service node and selected "Edit Web Service Attributes" from the context menu.

GUEST: HelloWebService from samples and Edit Web Service Attributes gives this error. Also if the server crashes, next time onwards the IDE crashes anytime and the behaviour is unpredictable.

GUEST: Edit Web Services Attributes on a WebServiceProvider




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 0
   at org.netbeans.modules.websvc.wsitconf.ui.service.ServiceView.<init>(ServiceView.java:132)
   at org.netbeans.modules.websvc.wsitconf.ui.service.ServiceTopComponent.doInitialize(ServiceTopComponent.java:143)
   at org.netbeans.modules.websvc.wsitconf.ui.service.ServiceTopComponent.addNotify(ServiceTopComponent.java:167)
   at java.awt.Container.addNotify(Container.java:2773)
   at javax.swing.JComponent.addNotify(JComponent.java:4740)
   at java.awt.Container.addNotify(Container.java:2773)
Comment 1 ystmio 2015-04-28 13:09:35 UTC
Created attachment 153434 [details]
stacktrace
Comment 2 Jan Stola 2015-05-07 11:44:19 UTC
Fixed by https://hg.netbeans.org/web-main/rev/71400b46d701
Comment 3 Quality Engineering 2015-05-08 03:02:46 UTC
Integrated into 'main-silver', will be available in build *201505080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/71400b46d701
User: Jan Stola <jstola@netbeans.org>
Log: #252140: Avoiding a potential ArrayIndexOutOfBoundsException