RE: Cayenne 1.1.2 modeler can not load project built in 1.1RC2

From: Gentry, Michael \(Contractor\) ("Gentry,)
Date: Wed May 25 2005 - 16:26:50 EDT

  • Next message: Alan Guo: "Re: Cayenne 1.1.2 modeler can not load project built in 1.1RC2"

    Wow, Java 1.1.8? We are only up to Java 1.1.6 on our version! :-)

    /dev/mrg

    -----Original Message-----
    From: Andrus Adamchik [mailto:andru..bjectstyle.org]
    Sent: Wednesday, May 25, 2005 4:17 PM
    To: cayenne-use..bjectstyle.org
    Subject: Re: Cayenne 1.1.2 modeler can not load project built in 1.1RC2

    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(C
    omponentGeometry.java:134)
    > at
    >
    org.objectstyle.cayenne.modeler.editor.EditorView.initController(EditorV
    iew.java:192)
    > at
    >
    org.objectstyle.cayenne.modeler.editor.EditorView.<init>(EditorView.java
    :119)
    > at
    >
    org.objectstyle.cayenne.modeler.CayenneModelerController.projectOpenedAc
    tion(CayenneModelerController.java:207)
    > at
    >
    org.objectstyle.cayenne.modeler.action.NewProjectAction.performAction(Ne
    wProjectAction.java:109)
    > at
    >
    org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(Cayen
    neAction.java:188)
    > at
    >
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    > at
    >
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractB
    utton.java:1839)
    > at
    >
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.ja
    va: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(B
    asicMenuItemUI.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(EventDispatchThrea
    d.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(PropertyUti
    ls.java:1777)
    > at
    >
    org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUti
    ls.java:1684)
    > at
    >
    org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.jav
    a: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(PropertyUti
    ls.java:1777)
    > at
    >
    org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUti
    ls.java:1684)
    > at
    >
    org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.jav
    a:1713)
    > at
    >
    org.objectstyle.cayenne.modeler.pref.ComponentGeometry.updateIntProperty
    (ComponentGeometry.java:148)
    > at
    >
    org.objectstyle.cayenne.modeler.pref.ComponentGeometry.bindIntProperty(C
    omponentGeometry.java:134)
    > at
    >
    org.objectstyle.cayenne.modeler.editor.EditorView.initController(EditorV
    iew.java:192)
    > at
    >
    org.objectstyle.cayenne.modeler.editor.EditorView.<init>(EditorView.java
    :119)
    > at
    >
    org.objectstyle.cayenne.modeler.CayenneModelerController.projectOpenedAc
    tion(CayenneModelerController.java:207)
    > at
    >
    org.objectstyle.cayenne.modeler.action.NewProjectAction.performAction(Ne
    wProjectAction.java:109)
    > at
    >
    org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(Cayen
    neAction.java:188)
    > at
    >
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    > at
    >
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractB
    utton.java:1839)
    > at
    >
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.ja
    va: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(B
    asicMenuItemUI.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(EventDispatchThrea
    d.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-d
    ir.html)
    > .. Then restart the Modeler, everything should work again.
    >
    > Andrus



    This archive was generated by hypermail 2.0.0 : Wed May 25 2005 - 16:26:55 EDT