You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/05/29 08:02:45 UTC

[jira] Closed: (CAY-1233) Modeler Error

     [ https://issues.apache.org/jira/browse/CAY-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1233.
--------------------------------

    Resolution: Duplicate

Looks familiar. This should be fixed in 3.0M6 per CAY-1222: http://cayenne.apache.org/download.html

I'd appreciate if you could try M6 and confirm that it works. Please reopen this Jira or create a new one if it is still broken.

> Modeler Error
> -------------
>
>                 Key: CAY-1233
>                 URL: https://issues.apache.org/jira/browse/CAY-1233
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>         Environment: WinXp.  After create a DbEntity and want to create a Attribute, meet the problem
>            Reporter: jackCHEN
>            Priority: Minor
>             Fix For: 3.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> java.lang.IllegalArgumentException: Row index out of range
> 	at javax.swing.JTable.boundRow(Unknown Source)
> 	at javax.swing.JTable.addRowSelectionInterval(Unknown Source)
> 	at org.apache.cayenne.modeler.util.CayenneTable$CayenneListSelectionModel.setSelection(CayenneTable.java:178)
> 	at org.apache.cayenne.modeler.util.CayenneTable.select(CayenneTable.java:102)
> 	at org.apache.cayenne.modeler.editor.dbentity.DbEntityAttributeTab.selectAttributes(DbEntityAttributeTab.java:146)
> 	at org.apache.cayenne.modeler.editor.dbentity.DbEntityTabbedView.currentDbAttributeChanged(DbEntityTabbedView.java:150)
> 	at org.apache.cayenne.modeler.ProjectController.fireDbAttributeDisplayEvent(ProjectController.java:1332)
> 	at org.apache.cayenne.modeler.editor.dbentity.DbEntityAttributeTab.processExistingSelection(DbEntityAttributeTab.java:171)
> 	at org.apache.cayenne.modeler.editor.dbentity.DbEntityAttributeTab.valueChanged(DbEntityAttributeTab.java:125)
> 	at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
> 	at org.apache.cayenne.modeler.util.CayenneTable$CayenneListSelectionModel.fireValueChanged(CayenneTable.java:189)
> 	at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
> 	at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
> 	at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
> 	at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
> 	at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
> 	at org.apache.cayenne.modeler.util.CayenneTable.select(CayenneTable.java:81)
> 	at org.apache.cayenne.modeler.editor.dbentity.DbEntityAttributeTab.dbAttributeAdded(DbEntityAttributeTab.java:185)
> 	at org.apache.cayenne.modeler.ProjectController.fireDbAttributeEvent(ProjectController.java:1300)
> 	at org.apache.cayenne.modeler.action.CreateAttributeAction.fireDbAttributeEvent(CreateAttributeAction.java:120)
> 	at org.apache.cayenne.modeler.action.CreateAttributeAction.createDbAttribute(CreateAttributeAction.java:112)
> 	at org.apache.cayenne.modeler.action.CreateAttributeAction.performAction(CreateAttributeAction.java:67)
> 	at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
> 	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> 	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> 	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> 	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> 	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
> 	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
> 	at java.awt.Component.processMouseEvent(Unknown Source)
> 	at javax.swing.JComponent.processMouseEvent(Unknown Source)
> 	at java.awt.Component.processEvent(Unknown Source)
> 	at java.awt.Container.processEvent(Unknown Source)
> 	at java.awt.Component.dispatchEventImpl(Unknown Source)
> 	at java.awt.Container.dispatchEventImpl(Unknown Source)
> 	at java.awt.Component.dispatchEvent(Unknown Source)
> 	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> 	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> 	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> 	at java.awt.Container.dispatchEventImpl(Unknown Source)
> 	at java.awt.Window.dispatchEventImpl(Unknown Source)
> 	at java.awt.Component.dispatchEvent(Unknown Source)
> 	at java.awt.EventQueue.dispatchEvent(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> 	at java.awt.EventDispatchThread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.