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.
Seen in Product Version: NetBeans IDE Dev (Build 200707070000) 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) Userdir: C:\Documents and Settings\lautz\.netbeans\dev 1. Create a new valid WSDL file, like the default file created by the WSDL wizard. 2. Add a Property extensibility element. 3. Add a PropertyAlias extensibility element that references the new Property element as its propertyName property/attribute. 4. Set the ElementOrTypeOrMessagePart property for the new PropertyAlias element to an existing message part. 5. Delete the message part selected in step 4 (click Refactor). 6. Click on the PropertyAlias element created in step 3. ==> NPE. Stack trace attached.
Created attachment 44914 [details] Stack trace for NullPointerException.
Fixed the NPE. But refactoring should have caught the usage of the message/part in the property alias. Sonali, this used to work before in 5.5. ExtensibilityElement are not part of find usages/refactoring anymore?
Found that the bpel refactoring, does not provide refactoring plugin for safely delete action. That seems to be the reason for not finding property alias, during part deletion. Assigning to bpel refactoring.
Fixed.