arthuredelstein/clooj — Issue #76: java.lang.IllegalArgumentException: Path ends with slash 
Author: klauern
Created: 2011-11-18 13:14:51+00:00
State: open

I get this in the REPL with some projects after I've opened and selected a few files. I haven't been able to pin down exactly how it happens, but I thought I'd start with the stacktrace first:

```
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Path ends with slash
at java.util.prefs.AbstractPreferences.node(Unknown Source)
at java.util.prefs.AbstractPreferences.node(Unknown Source)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:92)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:30)
at clooj.utils$write_value_to_prefs.invoke(utils.clj:68)
at clooj.core$save_caret_position.invoke(core.clj:166)
at clooj.core$restart_doc.invoke(core.clj:522)
at clooj.core$setup_tree$reify__1021$fn__1022.invoke(core.clj:305)
at clojure.lang.AFn.run(AFn.java:24)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(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.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)
```

This is on `v0.2.5` on Windows XP, Java 7_01