History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-10342
Type: Exception Exception
Status: Open Open
Priority: Major Major
Assignee: Dmitry Jemerov
Reporter: Exception Analyzer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

[#3234] IAE: GridChangeUtil.check

Created: 28 Sep 06 13:09   Updated: 16 Oct 07 00:12
Component/s: GUI Designer
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 5,745


 Description  « Hide
exception://3234/
Last updated by Anna Kozlova
User description: Flatten JPanel with JScroolPane
Error message: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(53,345),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###: container must be grid
java.lang.IllegalArgumentException: container must be grid
at com.intellij.uiDesigner.GridChangeUtil.check(GridChangeUtil.java:186)
at com.intellij.uiDesigner.GridChangeUtil.splitCell(GridChangeUtil.java:87)
at com.intellij.uiDesigner.GridChangeUtil.splitRow(GridChangeUtil.java:24)
at com.intellij.uiDesigner.actions.FlattenAction.flattenGrid(FlattenAction.java:49)
at com.intellij.uiDesigner.actions.FlattenAction.actionPerformed(FlattenAction.java:35)
at com.intellij.uiDesigner.actions.AbstractGuiEditorAction$1.run(AbstractGuiEditorAction.java:42)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:105)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:83)
at com.intellij.uiDesigner.actions.AbstractGuiEditorAction.actionPerformed(AbstractGuiEditorAction.java:49)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:149)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:55)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:474)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:168)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:494)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
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.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:374)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:361)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:274)
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)

 All   Comments   Work Log   Change History      Sort Order:
Exception Analyzer - 10 Oct 06 15:29
Build 5766
Reported by Chris Miller
User description: Happened when I renamed a JTextArea in the UI Builder to the same name as one I'd recently deleted (by selecting it and pressing DELETE)
Error message: Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@5f0117,notifier=null,catchExceptions=false,when=1160038743798] on sun.awt.windows.WToolkit@1770bec: invalid index: 1
java.lang.IllegalArgumentException: invalid index: 1
at com.intellij.uiDesigner.GridChangeUtil.check(GridChangeUtil.java:192)
at com.intellij.uiDesigner.GridChangeUtil.canDeleteCell(GridChangeUtil.java:111)
at com.intellij.uiDesigner.designSurface.GridCaptionPanel.getCaptionColor(GridCaptionPanel.java:192)
at com.intellij.uiDesigner.designSurface.GridCaptionPanel.paintComponent(GridCaptionPanel.java:132)
at javax.swing.JComponent.paint(JComponent.java:1005)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:374)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:365)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:274)
at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:415)
at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:122)
at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:494)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:178)
at com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:139)
at com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:117)
at com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:397)
at com.intellij.uiDesigner.propertyInspector.properties.BindingProperty.updateBoundFieldName(BindingProperty.java:174)
at com.intellij.uiDesigner.propertyInspector.properties.BindingProperty.setValueImpl(BindingProperty.java:112)
at com.intellij.uiDesigner.propertyInspector.properties.BindingProperty.setValueImpl(BindingProperty.java:50)
at com.intellij.uiDesigner.propertyInspector.Property.setValue(Property.java:77)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable.setPropValue(PropertyInspectorTable.java:773)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable.setSelectionValue(PropertyInspectorTable.java:752)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable.access$1200(PropertyInspectorTable.java:52)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable$MyModel$1.run(PropertyInspectorTable.java:848)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:105)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:83)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable$MyModel.setValueAtRow(PropertyInspectorTable.java:846)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable$MyModel.setValueAt(PropertyInspectorTable.java:832)
at javax.swing.JTable.setValueAt(JTable.java:1926)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable.setValueAt(PropertyInspectorTable.java:290)
at com.intellij.uiDesigner.propertyInspector.PropertyInspectorTable.editingStopped(PropertyInspectorTable.java:597)
at com.intellij.uiDesigner.propertyInspector.PropertyInspector.stopEditing(PropertyInspector.java:179)
at com.intellij.uiDesigner.componentTree.ComponentTreeBuilder.updateSelection(ComponentTreeBuilder.java:218)
at com.intellij.uiDesigner.componentTree.ComponentTreeBuilder.access$400(ComponentTreeBuilder.java:22)
at com.intellij.uiDesigner.componentTree.ComponentTreeBuilder$MySelectionWatcher.selectionChanged(ComponentTreeBuilder.java:211)
at com.intellij.uiDesigner.SelectionWatcher$MyPropertyChangeListener.propertyChange(SelectionWatcher.java:71)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
at com.intellij.uiDesigner.radComponents.RadComponent.firePropertyChanged(RadComponent.java:370)
at com.intellij.uiDesigner.radComponents.RadComponent.setSelected(RadComponent.java:396)
at com.intellij.uiDesigner.FormEditingUtil.clearSelection(FormEditingUtil.java:799)
at com.intellij.uiDesigner.FormEditingUtil.clearSelection(FormEditingUtil.java:796)
at com.intellij.uiDesigner.FormEditingUtil.clearSelection(FormEditingUtil.java:796)
at com.intellij.uiDesigner.FormEditingUtil.clearSelection(FormEditingUtil.java:796)
at com.intellij.uiDesigner.FormEditingUtil.clearSelection(FormEditingUtil.java:796)
at com.intellij.uiDesigner.componentTree.ComponentTreeBuilder$MyTreeSelectionListener.valueChanged(ComponentTreeBuilder.java:248)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at javax.swing.JTree.setSelectionPath(JTree.java:1174)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2296)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelectionImpl(BasicTreeUI.java:3509)
at javax.swing.plaf.basic.BasicTreeUI$DragFixHandler.mousePressedDND(BasicTreeUI.java:3830)
at javax.swing.plaf.basic.BasicTreeUI$DragFixHandler.mousePressed(BasicTreeUI.java:3789)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at com.intellij.util.ui.Tree.processMouseEvent(Tree.java:71)
at java.awt.Component.processEvent(Component.java:5253)
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.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:374)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:361)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:274)
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)