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.

Bug 114240 - Exception after Refactor Rename and Undo.
Summary: Exception after Refactor Rename and Undo.
Status: VERIFIED DUPLICATE of bug 113714
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 12:38 UTC by Michael Nazarov
Modified: 2007-09-26 00:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2007-08-30 12:38:05 UTC
Product Version: NetBeans IDE Dev (Build 200708300157)

Steps to reproduce:

1. Create BluePrint1 sample and BPEL module.
2. Add to Module Sample Loan Application Schema.
3. Add to Sample properties reference to Module.
4. Import to purchaseOrder reference to newLoanApplication.
5. Save changes in purchaseOrder and close file. <-- IMPORTANT!
6. Rename newLoanApplication.
7. Undo Rename.

Followed exception will appear:

javax.swing.undo.CannotUndoException
	at org.netbeans.editor.BaseDocumentEvent.undo(BaseDocumentEvent.java:265)
	at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:47)
	at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:46)
	at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:46)
	at org.netbeans.modules.xml.xam.AbstractModel$ModelUndoableEdit.undo(AbstractModel.java:555)
	at javax.swing.undo.UndoManager.undoTo(UndoManager.java:320)
	at javax.swing.undo.UndoManager.undo(UndoManager.java:398)
	at org.netbeans.modules.xml.refactoring.XMLRefactoringTransaction.rollback(XMLRefactoringTransaction.java:144)
	at org.netbeans.modules.refactoring.api.RefactoringSession.undoRefactoring(RefactoringSession.java:132)
	at org.netbeans.modules.refactoring.spi.impl.UndoManager$SessionUndoItem.undo(UndoManager.java:556)
	at org.netbeans.modules.refactoring.spi.impl.UndoManager.undo(UndoManager.java:192)
	at org.netbeans.modules.refactoring.spi.impl.UndoAction.performAction(UndoAction.java:74)
	at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:96)
	at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:89)
	at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:82)
	at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:30)
	at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:80)
	at org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:49)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Samaresh Panda 2007-08-30 16:14:32 UTC
Sonali knowns about this issue and is working on it.

*** This issue has been marked as a duplicate of 113714 ***
Comment 2 Michael Nazarov 2007-08-30 16:17:40 UTC
I'm not sure this is same problem but anyway will wait for a while.
Comment 3 Michael Nazarov 2007-09-07 15:12:03 UTC
I can see is this duplicate or no (BTW I think no) and will wait for fix for 113714.
Comment 4 tonybeckham 2007-09-26 00:01:08 UTC
This is fixed now, verified in Build 200709250000.