Folks,
Does this error ring a bell with anyone?
"java.lang.AbstractMethodError:
org.apache.xerces.dom.DeferredDocumentImpl.getInputEncoding()Ljava/lang/String;"
On a clean checkout of CXF trunk, I'm seeing a bunch of system tests fail
with this error, seemingly triggered by a call into the WSDLToIDL tool. I'm
confused as to why the CORBA stuff is even getting involved, as it looks
like a common-or-garden SOAP over HTTP scenario in the test.
Output copied below if anyone cares to take a look.
Thanks,
Eoghan
$ java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
$ mvn -version
Maven version: 2.0.9
Java version: 1.5.0_15
OS name: "linux" version: "2.6.9-5.elsmp" arch: "i386" Family: "unix"
$ cd /work/cxf/work_23May2008/trunk/systests/
$ mvn test -Dtest=HTTPClientPolicyTest
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CXF System Tests
[INFO] task-segment: [test]
[INFO]
------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [checkstyle:checkstyle {execution: validate}]
[INFO] Starting audit...
Audit done.
[INFO] Preparing pmd:check
[INFO] [pmd:pmd]
[INFO] [pmd:check {execution: validate}]
[INFO]
[INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
[INFO] Resource directory does not exist:
/work/cxf/work_23May2008/trunk/systests/src/main/java
[INFO] Resource directory does not exist:
/work/cxf/work_23May2008/trunk/systests/src/main/resources
[INFO] Resource directory does not exist:
/work/cxf/work_23May2008/trunk/systests/src/main/resources-filtered
[INFO] Resource directory does not exist:
/work/cxf/work_23May2008/trunk/systests/target/generated/src/main/resources
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory:
/work/cxf/work_23May2008/trunk/systests/src/test/generated added.
Downloading:
http://maven-repo/maven-proxy-javanet/repository/org.apache.ws.security/poms/wss4j-1.5.2.pom
Downloading:
http://maven-repo/maven-proxy-release/repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
[INFO] [cxf-corbatools:wsdl2idl {execution: generate-sources}]
May 23, 2008 4:34:20 PM
org.apache.cxf.tools.corba.processors.wsdl.WSDLToCorbaProcessor
setOutputFile
WARNING: Using default wsdl/idl filenames...
May 23, 2008 4:34:21 PM
org.springframework.context.support.AbstractApplicationContext
prepareRefresh
INFO: Refreshing [EMAIL PROTECTED]:
display name [EMAIL PROTECTED];
startup date [Fri May 23 16:34:21 EDT 2008]; root of context hierarchy
May 23, 2008 4:34:21 PM org.apache.cxf.bus.spring.BusApplicationContext
getConfigResources
INFO: No cxf.xml configuration file detected, relying on defaults.
May 23, 2008 4:34:21 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder': replacing
[Root bean: class
[org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder];
scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL
[jar:file:/home/eglynn/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.1.1-SNAPSHOT/cxf-rt-transports-http-2.1.1-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-http.fixml]]
with [Root bean: class
[org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder];
scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL
[jar:file:/home/eglynn/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.1.1-SNAPSHOT/cxf-rt-transports-http-2.1.1-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-http.fixml]]
May 23, 2008 4:34:21 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder': replacing
[Root bean: class
[org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder];
scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL
[jar:file:/home/eglynn/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.1.1-SNAPSHOT/cxf-rt-transports-http-2.1.1-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-http.fixml]]
with [Root bean: class
[org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder];
scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL
[jar:file:/home/eglynn/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.1.1-SNAPSHOT/cxf-rt-transports-http-2.1.1-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-http.fixml]]
May 23, 2008 4:34:21 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory': replacing
[Root bean: class
[org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory];
scope=singleton; abstract=false; lazyInit=true; autowireCandidate=true;
autowireMode=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL
[jar:file:/home/eglynn/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.1.1-SNAPSHOT/cxf-rt-transports-http-2.1.1-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-http.fixml]]
with [Root bean: class
[org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory];
scope=singleton; abstract=false; lazyInit=true; autowireCandidate=true;
autowireMode=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
in URL
[jar:file:/home/eglynn/.m2/repository/org/apache/cxf/cxf-rt-transports-http/2.1.1-SNAPSHOT/cxf-rt-transports-http-2.1.1-SNAPSHOT.jar!/META-INF/cxf/cxf-extension-http.fixml]]
May 23, 2008 4:34:21 PM
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[EMAIL PROTECTED]:
[EMAIL PROTECTED]
May 23, 2008 4:34:21 PM
org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker
postProcessAfterInitialization
INFO: Bean 'org.apache.cxf.bus.spring.Jsr250BeanPostProcessor' is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
May 23, 2008 4:34:21 PM
org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker
postProcessAfterInitialization
INFO: Bean 'org.apache.cxf.bus.spring.BusExtensionPostProcessor' is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
May 23, 2008 4:34:21 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
[EMAIL PROTECTED]:
defining beans
[cxf,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.corba.CorbaBindingFactory,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.j