Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1233

Modeler Error

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • 3.0
    • Modeler
    • None
    • WinXp. After create a DbEntity and want to create a Attribute, meet the problem

    Description

      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)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jackchen jackCHEN
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

              Slack

                Issue deployment