cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: java.lang.IllegalArgumentException: Consecutive slashes in path
Date Wed, 22 May 2013 17:40:52 GMT
Let's definitely Jira that. Windows doesn't get as much love during development, so all these
special cases coming from the end users are very valuable to us.

Andrus


On May 20, 2013, at 8:39 PM, Mike Kienenberger <mkienenb@gmail.com> wrote:
> I didn't see any path info in my model that should cause the problem.
>  Maybe it has something to do with the location of the modeler and
> the model, both of which are in \\VBOXSVR\vmshared\.
> 
> \\VBOXSVR\vmshared\cayenne-3.1B2-win\cayenne-3.1B2-win\bin
> 
> I also got a different error when I tried creating a new empty model
> and immediately saving it under Windows 7.
> 
> CayenneModeler Info
> Version: 3.1B2
> Build Date: Feb 07 2013 18:36:43
> Exception:
> =================================
> java.lang.IllegalArgumentException: URI has an authority component
>    at java.io.File.<init>(Unknown Source)
>    at org.apache.cayenne.util.Util.toFile(Util.java:97)
>    at org.apache.cayenne.project.FileProjectSaver.createSaveUnit(FileProjectSaver.java:133)
>    at org.apache.cayenne.project.FileProjectSaver.saveAs(FileProjectSaver.java:92)
>    at org.apache.cayenne.modeler.action.SaveAsAction.saveAll(SaveAsAction.java:116)
>    at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:190)
>    at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:179)
>    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.AbstractButton.doClick(Unknown Source)
>    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
>    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
> Source)
>    at java.awt.AWTEventMulticaster.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)
> 
> On Mon, May 20, 2013 at 1:35 PM, Mike Kienenberger <mkienenb@gmail.com> wrote:
>> 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)
> 


Mime
View raw message