[slf4j-dev] [Bug 79] NullPointerException in SLF4JLocationAwareLog.debug
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Thu Mar 5 19:25:25 CET 2009
http://bugzilla.slf4j.org/show_bug.cgi?id=79
--- Comment #16 from Ceki Gulcu <listid at qos.ch> 2009-03-05 19:25:24 ---
(In reply to comment #12)
>
> I've been seeing the same issue and have confirmed it is a deserialization
> issue with the jcl over slf4j SLF4JLocationAwareLog implementation. After
> looking through the source code (and reading bug #71), I can see that the
> logger instance variable is transient, but there is no accompanying readResolve
> method implementation. In contrast, logger implementations in the main slf4j
> packages, e.g. Log4jLoggerAdapter, extend MarkerIgnoringBase which extends
> NamedLoggerBase which implements an appropriate readResolve method to recreate
> a logger after serialization.
It looks like you have identified the problem quite precisely. Would you care
supplying a patch?
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list