geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-88) Build fails on Windows with Caused by: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
Date Wed, 13 Jul 2016 12:38:20 GMT

    [ https://issues.apache.org/jira/browse/GEODE-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374928#comment-15374928
] 

ASF GitHub Bot commented on GEODE-88:
-------------------------------------

Github user vjr commented on a diff in the pull request:

    https://github.com/apache/incubator-geode/pull/199#discussion_r70616349
  
    --- Diff: geode-client-native/src/cppcache/impl/CppCacheLibrary.cpp ---
    @@ -79,7 +84,6 @@ typedef ACE_Singleton<CppCacheLibrary,ACE_Recursive_Thread_Mutex>
TheLibrary;
     // internals are prepared. fw_helper framework will handle this.
     CppCacheLibrary* CppCacheLibrary::initLib( void )
     {
    -  ACE::init();
    --- End diff --
    
    OK it will be interesting to see how the geode native client handles such scenarios of
ACE being used elsewhere. Did you see my other comments, especially the one about the "uint8
m_suffixFiller[32];" added to guard against what ACE bug? Any other changes other than just
this declaration in header that I'm missing?


> Build fails on Windows with Caused by: java.lang.ClassCastException: org.dom4j.DocumentFactory
cannot be cast to org.dom4j.DocumentFactory
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-88
>                 URL: https://issues.apache.org/jira/browse/GEODE-88
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>             Fix For: 1.0.0-incubating.M1
>
>
> Caused by: java.lang.ExceptionInInitializerError
>         at org.dom4j.DocumentFactory.createNamespace(DocumentFactory.java:185)
>         at org.dom4j.tree.NamespaceStack.createNamespace(NamespaceStack.java:407)
>         at org.dom4j.tree.NamespaceStack.push(NamespaceStack.java:276)
>         at org.dom4j.io.SAXContentHandler.startPrefixMapping(SAXContentHandler.java:191)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startNamespaceMapping(AbstractSAXParser.java:2164)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:469)
>         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:379)
>         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:605)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3138)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
>         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
>         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
>         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:465)
>         at org.hibernate.build.gradle.publish.auth.maven.SettingsXmlCredentialsProvider.extractCredentialsFromSettings(SettingsXmlCredentialsProvider.java:85)
>         at org.hibernate.build.gradle.publish.auth.maven.SettingsXmlCredentialsProvider.<init>(SettingsXmlCredentialsProvider.java:62)
>         at org.hibernate.build.gradle.publish.auth.maven.SettingsXmlCredentialsProvider.<clinit>(SettingsXmlCredentialsProvider.java:54)
>         at org.hibernate.build.gradle.publish.auth.maven.CredentialsProviderRegistry.buildStandardAuthenticationProviders(CredentialsProviderRegistry.java:39)
>         at org.hibernate.build.gradle.publish.auth.maven.CredentialsProviderRegistry.<init>(CredentialsProviderRegistry.java:34)
>         at org.hibernate.build.gradle.publish.auth.maven.AuthenticationManager.apply(AuthenticationManager.java:37)
>         at org.hibernate.build.gradle.publish.auth.maven.AuthenticationManager.apply(AuthenticationManager.java:34)
>         at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
>         at org.gradle.api.internal.plugins.RulesCapablePluginApplicator.applyImperative(RulesCapablePluginApplicator.java:42)
>         at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:133)
>         at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:102)
>         at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:113)
>         at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)
>         at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:80)
>         at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136)
>         at org.gradle.groovy.scripts.DefaultScript.apply(DefaultScript.java:105)
>         at org.gradle.api.Script$apply.callCurrent(Unknown Source)
>         at build_csnua80l8aoscbs4d8rle9kea.run(C:\dev\newdev\open\gemfire-assembly\build.gradle:13)
>         at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
>         ... 55 more
> Caused by: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be cast to
org.dom4j.DocumentFactory
>         at org.dom4j.DocumentFactory.getInstance(DocumentFactory.java:97)
>         at org.dom4j.tree.AbstractNode.<clinit>(AbstractNode.java:39)
>         ... 93 more



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

Mime
View raw message