directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Pb with the latest Java version on mac and kerberos-test
Date Wed, 09 Nov 2011 11:20:36 GMT
Hi guys,

I just installed the latest Java version (1.6.0_29) on my mac, and now, 
I get some failures in kerberos-test :

java.lang.NoSuchFieldException: udpPrefLimit
     at java.lang.Class.getDeclaredField(Class.java:1882)
     at 
org.apache.directory.server.kerberos.kdc.AbstractKerberosITest.getUdpPrefLimitField(AbstractKerberosITest.java:213)
     at 
org.apache.directory.server.kerberos.kdc.AbstractKerberosITest.getUdpPrefLimit(AbstractKerberosITest.java:195)
     at 
org.apache.directory.server.kerberos.kdc.AbstractKerberosITest.setupEnv(AbstractKerberosITest.java:159)
     at 
org.apache.directory.server.kerberos.kdc.AbstractKerberosITest.testObtainTickets(AbstractKerberosITest.java:116)
     at 
org.apache.directory.server.kerberos.kdc.KerberosTcpITest.testObtainTickets_DES_CBC_MD5(KerberosTcpITest.java:89)
     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:597)
     at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
     at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
     at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
     at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
     at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
     at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
     at 
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
     at org.junit.rules.RunRules.evaluate(RunRules.java:18)
     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
     at 
org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:486)
     at 
org.apache.directory.server.core.integ.FrameworkRunner.runChild(FrameworkRunner.java:58)
     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
     at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
     at 
org.apache.directory.server.core.integ.FrameworkRunner.run(FrameworkRunner.java:256)
     at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
     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 no idea why we are seeking a private field in a Sun class, but 
IMO, this is a *very* bad idea...

Those tests must be fixed.

-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message