[Celerity-users] memory leaks and serialize blockage

Jari Bakken jari.bakken at gmail.com
Thu Dec 10 19:55:46 EST 2009


On Thu, Dec 10, 2009 at 11:28 PM, jason franklin-stokes
<jasoninclass at googlemail.com> wrote:
> Jari,
>
> so serialize works when i take @web_client out of the initialize in Listener

I'd be very surprised if that was the case. Are you sure you didn't
change anything else?
I tried making the same change and I still get:

org/apache/commons/lang/SerializationUtils.java:111:in `serialize':
org.apache.commons.lang.SerializationException:
java.io.NotSerializableException: org.jruby.gen.InterfaceImpl874503039
(NativeException)
	from org/apache/commons/lang/SerializationUtils.java:133:in `serialize'
	from test.rb:7

Since the JRuby interface implementation is still being added to the
WebClient, that makes total sense.


More information about the Celerity-users mailing list