Yeah, I have to change(edit) the modeler program itself. Not touch it for a while, totally forgot about it...
Thanks,
Alan
CONFIDENTIALITY NOTICE. This e-mail and attachments, if any, may contain confidential information which is privileged and protected from disclosure by Federal and State confidentiality laws, rules or regulations. This e-mail and attachments, if any, are intended for the designated addressee only . If you are not the designated addressee, you are hereby notified that any disclosure, copying, or distribution of this e-mail and its attachments, if any, may be unlawful and may subject you to legal consequences. If you have received this e-mail and attachments in error, please contact Independent Health immediately at (716) 631-3001 and delete the e-mail and its attachments from your computer. Thank you for your attention.
>>> andru..bjectstyle.org 05/25/05 04:17PM >>>
Hmm... I just found the same issue in Jira that I opened myself some time
back (and completely forgot about it):
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-216
It is not really a bug, but finding what was wrong took me a while..
Doublecheck that you don't have another JVM in your path (I had a very old
one - 1.1.8 installed with old versions of WebObjects). Make sure you are
using 1.4.* JVM to start the Modeler.
Andrus
> Thanks. I just tried this approach, remove the .cayenne under my account
> dir (and restart the computer). But the problem is still there, even
> when you try to create a new project.
>
> CayenneModeler Info Version: 1.1.2 Build Date: April 28 2005 Exception:
> =================================
> org.objectstyle.cayenne.pref.PreferenceException: Error setting
> property: dividerLocation at
> org.objectstyle.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:151)
> at
> org.objectstyle.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:134)
> at
> org.objectstyle.cayenne.modeler.editor.EditorView.initController(EditorView.java:192)
> at
> org.objectstyle.cayenne.modeler.editor.EditorView.<init>(EditorView.java:119)
> at
> org.objectstyle.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:207)
> at
> org.objectstyle.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:109)
> at
> org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:188)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
> at
> javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
> at
> javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
> at java.awt.Component.processMouseEvent(Component.java:5100) at
> java.awt.Component.processEvent(Component.java:4897) at
> java.awt.Container.processEvent(Container.java:1569) at
> java.awt.Component.dispatchEventImpl(Component.java:3615) at
> java.awt.Container.dispatchEventImpl(Container.java:1627) at
> java.awt.Component.dispatchEvent(Component.java:3477) at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
> at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
> at java.awt.Container.dispatchEventImpl(Container.java:1613) at
> java.awt.Window.dispatchEventImpl(Window.java:1606) at
> java.awt.Component.dispatchEvent(Component.java:3477) at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread..java:201)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
> Caused by: java.lang.NoSuchMethodException: Unknown property
> 'dividerLocation' at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1777)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
> at
> org.objectstyle.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:148)
> ... 31 more Caused by: java.lang.NoSuchMethodException: Unknown
> property 'dividerLocation' at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1777)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
> at
> org.objectstyle.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:148)
> at
> org.objectstyle.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(ComponentGeometry.java:134)
> at
> org.objectstyle.cayenne.modeler.editor.EditorView.initController(EditorView.java:192)
> at
> org.objectstyle.cayenne.modeler.editor.EditorView.<init>(EditorView.java:119)
> at
> org.objectstyle.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:207)
> at
> org.objectstyle.cayenne.modeler.action.NewProjectAction.performAction(NewProjectAction.java:109)
> at
> org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:188)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
> at
> javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
> at
> javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
> at java.awt.Component.processMouseEvent(Component.java:5100) at
> java.awt.Component.processEvent(Component.java:4897) at
> java.awt.Container.processEvent(Container.java:1569) at
> java.awt.Component.dispatchEventImpl(Component.java:3615) at
> java.awt.Container.dispatchEventImpl(Container.java:1627) at
> java.awt.Component.dispatchEvent(Component.java:3477) at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
> at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
> at java.awt.Container.dispatchEventImpl(Container.java:1613) at
> java.awt.Window.dispatchEventImpl(Window.java:1606) at
> java.awt.Component.dispatchEvent(Component.java:3477) at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread..java:201)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
>
> Alan
>
>
>
>>>> andru..bjectstyle.org 05/25/05 03:46PM >>>
>> After try to open cayenne.xml built in old version, it shows the
>> following errors:
>>
>> CayenneModeler Info Version: 1.1RC2 Build Date: October 24 2004
>> Exception: ================================>
>> org.objectstyle.cayenne.pref.PreferenceException: Error setting
>> property: dividerLocation at
>> org.objectstyle.cayenne.modeler.pref.ComponentGeometry.updateIntProperty(ComponentGeometry.java:151)
>> at
>
> Close the Modeler and delete ".cayenne" directory under your account
> home directory (this link should help you to find it:
> http://objectstyle.org/cayenne/modelerguide/modeler-intro/cayenne-user-dir.html)
> .. Then restart the Modeler, everything should work again.
>
> Andrus
This archive was generated by hypermail 2.0.0 : Wed May 25 2005 - 16:33:11 EDT