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.
Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709100000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Previous issue with NPE and CannotUndo seems to be fixed. New issue come... Steps to reproduce: 1. Create BluePrint2 Sample and BPEL Module. 2. Add into Module Sample Loan Application Schema. 3. Add to Sample reference to Module. 4. Import into purchaseOrder schema newLoanApplication schema. 5. Move purchaseOrder into Module. 6. Undo Move operation. 7. Build Sample. Last action will failed: Found validation errors: Error: If a namespace attribute is specified on an <import> then the imported definitions must be in that namespace. Error: In part "purchaseOrder", attribute element's value "po:purchaseOrder" is not a valid xml schema element available in this wsdl file. : Specify a valid schema element value for element attribute. Error: BooleanExpr: Type of the variable "purchaseOrder.purchaseOrder" can not be resolved. Expression: "$purchaseOrder.purchaseOrder/po:orderDescription" BUILD FAILED (total time: 0 seconds)
This is the same as http://www.netbeans.org/issues/show_bug.cgi?id=113714 CannotUndoException on Undo rename To verify, make sure all the files are closed after importing newLoanApplication.xsd. Now, move the purchaseOrder.xsd and do undo. You should see the CannotUndoException with the same stack trace.
known issue added to beta 1 release notes.
Fixed Checking in XMLRefactoringTransaction.java; /cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/XMLRefactoringTransaction.java,v <-- XMLRefactoringTransaction.java new revision: 1.17; previous revision: 1.16 done
Fix VERIFIED with: Product Version: NetBeans IDE Dev (Build 200709250000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)