You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Francis ANDRE (JIRA)" <ji...@apache.org> on 2010/01/13 19:38:54 UTC

[jira] Updated: (DIRSERVER-1456) build error: JUnit test failure on SchemaLdifExtractorTest

     [ https://issues.apache.org/jira/browse/DIRSERVER-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francis ANDRE updated DIRSERVER-1456:
-------------------------------------

    Attachment: org.apache.directory.shared.ldap.schema.ldif.extractor.SchemaLdifExtractorTest.txt

> build error: JUnit test failure on SchemaLdifExtractorTest
> ----------------------------------------------------------
>
>                 Key: DIRSERVER-1456
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1456
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 1.5.5
>         Environment: WXP Pro SP2 Sun JDK 1.6.0_05
>            Reporter: Francis ANDRE
>         Attachments: org.apache.directory.shared.ldap.schema.ldif.extractor.SchemaLdifExtractorTest.txt
>
>
> Hi
> On Windows, the SchemaLdifExtractorTest does not seem to like working space directory that starts with the Z letter instead of the C letter. See the test.log and the following report.
> -------------------------------------------------------------------------------
> Test set: org.apache.directory.shared.ldap.schema.ldif.extractor.SchemaLdifExtractorTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.156 sec <<< FAILURE!
> testExtract(org.apache.directory.shared.ldap.schema.ldif.extractor.SchemaLdifExtractorTest)  Time elapsed: 0.046 sec  <<< ERROR!
> java.lang.Error: java.io.FileNotFoundException: Z (Le fichier spécifié est introuvable)
> 	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.ResourceMap.getResourcesFromJarFile(ResourceMap.java:93)
> 	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.ResourceMap.getResources(ResourceMap.java:74)
> 	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.ResourceMap.getResources(ResourceMap.java:58)
> 	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:140)
> 	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:166)
> 	at org.apache.directory.shared.ldap.schema.ldif.extractor.SchemaLdifExtractorTest.testExtract(SchemaLdifExtractorTest.java:74)
> 	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.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
> 	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.runners.ParentRunner.run(ParentRunner.java:236)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> 	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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> Caused by: java.io.FileNotFoundException: Z (Le fichier spécifié est introuvable)
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:131)
> 	at org.apache.directory.shared.ldap.schema.ldif.extractor.impl.ResourceMap.getResourcesFromJarFile(ResourceMap.java:85)
> 	... 33 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.