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