New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV export throws an exception #901

Closed
bernd opened this Issue Jan 19, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@bernd
Member

bernd commented Jan 19, 2015

When searching for messages and klicking on Export -> Download CSV, I'm getting an empty file for download and the following error shows up in the server log.

2015-01-19 20:01:06,004 ERROR: org.glassfish.jersey.message.internal.WriterInterceptorExecutor - MessageBodyWriter not found for media type=text/csv; charset=utf-8, type=class org.graylog2.indexer.results.ScrollResult$ScrollChunk, genericType=class org.graylog2.indexer.results.ScrollResult$ScrollChunk.
Exception in thread "Thread-9" org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyWriter not found for media type=text/csv; charset=utf-8, type=class org.graylog2.indexer.results.ScrollResult$ScrollChunk, genericType=class org.graylog2.indexer.results.ScrollResult$ScrollChunk.
    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:247)
    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
    at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1154)
    at org.glassfish.jersey.server.ChunkedOutput$1.call(ChunkedOutput.java:219)
    at org.glassfish.jersey.server.ChunkedOutput$1.call(ChunkedOutput.java:190)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:242)
    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:347)
    at org.glassfish.jersey.server.ChunkedOutput.flushQueue(ChunkedOutput.java:190)
    at org.glassfish.jersey.server.ChunkedOutput.write(ChunkedOutput.java:180)
    at org.graylog2.rest.resources.search.SearchResource$1.run(SearchResource.java:276)
    at java.lang.Thread.run(Thread.java:745)

@bernd bernd added the bug label Jan 19, 2015

@bernd bernd added this to the 1.0.0 milestone Jan 19, 2015

@dennisoelkers dennisoelkers self-assigned this Jan 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment