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 7.0 Beta 2 (Build 201102140001) VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326 OS: Mac OS X Stacktrace: java.lang.AssertionError: Null file object. at org.netbeans.modules.xml.retriever.catalog.Utilities.createModelSource(Utilities.java:631) at org.netbeans.modules.xml.retriever.catalog.Utilities.getModelSource(Utilities.java:618) at org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.initServiceMetadata(WebServicesHintsProvider.java:178) at org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:132) at org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:208) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:322)
Created attachment 106918 [details] stacktrace
I don't know exact steps to reproduce but this could be a result of steps below: - Create Web Project. - Create WS from WSDL ( use remote wsdl ). As result remote wsdl file will be downloaded locally and its path will be used in jax-ws.xml file. - Remove local wsdl file . - Find WS node in the project explorer and open WS in the editor . There will be an exception. So WebServicesHintsProvider.initServiceMetadata() method should check wsdl file object value against null even if local wsdl file String value is not null.
One thing I forgot to mention : switch editor to design view.
web-main#8391d75a33a3
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/8391d75a33a3 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#196601 - AssertionError: Null file object.