One of my customers wanted to view my Cayenne 1.1 model as an ER
Diagram under windows, so I upgraded the model using Cayenne modeler
3.0, then 3.1B2, all under linux.

I then emailed them the simplified model and told them to view it
using Cayenne 3.1B2 (under windows).

They get this error when they open the model.
I also installed Cayenne 3.1B2-win and got the same error under Windows 7.

Looks like it's related to perferences -- I'm not sure if it has
anything to do with this particular model.

CayenneModeler Info
Version: 3.1B2
Build Date: Feb 07 2013 18:36:43
Exception:
==============================
===
java.lang.IllegalArgumentException: Consecutive slashes in path
        at java.util.prefs.AbstractPreferences.node(Unknown Source)
        at java.util.prefs.AbstractPreferences.node(Unknown Source)
        at java.util.prefs.AbstractPreferences.node(Unknown Source)
        at java.util.prefs.AbstractPreferences.node(Unknown Source)
        at java.util.prefs.AbstractPreferences.node(Unknown Source)
        at java.util.prefs.AbstractPreferences.node(Unknown Source)
        at 
org.apache.cayenne.modeler.Application.getMainPreferenceForProject(Application.java:219)
        at 
org.apache.cayenne.modeler.util.CayenneController.getViewPreferences(CayenneController.java:114)
        at 
org.apache.cayenne.modeler.util.CayenneController.getLastDirectory(CayenneController.java:88)
        at 
org.apache.cayenne.modeler.CayenneModelerController.projectOpenedAction(CayenneModelerController.java:232)
        at 
org.apache.cayenne.modeler.action.OpenProjectAction.openProjectResourse(OpenProjectAction.java:205)
        at 
org.apache.cayenne.modeler.action.OpenProjectAction.openProject(OpenProjectAction.java:188)
        at 
org.apache.cayenne.modeler.action.OpenProjectAction.performAction(OpenProjectAction.java:103)
        at 
org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:162)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Reply via email to