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.
This archive was generated by hypermail 2.0.0 : Thu Dec 13 2007 - 10:58:07 EST