You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/11/18 01:57:00 UTC

[jira] [Commented] (TIKA-2506) Nullpointer in tika-dl test on windows

    [ https://issues.apache.org/jira/browse/TIKA-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16257866#comment-16257866 ] 

Hudson commented on TIKA-2506:
------------------------------

SUCCESS: Integrated in Jenkins build Tika-trunk #1393 (See [https://builds.apache.org/job/Tika-trunk/1393/])
TIKA-2506 - Check config for null during DL4J Test. (bob: [https://github.com/apache/tika/commit/1e8008c60ef1536b4c5bdd92fdae1e9e687e5966])
* (edit) tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java


> Nullpointer in tika-dl test on windows
> --------------------------------------
>
>                 Key: TIKA-2506
>                 URL: https://issues.apache.org/jira/browse/TIKA-2506
>             Project: Tika
>          Issue Type: Bug
>          Components: tika-dl
>    Affects Versions: 1.17
>         Environment: Windows
>            Reporter: Bob Paulin
>            Assignee: Bob Paulin
>             Fix For: 1.17
>
>
> During a build on windows I get the following:
> {code}
> Running org.apache.tika.dl.imagerec.DL4JVGG16NetTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.024 sec <<< FAILURE! - in org.apache.tika.dl.imagerec.DL4JVGG16NetTest
> recognise(org.apache.tika.dl.imagerec.DL4JVGG16NetTest)  Time elapsed: 0.024 sec  <<< ERROR!
> java.lang.NullPointerException: null
> 	at org.apache.tika.Tika.<init>(Tika.java:109)
> 	at org.apache.tika.dl.imagerec.DL4JVGG16NetTest.recognise(DL4JVGG16NetTest.java:42)
> HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
>   #000: C:\autotest\HDF5110ReleaseRWDITAR\src\H5F.c line 579 in H5Fopen(): unable to open file
>     major: File accessibilty
>     minor: Unable to open file
>   #001: C:\autotest\HDF5110ReleaseRWDITAR\src\H5Fint.c line 1208 in H5F_open(): unable to read superblock
>     major: File accessibilty
>     minor: Read failed
> SUREFIRE-859:   #002: C:\autotest\HDF5110ReleaseRWDITAR\src\H5Fsuper.c line 443 in H5F__super_read(): truncated file: eof = 147097136, sblock->base_addr = 0, stored_eof = 553466928
>     major: File accessibilty
>     minor: File has been truncated
> Results :
> Tests in error: 
>   DL4JVGG16NetTest.recognise:42 ยป NullPointer
> {code}
> It appears to be looking for some installed native code that it can't find.  I believe we should check for null config and if null we skip this test.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)