cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Tkachova (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAY-1157) Modeler: Concurrent mod exception on removing DbRelationship
Date Mon, 05 Jan 2009 14:47:12 GMT

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

Olga Tkachova updated CAY-1157:
-------------------------------

    Attachment: patch.txt

a patch implementing this jira 

> Modeler: Concurrent mod exception on removing DbRelationship
> ------------------------------------------------------------
>
>                 Key: CAY-1157
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1157
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0M5
>            Reporter: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.0M6
>
>         Attachments: patch.txt
>
>
> I can reproduce this consistently on at least 1 DataMap:
> 1. Delete FK DbAttribute
> 2. Remove DbRelationship that was using this attribute
> CayenneModeler Info
> Version: cayenne.version
> Build Date: cayenne.build.date
> Exception: 
> =================================
> java.util.ConcurrentModificationException
> 	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
> 	at java.util.AbstractList$Itr.next(AbstractList.java:420)
> 	at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
> 	at org.apache.cayenne.modeler.util.ProjectUtil.cleanObjMappings(ProjectUtil.java:279)
> 	at org.apache.cayenne.modeler.action.RemoveRelationshipAction.removeDbRelationships(RemoveRelationshipAction.java:130)
> 	at org.apache.cayenne.modeler.action.RemoveRelationshipAction.performAction(RemoveRelationshipAction.java:92)
> 	at org.apache.cayenne.modeler.action.RemoveAction.performAction(RemoveAction.java:95)
> 	at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
> 	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
> 	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
> 	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> 	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> 	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
> 	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
> 	at java.awt.Component.processMouseEvent(Component.java:5602)
> 	at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> 	at java.awt.Component.processEvent(Component.java:5367)
> 	at java.awt.Container.processEvent(Container.java:2010)
> 	at java.awt.Component.dispatchEventImpl(Component.java:4068)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2068)
> 	at java.awt.Component.dispatchEvent(Component.java:3903)
> 	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
> 	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
> 	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2054)
> 	at java.awt.Window.dispatchEventImpl(Window.java:1801)
> 	at java.awt.Component.dispatchEvent(Component.java:3903)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> 	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

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


Mime
View raw message