[undertow-dev] awesome

Stuart Douglas sdouglas at redhat.com
Sun Nov 23 17:52:44 EST 2014


That error should be fixed in the recently released 1.1.0.Final. 

The only thing is that 1.1.0.Final requires Java 7, and looking at your build it looks like you are targeting 1.6. This will still work if you build with Java 7, however it will cause problems if you try and build with 1.6 (and obviously the undertow specific features will need JDK7). 

The main reason for this is that Servlet 3.1 relies on some JDK7 classes. If you really need full JDK6 support we could potentially use David's seven2six tool to produce JDK6 compatible artefacts.

Stuart

----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: "Stuart Douglas" <sdouglas at redhat.com>
> Cc: undertow-dev at lists.jboss.org
> Sent: Saturday, 22 November, 2014 1:18:39 AM
> Subject: Re: [undertow-dev] awesome
> 
> BTW I occasionally get these errors, but things still work:
> 
> 09:13:26,568 ERROR [io.undertow.request] Blocking request failed
> HttpServerExchange{ GET /customer-portal/users}
> java.lang.NullPointerException
> 	at
> io.undertow.client.http.HttpRequestConduit.processWrite(HttpRequestConduit.java:337)
> 	at
> io.undertow.client.http.HttpRequestConduit.flush(HttpRequestConduit.java:573)
> 	at
> io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.flush(AbstractFixedLengthStreamSinkConduit.java:205)
> 	at
> org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:162)
> 	at
> io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:282)
> 	at
> io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:215)
> 	at
> io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:355)
> 	at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:17)
> 	at
> io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:712)
> 	at
> io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:232)
> 	at
> io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:227)
> 	at
> io.undertow.server.handlers.proxy.SimpleProxyClientProvider.getConnection(SimpleProxyClientProvider.java:48)
> 	at
> io.undertow.server.handlers.proxy.ProxyHandler$3.run(ProxyHandler.java:154)
> 
> 
> On 11/21/2014 7:00 AM, Stuart Douglas wrote:
> > Also do you have any details posted somewhere about how you did it?
> >
> > Stuart
> >
> > ----- Original Message -----
> >> From: "Stuart Douglas" <sdouglas at redhat.com>
> >> To: "Bill Burke" <bburke at redhat.com>
> >> Cc: undertow-dev at lists.jboss.org
> >> Sent: Friday, 21 November, 2014 7:06:43 PM
> >> Subject: Re: [undertow-dev] awesome
> >>
> >>
> >>
> >> ----- Original Message -----
> >>> From: "Bill Burke" <bburke at redhat.com>
> >>> To: undertow-dev at lists.jboss.org
> >>> Sent: Friday, 21 November, 2014 2:13:03 PM
> >>> Subject: [undertow-dev] awesome
> >>>
> >>> I couldn't believe how easy it was to create an http security proxy for
> >>> Keycloak using undertow.  Undertow was insanely modular and easy to
> >>> piece together how I wanted.  Great work guys.
> >>
> >> Awesome :-)
> >>
> >> Stuart
> >>
> >>>
> >>> Thanks
> >>>
> >>> --
> >>> Bill Burke
> >>> JBoss, a division of Red Hat
> >>> http://bill.burkecentral.com
> >>> _______________________________________________
> >>> undertow-dev mailing list
> >>> undertow-dev at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/undertow-dev
> >>>
> >>
> 
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> 


More information about the undertow-dev mailing list