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.
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)
Created attachment 153434 [details] stacktrace
Fixed by https://hg.netbeans.org/web-main/rev/71400b46d701
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