Um ... Is it a problem that we're using an older version of log4j, 1.13?

John

PS My custom excluded.properties file looks like this:

#
# The list of excluded package paths for the TestCaseClassLoader
#
excluded.0=sun.*
excluded.1=com.sun.*
excluded.2=org.omg.*
excluded.3=javax.*
excluded.4=sunw.*
excluded.5=java.*
excluded.6=org.w3c.dom.*
excluded.7=org.xml.sax.*
excluded.8=net.jini.*
excluded.9=org.apache.commons.logging.*


-----Original Message-----
From: John Lindwall [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 3:06 PM
To: '[EMAIL PROTECTED]'
Subject: Help with "Exception in constructor java.lang.VerifyError"


Cactus 1.6.1
 
With either the provided comnons logging 1.0.3 or the newer 1.0.4 I get the following 
error when running my test via ant.  I do not get this error when running inside of 
IntelliJ or via the servlet-based TestRunner provided with cactus.
 
I tried creating an exlcuded.properties and putting it my classpath to exclude 
org.apache.commons.logging.* but that dfoesn't help.
 
Any ideas?  Thanks!

junit.framework.AssertionFailedError: Exception in constructor: testGetZip 
(org.apache.commons.logging.LogConfigurationException: 
 java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clinit> 
signature: ()V) Incompatible argument to function (Caused by java.lang.VerifyError: 
(class: org/apache/log4j/LogManager, method: <clinit> signature: ()V) Incompatible 
argument to function) at
 org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538) at
 org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at
 org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at
 org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at
 
org.apache.cactus.internal.server.ServerTestCaseCaller.setDelegatedTest_aroundBody3$advice(ServerTestCaseCaller.java:109)
 at
 
org.apache.cactus.internal.server.ServerTestCaseCaller.setDelegatedTest(ServerTestCaseCaller.java)
 at
 
org.apache.cactus.internal.server.ServerTestCaseCaller.<init>(ServerTestCaseCaller.java:66)
 at
 
org.apache.cactus.internal.AbstractCactusTestCase.init(AbstractCactusTestCase.java:200)
 at
 
org.apache.cactus.internal.AbstractCactusTestCase.<init>(AbstractCactusTestCase.java:91)
 at
 org.apache.cactus.ServletTestCase.<init>(ServletTestCase.java:85) at
 com.mbasys.mars.ejb.session.util.ServerTestUtilSB.<init>(ServerTestUtilSB.java:13) at
 java.lang.reflect.Constructor.newInstance(Native Method))
 

Reply via email to