karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanoussy DIALLO (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4629) Can't append into Elasticsearch
Date Tue, 19 Jul 2016 15:15:20 GMT
Sanoussy DIALLO created KARAF-4629:
--------------------------------------

             Summary: Can't append into Elasticsearch
                 Key: KARAF-4629
                 URL: https://issues.apache.org/jira/browse/KARAF-4629
             Project: Karaf
          Issue Type: Bug
            Reporter: Sanoussy DIALLO


We cannot send message come from JMS to Elasticsearch , here is the log:

2016-07-19 15:25:43,378 | WARN  | tAdminThread #13 | ElasticsearchAppender            | 66
- org.apache.karaf.decanter.appender.elasticsearch-native-2.x - 1.1.1.SNAPSHOT | Can't append
into Elasticsearch
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
	at org.apache.karaf.decanter.appender.elasticsearch.ElasticsearchAppender.getDate(ElasticsearchAppender.java:134)[66:org.apache.karaf.decanter.appender.elasticsearch-native-2.x:1.1.1.SNAPSHOT]
	at org.apache.karaf.decanter.appender.elasticsearch.ElasticsearchAppender.send(ElasticsearchAppender.java:127)[66:org.apache.karaf.decanter.appender.elasticsearch-native-2.x:1.1.1.SNAPSHOT]
	at org.apache.karaf.decanter.appender.elasticsearch.ElasticsearchAppender.handleEvent(ElasticsearchAppender.java:120)[66:org.apache.karaf.decanter.appender.elasticsearch-native-2.x:1.1.1.SNAPSHOT]
	at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)[3:org.apache.karaf.services.eventadmin:4.0.5]
	at org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:90)[3:org.apache.karaf.services.eventadmin:4.0.5]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_77]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_77]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_77]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message