portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Pankros <dpank...@everestkc.net>
Subject [j2] Portal Test Failue (groovy.lang.GroovyRuntimeException)
Date Fri, 21 May 2004 17:13:05 GMT
First, forgive me if I'm way off base or missing something here.  I'm new to
the list (and the source).

Secondly, thanks to David Taylor for fixing the "Registry test failure."
That saved me some pain.  :-)


When building j2 with an "allClean allBuild" I get the following, which
prevents successful completion of the build.  (see below) Is anyone else
getting this error?

-Dave

---- log -----

<snip/>
+----------------------------------------
| Build and Install the Portlet WAR Jetspeed-2 Portal Engine
| Memory: 46M/68M
+----------------------------------------
<snip/>

test:test:
dbsetup:
db.test.properties:

    [copy] Copying 1 file to
C:\jakarta-jetspeed-2\portal\target\test-classes

    [junit] Running org.apache.jetspeed.aggregator.TestAggregator
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.375 sec
    [junit] Running org.apache.jetspeed.aggregator.TestRenderer
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.281 sec
    [junit] Running org.apache.jetspeed.capability.TestCapability
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.781 sec
    [junit] Running
org.apache.jetspeed.container.session.TestNavigationalState
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.218 sec
    [junit] Running org.apache.jetspeed.container.TestPortletContainer
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.078 sec
    [junit] Running org.apache.jetspeed.deployment.TestSimpleDeployment
    [junit] log4j:WARN No appenders could be found for logger
(org.apache.jetspeed.Jetspeed).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
    [junit] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
    [junit] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
    [junit] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
    [junit] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
    [junit] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
    [junit] cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
    [junit] groovy.lang.GroovyRuntimeException: Could not find which method
to invoke from this list: [public
org.picocontainer.defaults.ComponentParameter(java.lang.Class), public
org.picocontainer.defaults.ComponentParameter(java.lang.Object)] for
arguments: []
    [junit] 	at groovy.lang.MetaClass.chooseMethod(MetaClass.java:1104)
    [junit] 	at
groovy.lang.MetaClass.invokeConstructor(MetaClass.java:323)
    [junit] 	at
org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:148)
    [junit] 	at
org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.
java:120)
    [junit] 	at nanocontainer.run(nanocontainer.groovy:202)
    [junit] 	at
org.nanocontainer.script.groovy.GroovyContainerBuilder.createContainer(Groov
yContainerBuilder.java:57)
    [junit] 	at
org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(Li
fecycleContainerBuilder.java:25)
    [junit] 	at
org.nanocontainer.NanoContainer.<init>(NanoContainer.java:88)
    [junit] 	at
org.nanocontainer.NanoContainer.<init>(NanoContainer.java:59)
    [junit] 	at
org.apache.jetspeed.components.ComponentManager.<init>(ComponentManager.java
:77)
    [junit] 	at
org.apache.jetspeed.engine.JetspeedEngine.initComponents(JetspeedEngine.java
:288)
    [junit] 	at
org.apache.jetspeed.engine.JetspeedEngine.init(JetspeedEngine.java:116)
    [junit] 	at
org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:60)
    [junit] 	at
org.apache.jetspeed.test.JetspeedTestSuite.startEngine(JetspeedTestSuite.jav
a:104)
    [junit] 	at
org.apache.jetspeed.test.JetspeedTestSuite.<init>(JetspeedTestSuite.java:76)
    [junit] 	at
org.apache.jetspeed.deployment.TestSimpleDeployment.suite(TestSimpleDeployme
nt.java:78)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit] 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    [junit] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:324)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:257)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:210)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:532)
    [junit] org.apache.jetspeed.exception.JetspeedException: Jetspeed
Initialization exception!
    [junit] 	at
org.apache.jetspeed.engine.JetspeedEngine.init(JetspeedEngine.java:138)
    [junit] 	at
org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:60)
    [junit] 	at
org.apache.jetspeed.test.JetspeedTestSuite.startEngine(JetspeedTestSuite.jav
a:104)
    [junit] 	at
org.apache.jetspeed.test.JetspeedTestSuite.<init>(JetspeedTestSuite.java:76)
    [junit] 	at
org.apache.jetspeed.deployment.TestSimpleDeployment.suite(TestSimpleDeployme
nt.java:78)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit] 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    [junit] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:324)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:257)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:210)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:532)
    [junit] Caused by: groovy.lang.GroovyRuntimeException: Could not find
which method to invoke from this list: [public
org.picocontainer.defaults.ComponentParameter(java.lang.Class), public
org.picocontainer.defaults.ComponentParameter(java.lang.Object)] for
arguments: []
    [junit] 	at groovy.lang.MetaClass.chooseMethod(MetaClass.java:1104)
    [junit] 	at
groovy.lang.MetaClass.invokeConstructor(MetaClass.java:323)
    [junit] 	at
org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:148)
    [junit] 	at
org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.
java:120)
    [junit] 	at nanocontainer.run(nanocontainer.groovy:202)
    [junit] 	at
org.nanocontainer.script.groovy.GroovyContainerBuilder.createContainer(Groov
yContainerBuilder.java:57)
    [junit] 	at
org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(Li
fecycleContainerBuilder.java:25)
    [junit] 	at
org.nanocontainer.NanoContainer.<init>(NanoContainer.java:88)
    [junit] 	at
org.nanocontainer.NanoContainer.<init>(NanoContainer.java:59)
    [junit] 	at
org.apache.jetspeed.components.ComponentManager.<init>(ComponentManager.java
:77)
    [junit] 	at
org.apache.jetspeed.engine.JetspeedEngine.initComponents(JetspeedEngine.java
:288)
    [junit] 	at
org.apache.jetspeed.engine.JetspeedEngine.init(JetspeedEngine.java:116)
    [junit] 	... 11 more
    [junit] org.apache.jetspeed.exception.JetspeedException: Unable to
create Engine
    [junit] 	at
org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:70)
    [junit] 	at
org.apache.jetspeed.test.JetspeedTestSuite.startEngine(JetspeedTestSuite.jav
a:104)
    [junit] 	at
org.apache.jetspeed.test.JetspeedTestSuite.<init>(JetspeedTestSuite.java:76)
    [junit] 	at
org.apache.jetspeed.deployment.TestSimpleDeployment.suite(TestSimpleDeployme
nt.java:78)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit] 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    [junit] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:324)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:257)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java:210)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:532)
    [junit] Caused by: org.apache.jetspeed.exception.JetspeedException:
Jetspeed Initialization exception!
    [junit] 	at
org.apache.jetspeed.engine.JetspeedEngine.init(JetspeedEngine.java:138)
    [junit] 	at
org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:60)
    [junit] 	... 10 more
<snip/>


BUILD FAILED
File...... C:\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line...... 159
Column.... 40
Unable to obtain goal [test:test] -- C:\Documents and
Settings\xxxx\.maven\plugins\maven-test-plugin-1.6.1\plugin.jelly:162:54:
<fail> There were test failures.



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message