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.
Summary: | CannotUndoException on Undo rename | ||
---|---|---|---|
Product: | xml | Reporter: | Ivan Sidorkin <ivansidorkin> |
Component: | Tools | Assignee: | Sonali Kochar <sonali> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | michaelnazarov |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
exception
see full messages.log |
Description
Ivan Sidorkin
2007-08-24 13:02:52 UTC
Created attachment 47299 [details]
exception
According stack trace the problem is in *xml* refactoring. Everytime I do refactoring -> rename for the requestMessageClient, I see the following exception: java.lang.IllegalStateException: Warning - the node "bpws:propertyAlias" [org.netbeans.modules.xml.wsdl.ui.view.treeeditor.ExtensibilityElementNode] is trying to fire the property messageType which is not included in its property sets. This is illegal. See IZ #31413 for details. at org.openide.nodes.Node.firePropertyChange(Node.java:907) at org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.propertyChange(WSDLElementNode.java:497) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:164) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333) at org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireCompleteEventSet(AbstractModel.java:449) at org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireEvents(AbstractModel.java:435) at org.netbeans.modules.xml.xam.AbstractModel.endTransaction(AbstractModel.java:299) at org.netbeans.modules.xml.xam.AbstractModel.endTransaction(AbstractModel.java:291) at org.netbeans.modules.bpel.refactoring.Renamer.rename(Renamer.java:304) at org.netbeans.modules.bpel.refactoring.Renamer.doRefactoring(Renamer.java:218) at org.netbeans.modules.xml.refactoring.XMLRefactoringTransaction.process(XMLRefactoringTransaction.java:204) at org.netbeans.modules.xml.refactoring.XMLRefactoringTransaction.commit(XMLRefactoringTransaction.java:114) at org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:91) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$8.run(ParametersPanel.java:333) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) I am not sure if its related to the bug. Can the bug filer check if they are seeing this exception? Created attachment 47448 [details]
see full messages.log
*** Issue 114240 has been marked as a duplicate of this issue. *** In both cases,this bug and as well as 114240, the exception only comes when one of the file containing the refactoring target is closed. Investigating... 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 build 200709250000. |