I'm trying to use SimpleSocketServer (from logback-access) for remote logging of AccessEvent's. The problem I faced is following. When object get deserialized in SocketNode on line 64 it has no httpRequest (it's simply null). There is debugger dump of event:<div>
<br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">event = instance of ch.qos.logback.access.spi.AccessEvent(id=932)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">Thread-1[1] dump event</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> event = {</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> serialVersionUID: 866718993618836343</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> NA: "-"</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> NA_STRING_ARRAY: instance of java.lang.String[1] (id=914)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> EMPTY: ""</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> SENTINEL: -1</font></div><div>
<font class="Apple-style-span" face="'courier new', monospace"> httpRequest: null</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> httpResponse: null</font></div><div>
<font class="Apple-style-span" face="'courier new', monospace"> requestURI: "/"</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> requestURL: "GET / HTTP/1.1"</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> remoteHost: "192.168.20.179"</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> remoteUser: null</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> remoteAddr: "192.168.20.179"</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> protocol: "HTTP/1.1"</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> method: "GET"</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> serverName: "jetty-test"</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> requestContent: ""</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> responseContent: ""</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> requestHeaderMap: instance of java.util.TreeMap(id=938)</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> requestParameterMap: instance of java.util.HashMap(id=939)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> responseHeaderMap: instance of java.util.HashMap(id=940)</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> contentLength: 1288</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> statusCode: 503</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> localPort: 8080</font></div><div>
<font class="Apple-style-span" face="'courier new', monospace"> serverAdapter: null</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> timeStamp: 1291621192027</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">}</font></div></div><div><br></div><div>So later this gives me NPE in AccessEvent.buildRequestHeaderMap().</div><div><br></div><div>Where I should look? Is this some serialization/deserialization problems?</div>