Hi,

which test is executed that produces this output? Perhaps it is
expected behavior of a negative test?

- Fabian

2011/6/28 Alberto Musetti <[email protected]>:
> Hi,
>
>  when i build integration test bundle before message "BUILD SUCCESS" there is 
> this output message:
>
> GRAVE: A message body writer for Java class 
> org.apache.clerezza.rdf.core.impl.SimpleMGraph, and Java type class 
> org.apache.clerezza.rdf.core.impl.SimpleMGraph, and MIME media type 
> application/octet-stream was not found
> 28-giu-2011 15.30.33 com.sun.jersey.spi.container.ContainerResponse write
> GRAVE: The registered message body writers compatible with the MIME media 
> type are:
> */* ->
>  com.sun.jersey.core.impl.provider.entity.FormProvider
>  com.sun.jersey.core.impl.provider.entity.MimeMultipartProvider
>  com.sun.jersey.core.impl.provider.entity.StringProvider
>  com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
>  com.sun.jersey.core.impl.provider.entity.FileProvider
>  com.sun.jersey.core.impl.provider.entity.InputStreamProvider
>  com.sun.jersey.core.impl.provider.entity.DataSourceProvider
>  com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
>  com.sun.jersey.core.impl.provider.entity.ReaderProvider
>  com.sun.jersey.core.impl.provider.entity.DocumentProvider
>  com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider
>  com.sun.jersey.core.impl.provider.entity.SourceProvider$SourceWriter
>  com.sun.jersey.server.impl.template.ViewableMessageBodyWriter
>  com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
>  com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General
> application/octet-stream ->
>  com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
>  com.sun.jersey.core.impl.provider.entity.FileProvider
>  com.sun.jersey.core.impl.provider.entity.InputStreamProvider
>  com.sun.jersey.core.impl.provider.entity.DataSourceProvider
>  com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider
>
> 28-giu-2011 15.30.33 com.sun.jersey.spi.container.ContainerResponse 
> logException
> GRAVE: Mapped exception to response: 500 (Internal Server Error)
> javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A 
> message body writer for Java class 
> org.apache.clerezza.rdf.core.impl.SimpleMGraph, and Java type class 
> org.apache.clerezza.rdf.core.impl.SimpleMGraph, and MIME media type 
> application/octet-stream was not found
>        at 
> com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:285)
>        at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1433)
>        at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1345)
>        at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1335)
>        at 
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
>        at 
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
>        at 
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at 
> org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
>        at 
> org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
>        at 
> org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
>        at 
> org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
>        at 
> org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
>        at 
> org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
>        at 
> org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
>        at 
> org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>        at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
>        at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>        at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>        at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>        at org.mortbay.jetty.Server.handle(Server.java:326)
>        at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>        at 
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>        at 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>        at 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> Caused by: com.sun.jersey.api.MessageException: A message body writer for 
> Java class org.apache.clerezza.rdf.core.impl.SimpleMGraph, and Java type 
> class org.apache.clerezza.rdf.core.impl.SimpleMGraph, and MIME media type 
> application/octet-stream was not found
>        ... 30 more
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.918 sec
>
>
> Someone knows this problem?
>
> Best,
> Alberto
>
>



-- 
Fabian

Reply via email to