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 84181 - ISA
Summary: ISA
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 08:26 UTC by Tim Lebedkov
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 Tim Lebedkov 2006-09-05 08:26:39 UTC
IllegalStateException (see below) after Ctrl+I at the marked position

        DefaultCellEditor ce = new DefaultCellEditor(cb) {
            <<<<<<Here Ctrl+I>>>>>
            public Object getCellEditorValue() {
                JComboBox cb = (JComboBox) getComponent();
                return ids.get(cb.getSelectedIndex());
            }
        };


java.lang.IllegalStateException: The model was modified. Unable to return start
offset.
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.testResourceChange(MetadataElement.java:1185)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getPosition(MetadataElement.java:519)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getPosition(FeatureImpl.java:279)
	at org.netbeans.modules.javacore.JMManager.getElementPosition(JMManager.java:725)
	at org.netbeans.modules.javacore.JMManager.getElementPosition(JMManager.java:711)
	at org.netbeans.modules.javacore.JMManager.isElementGuarded(JMManager.java:693)
	at
org.netbeans.modules.java.tools.JMIInheritanceSupport.addMethod(JMIInheritanceSupport.java:210)
	at
org.netbeans.modules.java.tools.JMIInheritanceSupport.overrideMethod(JMIInheritanceSupport.java:177)
	at org.netbeans.modules.java.tools.OverrideAction$1.run(OverrideAction.java:128)
	at
org.netbeans.modules.javacore.internalapi.JavaMetamodel.invokeAfterScanFinished(JavaMetamodel.java:209)
	at
org.netbeans.modules.java.tools.OverrideAction.performAction(OverrideAction.java:176)
	at org.openide.util.actions.NodeAction$3.run(NodeAction.java:531)
	at
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
	at
org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:527)
	at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:848)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2809)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
	at java.awt.Component.processEvent(Component.java:5265)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
	at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
	at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
	at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
	at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
	at java.awt.Component.dispatchEventImpl(Component.java:3841)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jiri Prox 2006-09-06 08:08:51 UTC
Reassigning to java/javacore
Comment 2 Jan Becicka 2006-09-11 16:00:16 UTC
Please attach whole messages.log. Thanks
Comment 3 Jan Becicka 2006-10-26 16:28:12 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 4 Tim Lebedkov 2007-03-27 23:05:50 UTC
ok
Comment 5 Quality Engineering 2007-09-20 12:05:49 UTC
Reorganization of java component