cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CAY-1476) Preferences exception on domain renaming
Date Wed, 23 Feb 2011 14:13:38 GMT

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

Andrus Adamchik closed CAY-1476.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.1 (final))
                   3.1M1

> Preferences exception on domain renaming
> ----------------------------------------
>
>                 Key: CAY-1476
>                 URL: https://issues.apache.org/jira/browse/CAY-1476
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 3.1M1
>            Reporter: Andrus Adamchik
>            Assignee: Olga Tkacheva
>             Fix For: 3.1M1
>
>
> This affects 3.1 Modeler using the new preferences mechanism. Here is the scenario:
> * open an existing project
> * rename DataDomain
> * save
> * rename DataDomain to something else again
> * The exception below happens
> Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Node has been
removed.
> 	at java.util.prefs.AbstractPreferences.node(AbstractPreferences.java:790)
> 	at org.apache.cayenne.modeler.ProjectController.getPreferenceForDataDomain(ProjectController.java:380)
> 	at org.apache.cayenne.modeler.editor.DataDomainView.setDomainName(DataDomainView.java:347)
> 	at org.apache.cayenne.modeler.editor.DataDomainView$1.updateModel(DataDomainView.java:91)
> 	at org.apache.cayenne.modeler.util.TextAdapter.updateModel(TextAdapter.java:160)
> 	at org.apache.cayenne.modeler.util.TextAdapter$1.actionPerformed(TextAdapter.java:68)
> 	at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
> 	at javax.swing.JTextField.postActionEvent(JTextField.java:705)
> 	at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:820)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message