Return-Path: X-Original-To: apmail-gora-dev-archive@www.apache.org Delivered-To: apmail-gora-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E44FF116AA for ; Wed, 17 Sep 2014 09:06:33 +0000 (UTC) Received: (qmail 61466 invoked by uid 500); 17 Sep 2014 09:06:33 -0000 Delivered-To: apmail-gora-dev-archive@gora.apache.org Received: (qmail 61428 invoked by uid 500); 17 Sep 2014 09:06:33 -0000 Mailing-List: contact dev-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list dev@gora.apache.org Received: (qmail 61416 invoked by uid 99); 17 Sep 2014 09:06:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 09:06:33 +0000 Date: Wed, 17 Sep 2014 09:06:33 +0000 (UTC) From: "Viacheslav Dobromyslov (JIRA)" To: dev@gora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GORA-371) Exception setXIncludeAware UnsupportedOperationException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GORA-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Viacheslav Dobromyslov updated GORA-371: ---------------------------------------- Description: I've started learning gora-tutorial and created a separate Maven project with gora-core and gora-hbase dependencies only. When I try to run the project the following exception raises: {code} Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@2662e5cf:java.lang.UnsupportedOperationException {code} And then found a workaround on the StackOverflow: {code} xerces xercesImpl 2.11.0 {code} Then I looked for the roots of the problem in dependency graph and found out that: # The same issue was created rarely: https://issues.apache.org/jira/browse/GORA-69 # There was proposed a workaround with But Maven dependency graph reflets the real root of the problem: # Several Gora modules depending on old org.jdom:jdom-1.1.2 package: ** gora-dynamodb ** gora-dynamodb ** gora-cassandra ** gora-cassandra ** gora-hbase ** gora-mongodb ** gora-tutorial # jdom-1.1.2 depends on jaxen:jaxen-1.1.3 # jaxen-1.1.3 depends on xerces:xercesImpl-2.6.2 # xercesImpl-2.6.2 does not support setXIncludeAware(true) method. I propose to solve this issue just upgrading org.jdom:jdom upto 1.1.3 which does not pull old xerces 2.6.2. Labels: (was: patch) > Exception setXIncludeAware UnsupportedOperationException > -------------------------------------------------------- > > Key: GORA-371 > URL: https://issues.apache.org/jira/browse/GORA-371 > Project: Apache Gora > Issue Type: Bug > Components: gora-core > Affects Versions: 0.4, 0.5, 0.6 > Environment: Gentoo Linux, Oracle JDK 1.7.0.51-r1 > Reporter: Viacheslav Dobromyslov > > I've started learning gora-tutorial and created a separate Maven project with gora-core and gora-hbase dependencies only. > When I try to run the project the following exception raises: > {code} > Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@2662e5cf:java.lang.UnsupportedOperationException > {code} > And then found a workaround on the StackOverflow: > {code} > > > > xerces > xercesImpl > 2.11.0 > > > > {code} > Then I looked for the roots of the problem in dependency graph and found out that: > # The same issue was created rarely: https://issues.apache.org/jira/browse/GORA-69 > # There was proposed a workaround with > But Maven dependency graph reflets the real root of the problem: > # Several Gora modules depending on old org.jdom:jdom-1.1.2 package: > ** gora-dynamodb > ** gora-dynamodb > ** gora-cassandra > ** gora-cassandra > ** gora-hbase > ** gora-mongodb > ** gora-tutorial > # jdom-1.1.2 depends on jaxen:jaxen-1.1.3 > # jaxen-1.1.3 depends on xerces:xercesImpl-2.6.2 > # xercesImpl-2.6.2 does not support setXIncludeAware(true) method. > I propose to solve this issue just upgrading org.jdom:jdom upto 1.1.3 which does not pull old xerces 2.6.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)