Hello David,

Please file a bug report so that this problem can be fixed.

Best regards,

On 09/12/2010 6:54 PM, David Sills wrote:
All:

For a project I’m currently working on, there is a need to use Java 1.4.
It’s like going back to the Dark Ages, but I’m doing so far OK. I’m
using Ivy and the version of SLF4J I’ve specified is 1.6.1. However, I’m
running into a problem when I run my tests. Everything runs, but the
LoggerFactory throws and prints out an exception:

Unexpected problem occured during version sanity check

Reported exception:

java.lang.NoSuchMethodError:
java.util.Arrays.toString([Ljava/lang/Object;)Ljava/lang/String;

at org.slf4j.LoggerFactory.versionSanityCheck(_LoggerFactory.java:161_)

at org.slf4j.LoggerFactory.performInitialization(_LoggerFactory.java:106_)

at org.slf4j.LoggerFactory.getILoggerFactory(_LoggerFactory.java:235_)

at org.slf4j.LoggerFactory.getLogger(_LoggerFactory.java:208_)

at org.slf4j.LoggerFactory.getLogger(_LoggerFactory.java:221_)

at
com.datasourceinc.alerts.util.AlertsFileParser.<init>(_AlertsFileParser.java:15_)

at
com.datasourceinc.alerts.util.FileParsingTest.testParse(_FileParsingTest.java:19_)

at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)

at
sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_)

at java.lang.reflect.Method.invoke(_Method.java:324_)

at junit.framework.TestCase.runTest(_TestCase.java:164_)

at junit.framework.TestCase.runBare(_TestCase.java:130_)

at junit.framework.TestResult$1.protect(_TestResult.java:106_)

at junit.framework.TestResult.runProtected(_TestResult.java:124_)

at junit.framework.TestResult.run(_TestResult.java:109_)

at junit.framework.TestCase.run(_TestCase.java:120_)

at junit.framework.TestSuite.runTest(_TestSuite.java:230_)

at junit.framework.TestSuite.run(_TestSuite.java:225_)

at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(_JUnit3TestReference.java:130_)

at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(_TestExecution.java:38_)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(_RemoteTestRunner.java:467_)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(_RemoteTestRunner.java:683_)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(_RemoteTestRunner.java:390_)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(_RemoteTestRunner.java:197_)

I have looked at the appropriate line in the LoggerFactory source and I
don’t quite understand what is happening. I have checked that the
versions of the API and implementation JARs match, so this has to have
something to do with using JDK 1.4, I’m assuming. Any ideas what is
happening or what I can do about it, short of getting source and
compiling it under 1.4?

Thanks!

David Sills



_______________________________________________
slf4j-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-user

Reply via email to