Skip to content
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

Random msgpack compilation errors in radio #911

Closed
bernd opened this issue Jan 21, 2015 · 0 comments
Closed

Random msgpack compilation errors in radio #911

bernd opened this issue Jan 21, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@bernd
Copy link
Member

bernd commented Jan 21, 2015

The following error sometimes appears when starting radio.

org.msgpack.MessageTypeException: org.msgpack.template.builder.TemplateBuildException: Cannot compile: 
{
  if (!$3 && $1.trySkipNil()) {
    return null;
  }
  org.graylog2.plugin.RadioMessage _$$_t;
  if ($2 == null) {
    _$$_t = new org.graylog2.plugin.RadioMessage();
  } else {
    _$$_t = (org.graylog2.plugin.RadioMessage) $2;
  }
  $1.readArrayBegin();
  if ($1.trySkipNil()) {  } else {
    _$$_t.strings = (java.util.Map) this.templates[0].read($1, _$$_t.strings);
  }
  if ($1.trySkipNil()) {  } else {
    _$$_t.longs = (java.util.Map) this.templates[1].read($1, _$$_t.longs);
  }
  if ($1.trySkipNil()) {  } else {
    _$$_t.doubles = (java.util.Map) this.templates[2].read($1, _$$_t.doubles);
  }
    _$$_t.timestamp = $1.readLong();
  $1.readArrayEnd();
  return _$$_t;
}

    at org.msgpack.template.TemplateRegistry.buildAndRegister(TemplateRegistry.java:575)
    at org.msgpack.template.TemplateRegistry.lookupAfterBuilding(TemplateRegistry.java:472)
    at org.msgpack.template.TemplateRegistry.lookup(TemplateRegistry.java:251)
    at org.msgpack.MessagePack.write(MessagePack.java:195)
    at org.graylog2.plugin.RadioMessage.serialize(RadioMessage.java:68)
    at org.graylog2.radio.transports.amqp.AMQPSender.send(AMQPSender.java:104)
    at org.graylog2.radio.transports.amqp.AMQPProducer$AMQPSenderPool.send(AMQPProducer.java:68)
    at org.graylog2.radio.transports.amqp.AMQPProducer.send(AMQPProducer.java:92)
    at org.graylog2.radio.buffers.processors.RadioProcessBufferProcessor.handleMessage(RadioProcessBufferProcessor.java:64)
    at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:65)
    at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:33)
    at com.lmax.disruptor.WorkProcessor.run(WorkProcessor.java:138)
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
@bernd bernd added the bug label Jan 21, 2015
@bernd bernd self-assigned this Jan 21, 2015
@bernd bernd added this to the 1.0.0 milestone Jan 21, 2015
@bernd bernd closed this as completed in 0d0efc5 Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant