You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Jon Sharp (JIRA)" <de...@cayenne.apache.org> on 2007/12/13 05:03:45 UTC
[JIRA] Created: (CAY-940) CayenneModeler fails on load of existing
project file or upon creation of new project on IBM's Java 1.6.0 SDK on
32-bit ppc
CayenneModeler fails on load of existing project file or upon creation of new project on IBM's Java 1.6.0 SDK on 32-bit ppc
---------------------------------------------------------------------------------------------------------------------------
Key: CAY-940
URL: https://issues.apache.org/cayenne/browse/CAY-940
Project: Cayenne
Issue Type: Bug
Components: CayenneModeler GUI
Affects Versions: 2.0 [STABLE], 3.0
Environment: Gentoo Linux, kernel 2.6.23.9, IBM's Java 1.6.0 SDK GA release on 32-bit ppc
Reporter: Jon Sharp
Assignee: Andrus Adamchik
The following stacktrace occurs when attempting either to create a new project or loading an existing project. I suspect it may be a problem with the VM, but I post the issue here for full disclosure. Hopefully someone else can confirm if this is a platform/VM issue or not and perhaps provide a fix/workaround.
Thanks!
CayenneModeler Info
Version: cayenne.version
Build Date: cayenne.build.date
Exception:
=================================
java.beans.IntrospectionException: Unwritable property 'dividerLocation'
at org.apache.cayenne.reflect.PropertyUtils.setSimpleProperty(PropertyUtils.java:185)
at org.apache.cayenne.reflect.PropertyUtils.setProperty(PropertyUtils.java:129)
at org.apache.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:112)
at org.apache.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:98)
at org.apache.cayenne.modeler.editor.EditorView.initController(EditorView.java:172)
at org.apache.cayenne.modeler.editor.EditorView.<init>(EditorView.java:99)
at org.apache.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:203)
at org.apache.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:77)
at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:161)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2007)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2330)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:399)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:254)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:248)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:284)
at java.awt.Component.processMouseEvent(Component.java:6053)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3277)
at java.awt.Component.processEvent(Component.java:5818)
at java.awt.Container.processEvent(Container.java:2070)
at java.awt.Component.dispatchEventImpl(Component.java:4425)
at java.awt.Container.dispatchEventImpl(Container.java:2128)
at java.awt.Component.dispatchEvent(Component.java:4255)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4334)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3998)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3928)
at java.awt.Container.dispatchEventImpl(Container.java:2114)
at java.awt.Window.dispatchEventImpl(Window.java:2452)
at java.awt.Component.dispatchEvent(Component.java:4255)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:285)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[JIRA] Commented: (CAY-940) CayenneModeler fails on load of
existing project file or upon creation of new project on IBM's Java 1.6.0
SDK on 32-bit ppc
Posted by "Jon Sharp (JIRA)" <de...@cayenne.apache.org>.
[ https://issues.apache.org/cayenne/browse/CAY-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12631 ]
Jon Sharp commented on CAY-940:
-------------------------------
I understood that this jdk was likely to be completely untested with Cayenne. And yes, it's clearly a problem with the Swing stuff. Unfortunately, this JDK is my only option on this machine, a Powerbook running Linux, as Sun does not support Linux/PPC. It has been great for the most part, however, and I expect that there may be a fix/workaround for this issue. Perhaps it's simply a matter of specifying a particular configuration option. Below is the output of of 'java -version', and I will also downgrade to the IBM 1.5 JDK and check that out, too.
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_bHdSMR
JIT - r9_20071121_1330
GC - 20071031_AA)
JCL - 20071118_01
> CayenneModeler fails on load of existing project file or upon creation of new project on IBM's Java 1.6.0 SDK on 32-bit ppc
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CAY-940
> URL: https://issues.apache.org/cayenne/browse/CAY-940
> Project: Cayenne
> Issue Type: Bug
> Components: CayenneModeler GUI
> Affects Versions: 2.0 [STABLE], 3.0
> Environment: Gentoo Linux, kernel 2.6.23.9, IBM's Java 1.6.0 SDK GA release on 32-bit ppc
> Reporter: Jon Sharp
> Assignee: Andrus Adamchik
>
> The following stacktrace occurs when attempting either to create a new project or loading an existing project. I suspect it may be a problem with the VM, but I post the issue here for full disclosure. Hopefully someone else can confirm if this is a platform/VM issue or not and perhaps provide a fix/workaround.
> Thanks!
> CayenneModeler Info
> Version: cayenne.version
> Build Date: cayenne.build.date
> Exception:
> =================================
> java.beans.IntrospectionException: Unwritable property 'dividerLocation'
> at org.apache.cayenne.reflect.PropertyUtils.setSimpleProperty(PropertyUtils.java:185)
> at org.apache.cayenne.reflect.PropertyUtils.setProperty(PropertyUtils.java:129)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:112)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:98)
> at org.apache.cayenne.modeler.editor.EditorView.initController(EditorView.java:172)
> at org.apache.cayenne.modeler.editor.EditorView.<init>(EditorView.java:99)
> at org.apache.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:203)
> at org.apache.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:77)
> at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:161)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2007)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2330)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:399)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:254)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:248)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:284)
> at java.awt.Component.processMouseEvent(Component.java:6053)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3277)
> at java.awt.Component.processEvent(Component.java:5818)
> at java.awt.Container.processEvent(Container.java:2070)
> at java.awt.Component.dispatchEventImpl(Component.java:4425)
> at java.awt.Container.dispatchEventImpl(Container.java:2128)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4334)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3998)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3928)
> at java.awt.Container.dispatchEventImpl(Container.java:2114)
> at java.awt.Window.dispatchEventImpl(Window.java:2452)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:285)
> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[JIRA] Commented: (CAY-940) CayenneModeler fails on load of
existing project file or upon creation of new project on IBM's Java 1.6.0
SDK on 32-bit ppc
Posted by "Jon Sharp (JIRA)" <de...@cayenne.apache.org>.
[ https://issues.apache.org/cayenne/browse/CAY-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12629 ]
Jon Sharp commented on CAY-940:
-------------------------------
Andrus,
Thanks for the reply. I removed the preferences as you suggested, but it made no difference. Let me know if you'd like me to try something else.
> CayenneModeler fails on load of existing project file or upon creation of new project on IBM's Java 1.6.0 SDK on 32-bit ppc
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CAY-940
> URL: https://issues.apache.org/cayenne/browse/CAY-940
> Project: Cayenne
> Issue Type: Bug
> Components: CayenneModeler GUI
> Affects Versions: 2.0 [STABLE], 3.0
> Environment: Gentoo Linux, kernel 2.6.23.9, IBM's Java 1.6.0 SDK GA release on 32-bit ppc
> Reporter: Jon Sharp
> Assignee: Andrus Adamchik
>
> The following stacktrace occurs when attempting either to create a new project or loading an existing project. I suspect it may be a problem with the VM, but I post the issue here for full disclosure. Hopefully someone else can confirm if this is a platform/VM issue or not and perhaps provide a fix/workaround.
> Thanks!
> CayenneModeler Info
> Version: cayenne.version
> Build Date: cayenne.build.date
> Exception:
> =================================
> java.beans.IntrospectionException: Unwritable property 'dividerLocation'
> at org.apache.cayenne.reflect.PropertyUtils.setSimpleProperty(PropertyUtils.java:185)
> at org.apache.cayenne.reflect.PropertyUtils.setProperty(PropertyUtils.java:129)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:112)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:98)
> at org.apache.cayenne.modeler.editor.EditorView.initController(EditorView.java:172)
> at org.apache.cayenne.modeler.editor.EditorView.<init>(EditorView.java:99)
> at org.apache.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:203)
> at org.apache.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:77)
> at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:161)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2007)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2330)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:399)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:254)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:248)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:284)
> at java.awt.Component.processMouseEvent(Component.java:6053)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3277)
> at java.awt.Component.processEvent(Component.java:5818)
> at java.awt.Container.processEvent(Container.java:2070)
> at java.awt.Component.dispatchEventImpl(Component.java:4425)
> at java.awt.Container.dispatchEventImpl(Container.java:2128)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4334)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3998)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3928)
> at java.awt.Container.dispatchEventImpl(Container.java:2114)
> at java.awt.Window.dispatchEventImpl(Window.java:2452)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:285)
> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[JIRA] Issue Comment Edited: (CAY-940) CayenneModeler fails on load
of existing project file or upon creation of new project on IBM's Java
1.6.0 SDK on 32-bit ppc
Posted by "Jon Sharp (JIRA)" <de...@cayenne.apache.org>.
[ https://issues.apache.org/cayenne/browse/CAY-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12631 ]
jrsharp edited comment on CAY-940 at 12/13/07 8:14 AM:
---------------------------------------------------------
I understood that this JDK was likely to be completely untested with Cayenne, the 1.6 version, especially, as it is brand new. And yes, it's clearly a problem with the Swing stuff. Unfortunately, this JDK is my best option on this machine, a Powerbook running Linux, as Sun does not support Linux/PPC. It has been great for the most part, however, and I expect that there may be a fix/workaround for this issue. Perhaps it's simply a matter of specifying a certain configuration option. Below is the output of of 'java -version', and I will also downgrade to the IBM 1.5 JDK and check that out, too.
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_bHdSMR
JIT - r9_20071121_1330
GC - 20071031_AA)
JCL - 20071118_01
was (Author: jrsharp):
I understood that this jdk was likely to be completely untested with Cayenne. And yes, it's clearly a problem with the Swing stuff. Unfortunately, this JDK is my only option on this machine, a Powerbook running Linux, as Sun does not support Linux/PPC. It has been great for the most part, however, and I expect that there may be a fix/workaround for this issue. Perhaps it's simply a matter of specifying a particular configuration option. Below is the output of of 'java -version', and I will also downgrade to the IBM 1.5 JDK and check that out, too.
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_bHdSMR
JIT - r9_20071121_1330
GC - 20071031_AA)
JCL - 20071118_01
> CayenneModeler fails on load of existing project file or upon creation of new project on IBM's Java 1.6.0 SDK on 32-bit ppc
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CAY-940
> URL: https://issues.apache.org/cayenne/browse/CAY-940
> Project: Cayenne
> Issue Type: Bug
> Components: CayenneModeler GUI
> Affects Versions: 2.0 [STABLE], 3.0
> Environment: Gentoo Linux, kernel 2.6.23.9, IBM's Java 1.6.0 SDK GA release on 32-bit ppc
> Reporter: Jon Sharp
> Assignee: Andrus Adamchik
>
> The following stacktrace occurs when attempting either to create a new project or loading an existing project. I suspect it may be a problem with the VM, but I post the issue here for full disclosure. Hopefully someone else can confirm if this is a platform/VM issue or not and perhaps provide a fix/workaround.
> Thanks!
> CayenneModeler Info
> Version: cayenne.version
> Build Date: cayenne.build.date
> Exception:
> =================================
> java.beans.IntrospectionException: Unwritable property 'dividerLocation'
> at org.apache.cayenne.reflect.PropertyUtils.setSimpleProperty(PropertyUtils.java:185)
> at org.apache.cayenne.reflect.PropertyUtils.setProperty(PropertyUtils.java:129)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:112)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:98)
> at org.apache.cayenne.modeler.editor.EditorView.initController(EditorView.java:172)
> at org.apache.cayenne.modeler.editor.EditorView.<init>(EditorView.java:99)
> at org.apache.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:203)
> at org.apache.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:77)
> at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:161)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2007)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2330)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:399)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:254)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:248)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:284)
> at java.awt.Component.processMouseEvent(Component.java:6053)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3277)
> at java.awt.Component.processEvent(Component.java:5818)
> at java.awt.Container.processEvent(Container.java:2070)
> at java.awt.Component.dispatchEventImpl(Component.java:4425)
> at java.awt.Container.dispatchEventImpl(Container.java:2128)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4334)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3998)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3928)
> at java.awt.Container.dispatchEventImpl(Container.java:2114)
> at java.awt.Window.dispatchEventImpl(Window.java:2452)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:285)
> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[JIRA] Commented: (CAY-940) CayenneModeler fails on load of
existing project file or upon creation of new project on IBM's Java 1.6.0
SDK on 32-bit ppc
Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
[ https://issues.apache.org/cayenne/browse/CAY-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12630 ]
Andrus Adamchik commented on CAY-940:
-------------------------------------
Another thing to doublecheck is JDK. I am not sure how the Modeler works on "IBM's Java 1.6.0 S"... first thing to check I guess is that there are no other Java installations (some linux distros ship with open source java distros in /usr/bin, that are not yet capable to run most Swing apps).
So "$ java -version" is the first thing to check
Second... The Modeler is tested on Sun JVM version 1.4 or 1.5 ( we haven;t done any 1.6 testing just yet)... So could you install Sun java and try it again?
> CayenneModeler fails on load of existing project file or upon creation of new project on IBM's Java 1.6.0 SDK on 32-bit ppc
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CAY-940
> URL: https://issues.apache.org/cayenne/browse/CAY-940
> Project: Cayenne
> Issue Type: Bug
> Components: CayenneModeler GUI
> Affects Versions: 2.0 [STABLE], 3.0
> Environment: Gentoo Linux, kernel 2.6.23.9, IBM's Java 1.6.0 SDK GA release on 32-bit ppc
> Reporter: Jon Sharp
> Assignee: Andrus Adamchik
>
> The following stacktrace occurs when attempting either to create a new project or loading an existing project. I suspect it may be a problem with the VM, but I post the issue here for full disclosure. Hopefully someone else can confirm if this is a platform/VM issue or not and perhaps provide a fix/workaround.
> Thanks!
> CayenneModeler Info
> Version: cayenne.version
> Build Date: cayenne.build.date
> Exception:
> =================================
> java.beans.IntrospectionException: Unwritable property 'dividerLocation'
> at org.apache.cayenne.reflect.PropertyUtils.setSimpleProperty(PropertyUtils.java:185)
> at org.apache.cayenne.reflect.PropertyUtils.setProperty(PropertyUtils.java:129)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:112)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:98)
> at org.apache.cayenne.modeler.editor.EditorView.initController(EditorView.java:172)
> at org.apache.cayenne.modeler.editor.EditorView.<init>(EditorView.java:99)
> at org.apache.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:203)
> at org.apache.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:77)
> at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:161)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2007)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2330)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:399)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:254)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:248)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:284)
> at java.awt.Component.processMouseEvent(Component.java:6053)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3277)
> at java.awt.Component.processEvent(Component.java:5818)
> at java.awt.Container.processEvent(Container.java:2070)
> at java.awt.Component.dispatchEventImpl(Component.java:4425)
> at java.awt.Container.dispatchEventImpl(Container.java:2128)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4334)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3998)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3928)
> at java.awt.Container.dispatchEventImpl(Container.java:2114)
> at java.awt.Window.dispatchEventImpl(Window.java:2452)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:285)
> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[JIRA] Commented: (CAY-940) CayenneModeler fails on load of
existing project file or upon creation of new project on IBM's Java 1.6.0
SDK on 32-bit ppc
Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
[ https://issues.apache.org/cayenne/browse/CAY-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12628 ]
Andrus Adamchik commented on CAY-940:
-------------------------------------
I vaguely recall a similar error happenning long time ago with older versions of Cayenne. Usually such errors point to corrupt properties DB. For a fix I suggest the following:
* Close all instances of Modeler
* rm -rf ~/.cayenne/prefs
* rm ~/.cayenne/modeler.preferences
Please confirm whether this made any difference.
> CayenneModeler fails on load of existing project file or upon creation of new project on IBM's Java 1.6.0 SDK on 32-bit ppc
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: CAY-940
> URL: https://issues.apache.org/cayenne/browse/CAY-940
> Project: Cayenne
> Issue Type: Bug
> Components: CayenneModeler GUI
> Affects Versions: 2.0 [STABLE], 3.0
> Environment: Gentoo Linux, kernel 2.6.23.9, IBM's Java 1.6.0 SDK GA release on 32-bit ppc
> Reporter: Jon Sharp
> Assignee: Andrus Adamchik
>
> The following stacktrace occurs when attempting either to create a new project or loading an existing project. I suspect it may be a problem with the VM, but I post the issue here for full disclosure. Hopefully someone else can confirm if this is a platform/VM issue or not and perhaps provide a fix/workaround.
> Thanks!
> CayenneModeler Info
> Version: cayenne.version
> Build Date: cayenne.build.date
> Exception:
> =================================
> java.beans.IntrospectionException: Unwritable property 'dividerLocation'
> at org.apache.cayenne.reflect.PropertyUtils.setSimpleProperty(PropertyUtils.java:185)
> at org.apache.cayenne.reflect.PropertyUtils.setProperty(PropertyUtils.java:129)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:112)
> at org.apache.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:98)
> at org.apache.cayenne.modeler.editor.EditorView.initController(EditorView.java:172)
> at org.apache.cayenne.modeler.editor.EditorView.<init>(EditorView.java:99)
> at org.apache.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:203)
> at org.apache.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:77)
> at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:161)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2007)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2330)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:399)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:254)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:248)
> at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:284)
> at java.awt.Component.processMouseEvent(Component.java:6053)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3277)
> at java.awt.Component.processEvent(Component.java:5818)
> at java.awt.Container.processEvent(Container.java:2070)
> at java.awt.Component.dispatchEventImpl(Component.java:4425)
> at java.awt.Container.dispatchEventImpl(Container.java:2128)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4334)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3998)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3928)
> at java.awt.Container.dispatchEventImpl(Container.java:2114)
> at java.awt.Window.dispatchEventImpl(Window.java:2452)
> at java.awt.Component.dispatchEvent(Component.java:4255)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:285)
> at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.