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 Dev (Build 200707310000) Steps to reproduce: 1. Create BluePrint1 sample and BPEL module. 2. Add to BPEL module Sample Loan Schema. 3. Add to Sample reference to Module. 4. Open purchaseOrder and import references to inventory and newLoanApplication xsd files. 5. Select newLoanApplication file and choose Refactor->Rename. 6. Click Preview. Exception will come: java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at java.util.Stack.pop(Stack.java:67) at javax.swing.JTree.setExpandedState(JTree.java:3359) at javax.swing.JTree.expandPath(JTree.java:2168) at javax.swing.JTree.expandRow(JTree.java:2183) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.selectNextPrev(RefactoringPanel.java:825) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.selectNextUsage(RefactoringPanel.java:790) [catch] at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$5$1.run(RefactoringPanel.java:714) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) In addition, after few clicks on preview tree last became strange, see screenshot.
Created attachment 45953 [details] screenshot
Sounds like a core refactoring issue.
The stack trace shows the exception is from Refactoring core module. Transferring to the refactoring team for evaluation.
Product Version: NetBeans IDE Dev (Build 200707310000) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) I do not get the exception following those steps, however, the new name is not reflected in schema view: column view or tree view but is updated in the source.
Nevermind my last statement about rename not happening in schema view, I realize that this is not the file name of the schema.
With latest available build no exception rises. Preview still looks strange and incorrect but it looks similar to 105726
The exception is not thrown any more. The rest of issue is duplicate of 105726.
Verified.