RE: Re: NPE when using WADL extension auto transform to HTML feature

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: Re: NPE when using WADL extension auto transform to HTML feature

jeremy
Any news ?

I'am still using restlet 2.1-M3 because all newer version of restlet including the lastest 2.1.1 have the same bug.

Regards,

> Hello Jon, Paul,
>
> I think there is a regression introduced during the application of a patch.
> I keep you informed quickly.
>
> Best regards,
> Thierry Boileau
>
> I'm having this same issue: just trying to retrieve <url>/method=OPTIONS on
> > my WadlApplication derivative gives the following:
> >
> > SEVERE: An exception occured writing the response entity
> > java.lang.NullPointerException
> >         at
> > org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:642)
> >         at
> > org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273)
> >         at
> > org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
> >         at
> > org.restlet.ext.xml.TransformRepresentation.transform(TransformRepresentation.java:572)
> >         at
> > org.restlet.ext.xml.TransformRepresentation.write(TransformRepresentation.java:589)
> >         at
> > org.restlet.ext.xml.TransformRepresentation.write(TransformRepresentation.java:599)
> >         at
> > org.restlet.representation.CharacterRepresentation.write(CharacterRepresentation.java:76)
> >         at
> > org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:509)
> >         at
> > org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:453)
> >         at
> > org.restlet.ext.servlet.internal.ServletCall.sendResponse(ServletCall.java:459)
> >
> > Requesting JSON works fine, of course.
> >
> > Like Paul, I have xalan 2.7.1 (Maven dependency).
> >
> > This is the GAE edition, if it matters.
> >
> > Help!
> >
> > ------------------------------------------------------
> >
> > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3019365
> >

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3048573
Reply | Threaded
Open this post in threaded view
|

RE: Re: NPE when using WADL extension auto transform to HTML feature

jeremy
With 2.1.2 --> the error is still here !!!

An exception occured writing the response entity
java.lang.NullPointerException
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:642)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
        at org.restlet.ext.xml.TransformRepresentation.transform(TransformRepresentation.java:573)
        at org.restlet.ext.xml.TransformRepresentation.write(TransformRepresentation.java:590)
        at org.restlet.ext.xml.TransformRepresentation.write(TransformRepresentation.java:600)
        at org.restlet.representation.CharacterRepresentation.write(CharacterRepresentation.java:76)
        at org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:509)
        at org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:453)
        at org.restlet.ext.jetty.internal.JettyCall.sendResponse(JettyCall.java:312)
        at org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:196)
        at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:153)
        at org.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:170)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:884)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:938)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:622)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
        at java.lang.Thread.run(Thread.java:680)

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053716
Reply | Threaded
Open this post in threaded view
|

RE: Re: NPE when using WADL extension auto transform to HTML feature

jeremy
It is the JSE Edition

> With 2.1.2 --> the error is still here !!!
>
> An exception occured writing the response entity
> java.lang.NullPointerException
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:642)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
> at org.restlet.ext.xml.TransformRepresentation.transform(TransformRepresentation.java:573)
> at org.restlet.ext.xml.TransformRepresentation.write(TransformRepresentation.java:590)
> at org.restlet.ext.xml.TransformRepresentation.write(TransformRepresentation.java:600)
> at org.restlet.representation.CharacterRepresentation.write(CharacterRepresentation.java:76)
> at org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:509)
> at org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:453)
> at org.restlet.ext.jetty.internal.JettyCall.sendResponse(JettyCall.java:312)
> at org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:196)
> at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:153)
> at org.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:170)
> at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
> at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:884)
> at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:938)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
> at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:622)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
> at java.lang.Thread.run(Thread.java:680)

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053858
Reply | Threaded
Open this post in threaded view
|

RE: Re: NPE when using WADL extension auto transform to HTML feature

jeremy
In reply to this post by jeremy
Any news ...

The error is still present in 2.1.2  (jse edition)

thanks

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053859
Reply | Threaded
Open this post in threaded view
|

Re: Re: NPE when using WADL extension auto transform to HTML feature

Jerome Louvel-3
Hi all,

It seems that this issue is still present, please follow this ticket for updates:

Best regards,
Jerome



2013/4/21 jeremy <[hidden email]>
Any news ...

The error is still present in 2.1.2  (jse edition)

thanks

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053859