Hi Seby,

I would suggest upgrading to Graylog2 0.90.3 (on your Radio *and* your 
Server nodes) in which the bug should have been fixed.

If you can upgrade your Elasticsearch Cluster you can even use Graylog2 
0.91.3 or the upcoming 0.92.0 release.


Cheers,
Jochen 



Am Donnerstag, 20. November 2014 14:36:10 UTC+1 schrieb Seby Francis:
>
> Here are my version details:
>
> graylog2-radio-0.90.0-1.noarch
>
> graylog2-server-0.90.1-1.noarch
>
>
> I don't see the errors after removing the slack plugin 
> "graylog2-alarmcallback-slack-0.90.0.jar" from plugin directory 
> (/usr/share/graylog2-server/plugin/) and restarted the server.
>
>
>
>
>
> On Thu, Nov 20, 2014 at 6:45 PM, Jochen Schalanda <joc...@torch.sh 
> <javascript:>> wrote:
>
>> Hi Seby,
>>
>> I'm quite sure that this error isn't related to the PagerDuty plugin. 
>> Does the error vanish when you remove the PagerDuty plugin?
>>
>> Actually it resembles another bug which should've been fixed some time 
>> ago. Which version of Graylog2 are you running?
>>
>>
>> Best regards,
>> Jochen
>>
>> Am Donnerstag, 20. November 2014 11:22:19 UTC+1 schrieb Seby Francis:
>>
>>> Hi Guys,
>>>
>>> We have graylog2 environment consisting of 2 servers and 2 radio nodes. 
>>> I see the following errors, when I try to install the slack alarm call back 
>>> plugin:
>>>
>>> 2014-11-20T10:13:02.358Z INFO  [ConsumerFetcherManager] 
>>> [ConsumerFetcherManager-1416478381624] Added fetcher for partitions 
>>> ArrayBuffer([[graylog2-radio-messages,0], initOffset 622327451 to 
>>> broker id:2,host:2.graylog2.platform28.com,port:9092] , 
>>> [[graylog2-radio-messages,1], initOffset 601126655 to broker id:1,host:
>>> 1.graylog2.platform28.com,port:9092] )
>>> 2014-11-20T10:13:02.363Z INFO  [ConsumerFetcherThread] 
>>> [ConsumerFetcherThread-graylog2_1.graylog2.platform28.com-1416478381550-b8699532-0-1],
>>>  
>>> Starting 
>>> 2014-11-20T10:13:02.496Z ERROR [BuildContext] builder: 
>>> {
>>>   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;
>>> }
>>>
>>> 2014-11-20T10:13:02.497Z ERROR [KafkaInput] Error while processing Kafka 
>>> radio message
>>> 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.read(MessagePack.java:370)
>>> at org.graylog2.inputs.kafka.KafkaInput$2.decodeMessage(
>>> KafkaInput.java:235)
>>> at org.graylog2.inputs.kafka.KafkaInput$2.run(KafkaInput.java:191)
>>> at java.util.concurrent.Executors$RunnableAdapter.
>>> call(Executors.java:471)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>> 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)
>>> Caused by: 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.builder.BuildContext.build(BuildContext.java:73)
>>> at org.msgpack.template.builder.DefaultBuildContext.buildTemplate(
>>> DefaultBuildContext.java:56)
>>> at org.msgpack.template.builder.JavassistTemplateBuilder.buildTemplate(
>>> JavassistTemplateBuilder.java:116)
>>> at org.msgpack.template.builder.AbstractTemplateBuilder.buildTemplate(
>>> AbstractTemplateBuilder.java:61)
>>> at org.msgpack.template.TemplateRegistry.buildAndRegister(
>>> TemplateRegistry.java:562)
>>> ... 10 more
>>> Caused by: javassist.CannotCompileException: by java.lang.LinkageError: 
>>> loader (instance of  sun/misc/Launcher$AppClassLoader): attempted 
>>>  duplicate class definition for name: "org/graylog2/plugin/
>>> RadioMessage_$$_Template_208205053_0"
>>> at javassist.ClassPool.toClass(ClassPool.java:1099)
>>> at javassist.CtClass.toClass(CtClass.java:1265)
>>> at org.msgpack.template.builder.BuildContext.createClass(
>>> BuildContext.java:154)
>>> at org.msgpack.template.builder.BuildContext.build(BuildContext.java:68)
>>> ... 14 more
>>> Caused by: java.lang.LinkageError: loader (instance of 
>>>  sun/misc/Launcher$AppClassLoader): attempted  duplicate class 
>>> definition for name: "org/graylog2/plugin/RadioMessage_$$_Template_
>>> 208205053_0"
>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>> DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at javassist.ClassPool.toClass2(ClassPool.java:1112)
>>> at javassist.ClassPool.toClass(ClassPool.java:1093)
>>> ... 17 more
>>> 2014-11-20T10:13:47.240Z INFO  [AbstractValidatingSessionManager] 
>>> Enabling session validation scheduler...
>>> 2014-11-20T10:13:47.243Z INFO  [AbstractValidatingSessionManager] 
>>> Enabling session validation scheduler...
>>>
>>> Let me know if you need anything else on this.
>>>
>>> Thanks,
>>> Seby.
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "graylog2" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to graylog2+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to