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.
NetBeans build details: Netbeans IDE build = 200705220000 Netbeans IDE build date = Tue May 22 09:14:30 PDT 2007 [source: c:/netbeans/6.0/platform7/core/core.jar] CAPS Modules build date = Tue May 22 09:38:56 PDT 2007 [source: c:/netbeans/6.0/soa1/modules/org-netbeans-modules-compapp-projects-jbi.jar] ====================================================================== While working on JDBCBC Tonga automation in JDEV, I ran into the following WSDL editor regression: ** NPE was encountered in WSDL editor when clicking on 'jdbc:address' under Services:service:port (also occured with other BCs as well). (See attached JPEG file of the NullPointerException for more detail) To reproduce the problem: 1) From NetBeans IDE, create an new WSDL (via the 'WSDL generating tool) or open an existing WSDL file. 2) once the WSDL is opened, click on any sub-node under either 'Bindings' or 'Service' would encounter the NullPointerException. This is a regression that is introduced in recent codeline.
Created attachment 42745 [details] WSDL editor NullPointerException
*** Issue 105193 has been marked as a duplicate of this issue. ***
Sam, Can you look at this? In CatalogModelImpl.java 1. Previously it used to get into tryOrphanResolution method. 2. It used to throw NPE in FileUtil.toFile() 3. But tryOrphanResolution catches it and returns null. But now, since it does not go into tryOrphanResolution, NPE is propagated out.
Added null check to avoid NPE when the fileobject is a file defined in the layer.xml.
*** Issue 105201 has been marked as a duplicate of this issue. ***
Verified that the NPE is not reproduceable in the described testcase in Product Version: NetBeans IDE Dev (Build 200706050000) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)