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

GELF output ClassCastException #921

Closed
kroepke opened this Issue Jan 26, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@kroepke
Member

kroepke commented Jan 26, 2015

forwarding the Random HTTP input data via GELF output leads to

2015-01-26 17:24:52,545 ERROR: org.graylog2.buffers.processors.OutputBufferProcessor - Error in output [class org.graylog2.outputs.GelfOutput].
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
    at org.graylog2.outputs.GelfOutput.toGELFMessage(GelfOutput.java:135)
    at org.graylog2.outputs.GelfOutput.write(GelfOutput.java:117)
    at org.graylog2.buffers.processors.OutputBufferProcessor$1.run(OutputBufferProcessor.java:194)
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

@kroepke kroepke added this to the 1.0.0 milestone Jan 26, 2015

@dennisoelkers dennisoelkers self-assigned this Jan 26, 2015

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