Re: Deserialization of a Record

2014-03-23 Thread notofi
This exception also occurred to me, so I created a minimal example in this gist: https://gist.github.com/damn/9728288 Am Freitag, 8. Juni 2012 15:53:21 UTC+2 schrieb Stuart Sierra: Can you post a standalone example that doesn't require seesaw? Otherwise it's hard to reproduce the problem.

Re: Deserialization of a Record

2012-11-21 Thread Jim - FooBar();
I'm having the same problem as Chris... Serialization and deserialization from a REPL works fine whereas from the GUI it doesn't...ClassNotFoundException... binding *use-context-classloaders* to false did not help and invoking a future or an agent from the event handler doesn't work

Re: Deserialization of a Record

2012-06-08 Thread Stuart Sierra
Can you post a standalone example that doesn't require seesaw? Otherwise it's hard to reproduce the problem. If the problem is class visibility on the EDT, there are a couple of possiblities: 1. Bind *use-context-classloader* to false in your event handler. This might work. 2. Have the event

Deserialization of a Record

2012-05-26 Thread ChrisR
I have a problem deserializing a record from within a swing application. I wrote the minimal amount of code required to highlight the problem i'm having below. (if unfamiliar with seesaw, this is just creating a JButton which deserializes the record in the file /tmp/point on-click) (ns

Re: Deserialization of a Record

2012-05-26 Thread ChrisR
As an update to this, I can get deserialization working, so long as I (compile 'babel.records) within the file itself. It seems to me that having a raw (compile 'babel.records) type form at the start of each namespace containing defrecords I need to serialize would not be ideal, are there