Return-Path: Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: (qmail 42255 invoked from network); 23 Feb 2011 14:14:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 14:14:01 -0000 Received: (qmail 60417 invoked by uid 500); 23 Feb 2011 14:14:01 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 60369 invoked by uid 500); 23 Feb 2011 14:13:59 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 60304 invoked by uid 99); 23 Feb 2011 14:13:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 14:13:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 14:13:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A068D1B3D28 for ; Wed, 23 Feb 2011 14:13:38 +0000 (UTC) Date: Wed, 23 Feb 2011 14:13:38 +0000 (UTC) From: "Andrus Adamchik (JIRA)" To: commits@cayenne.apache.org Message-ID: <661596443.10967.1298470418653.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Closed: (CAY-1476) Preferences exception on domain renaming MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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