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.
Reproduced in build 060927. This is a regression since build 060910. To reproduce the bug: - create two new schemas schema1 and schema2; - import schema2 into schema1; - in Projects invoke 'Rename' popup menu command on the schema2 file and rename it to schema21; - push 'Do Refactoring'. java.lang.IllegalStateException: attempted model write without invoking startTransaction at org.netbeans.modules.xml.xam.AbstractModel.validateWrite(AbstractModel.java:354) at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.verifyWrite(AbstractDocumentComponent.java:619) at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.setAttribute(AbstractDocumentComponent.java:90) at org.netbeans.modules.xml.schema.model.impl.ImportImpl.setSchemaLocation(ImportImpl.java:69) at org.netbeans.modules.xml.schema.refactoring.SchemaRefactoringEngine._refactorUsages(SchemaRefactoringEngine.java:147) at org.netbeans.modules.xml.schema.refactoring.SchemaRefactoringEngine.refactorUsages(SchemaRefactoringEngine.java:128) at org.netbeans.modules.xml.refactoring.RefactoringManager.process(RefactoringManager.java:392) at org.netbeans.modules.xml.refactoring.ui.j.ui.RefactoringPanel$1.run(RefactoringPanel.java:450) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
The cause or regression is a typo. Will check in fix when codeline is open.
Fix checked in release55_dev: http://www.netbeans.org/source/browse/xml/schema/refactoring/src/org/netbeans/modules/xml/schema/refactoring/Attic/SchemaRefactoringEngine.java?r1=1.1.2.12.2.1&r2=1.1.2.12.2.2&only_with_tag=release55_dev
Please, can you verify the fix in latest release55_dev build.
Verified in build 060929_1 (release55_dev branch).
By the "High Resistance Mode Fixing Rules" this issue should not be marked as VERIFIED until verification in relese55 build, changed back to "RESOLVED FIXED".
resolved fixed
Fix committed to release55.
Verified in build 061002_2 (release55).