From issues-return-44398-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Thu May 16 13:49:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3AB32180675 for ; Thu, 16 May 2019 15:49:02 +0200 (CEST) Received: (qmail 18393 invoked by uid 500); 16 May 2019 13:49:01 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 18371 invoked by uid 99); 16 May 2019 13:49:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2019 13:49:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C9731E2BCE for ; Thu, 16 May 2019 13:49:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 82A1725807 for ; Thu, 16 May 2019 13:49:00 +0000 (UTC) Date: Thu, 16 May 2019 13:49:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-6285) Elasticsearch feature throws ClassCastException: org.ops4j.pax.logging.log4jv2.Log4jv2LoggerContext cannot be cast to org.apache.logging.log4j.core.LoggerContext MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-6285?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1684= 1355#comment-16841355 ]=20 ASF GitHub Bot commented on KARAF-6285: --------------------------------------- jbonofre commented on pull request #86: [KARAF-6285] Fix ClassCastException= while inserting data in Elasticsearch URL: https://github.com/apache/karaf-decanter/pull/86 =20 =20 =20 =20 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > Elasticsearch feature throws ClassCastException: org.ops4j.pax.logging.lo= g4jv2.Log4jv2LoggerContext cannot be cast to org.apache.logging.log4j.core.= LoggerContext > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------- > > Key: KARAF-6285 > URL: https://issues.apache.org/jira/browse/KARAF-6285 > Project: Karaf > Issue Type: Bug > Components: decanter > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Major > Fix For: decanter-2.3.0 > > > When inserting data, a {{ClassCastException}} is throwed by elasticsearch= bundle: > {code} > java.lang.ClassCastException: org.ops4j.pax.logging.log4jv2.Log4jv2Logger= Context cannot be cast to org.apache.logging.log4j.core.LoggerContext > at org.apache.logging.log4j.core.LoggerContext.getContext(LoggerC= ontext.java:190) ~[7:org.ops4j.pax.logging.pax-logging-log4j2:1.10.1] > at org.apache.logging.log4j.core.config.Configurator.setLevel(Con= figurator.java:291) ~[7:org.ops4j.pax.logging.pax-logging-log4j2:1.10.1] > at org.elasticsearch.common.logging.Loggers.setLevel(Loggers.java= :116) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.common.logging.Loggers.setLevel(Loggers.java= :111) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.index.SearchSlowLog.setLevel(SearchSlowLog.j= ava:121) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.index.SearchSlowLog.(SearchSlowLog.jav= a:116) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.index.IndexModule.(IndexModule.java:13= 8) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.indices.IndicesService.createIndexService(In= dicesService.java:511) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.= 3.0.SNAPSHOT] > at org.elasticsearch.indices.IndicesService.createIndex(IndicesSe= rvice.java:473) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.SNA= PSHOT] > at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$= IndexCreationTask.execute(MetaDataCreateIndexService.java:447) ~[116:org.ap= ache.karaf.decanter.elasticsearch-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(Clust= erStateUpdateTask.java:47) ~[116:org.apache.karaf.decanter.elasticsearch-6.= x:2.3.0.SNAPSHOT] > at org.elasticsearch.cluster.service.MasterService.executeTasks(M= asterService.java:643) ~[116:org.apache.karaf.decanter.elasticsearch-6.x:2.= 3.0.SNAPSHOT] > at org.elasticsearch.cluster.service.MasterService.calculateTaskO= utputs(MasterService.java:272) ~[116:org.apache.karaf.decanter.elasticsearc= h-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.cluster.service.MasterService.runTasks(Maste= rService.java:202) [116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.S= NAPSHOT] > at org.elasticsearch.cluster.service.MasterService$Batcher.run(Ma= sterService.java:137) [116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.= 0.SNAPSHOT] > at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcesse= d(TaskBatcher.java:150) [116:org.apache.karaf.decanter.elasticsearch-6.x:2.= 3.0.SNAPSHOT] > at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(= TaskBatcher.java:188) [116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.= 0.SNAPSHOT] > at org.elasticsearch.common.util.concurrent.ThreadContext$Context= PreservingRunnable.run(ThreadContext.java:660) [116:org.apache.karaf.decant= er.elasticsearch-6.x:2.3.0.SNAPSHOT] > at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPo= olExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPo= olExecutor.java:244) [116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0= .SNAPSHOT] > at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPo= olExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecut= or.java:207) [116:org.apache.karaf.decanter.elasticsearch-6.x:2.3.0.SNAPSHO= T] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1149) [?:?] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:624) [?:?] > at java.lang.Thread.run(Thread.java:748) [?:?] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)