Make an JIRA issue: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://jira.qos.ch/browse/LBACCESS-18">http://jira.qos.ch/browse/LBACCESS-18</a> I also think this issue is closely related to LBACCESS-6, but I doesn't have permissions to reopen it.<br>
<br><div class="gmail_quote">On Mon, Dec 6, 2010 at 6:20 PM, Ceki Gulcu <span dir="ltr"><<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Denis,<br>
<br>
Looks like a logback-access bug. Could you please enter a jira issue?<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On 06.12.2010 08:51, Denis Bazhenov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to use SimpleSocketServer (from logback-access) for remote<br>
logging of AccessEvent's. The problem I faced is following. When object<br>
get deserialized in SocketNode on line 64 it has no httpRequest (it's<br>
simply null). There is debugger dump of event:<br>
<br>
event = instance of ch.qos.logback.access.spi.AccessEvent(id=932)<br>
Thread-1[1] dump event<br>
event = {<br>
serialVersionUID: 866718993618836343<br>
NA: "-"<br>
NA_STRING_ARRAY: instance of java.lang.String[1] (id=914)<br>
EMPTY: ""<br>
SENTINEL: -1<br>
httpRequest: null<br>
httpResponse: null<br>
requestURI: "/"<br>
requestURL: "GET / HTTP/1.1"<br>
remoteHost: "192.168.20.179"<br>
remoteUser: null<br>
remoteAddr: "192.168.20.179"<br>
protocol: "HTTP/1.1"<br>
method: "GET"<br>
serverName: "jetty-test"<br>
requestContent: ""<br>
responseContent: ""<br>
requestHeaderMap: instance of java.util.TreeMap(id=938)<br>
requestParameterMap: instance of java.util.HashMap(id=939)<br>
responseHeaderMap: instance of java.util.HashMap(id=940)<br>
contentLength: 1288<br>
statusCode: 503<br>
localPort: 8080<br>
serverAdapter: null<br>
timeStamp: 1291621192027<br>
}<br>
<br>
So later this gives me NPE in AccessEvent.buildRequestHeaderMap().<br>
<br>
Where I should look? Is this some serialization/deserialization problems?<br>
<br>
</blockquote>
<br></div></div>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote></div><br>