Problem to compile IPED in AWS Linux host #2169
Unanswered
techbizamericas
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @techbizamericas. What's the java version, distribution and vendor you are using? We recommend Liberica JDK 11 full package, the standard package is not enough. About the tesseract error, what's the installed tesseract version? We use tesseract 5. Have you installed the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm seeking guidance to install IPED on a HOST in AWS. Despite trying various Linux distributions and installing all necessary libraries and prerequisites, I continue to encounter the following errors in all my attempts:
While I have successfully compiled Sleuthkit, I haven't been successful in compiling IPED.
Has anyone managed to perform this installation in a cloud environment? I appreciate any help or guidance you can provide.
Error:
`
└─$ sudo mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] iped-parent [pom]
[INFO] iped-api [jar]
[INFO] iped-utils [jar]
[INFO] iped-parsers [pom]
[INFO] java-dbf [jar]
[INFO] iped-parsers-impl [jar]
[INFO] iped-viewers [pom]
[INFO] iped-viewers-api [jar]
[INFO] iped-viewers-impl [jar]
[INFO] iped-carvers [pom]
[INFO] iped-ahocorasick [jar]
[INFO] iped-carvers-api [jar]
[INFO] iped-carvers-impl [jar]
[INFO] iped-engine [jar]
[INFO] iped-geo [jar]
[INFO] iped-app [jar]
[INFO]
[INFO] --------------------------< iped:iped-parent >--------------------------
[INFO] Building iped-parent 4.2-snapshot [1/16]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ iped-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ iped-parent ---
[INFO] Installing /home/kali/IPED/pom.xml to /root/.m2/repository/iped/iped-parent/4.2-snapshot/iped-parent-4.2-snapshot.pom
[INFO]
[INFO] ---------------------------< iped:iped-api >----------------------------
[INFO] Building iped-api 4.2-snapshot [2/16]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ iped-api ---
[INFO] Deleting /home/kali/IPED/iped-api/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ iped-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kali/IPED/iped-api/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ iped-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to /home/kali/IPED/iped-api/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ iped-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kali/IPED/iped-api/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ iped-api ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ iped-api ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ iped-api ---
[INFO] Building jar: /home/kali/IPED/iped-api/target/iped-api-4.2-snapshot.jar
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ iped-api >>>
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ iped-api <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ iped-api ---
[INFO] Building jar: /home/kali/IPED/iped-api/target/iped-api-4.2-snapshot-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ iped-api ---
[INFO] Installing /home/kali/IPED/iped-api/target/iped-api-4.2-snapshot.jar to /root/.m2/repository/iped/iped-api/4.2-snapshot/iped-api-4.2-snapshot.jar
[INFO] Installing /home/kali/IPED/iped-api/pom.xml to /root/.m2/repository/iped/iped-api/4.2-snapshot/iped-api-4.2-snapshot.pom
[INFO] Installing /home/kali/IPED/iped-api/target/iped-api-4.2-snapshot-sources.jar to /root/.m2/repository/iped/iped-api/4.2-snapshot/iped-api-4.2-snapshot-sources.jar
[INFO]
[INFO] --------------------------< iped:iped-utils >---------------------------
[INFO] Building iped-utils 4.2-snapshot [3/16]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ iped-utils ---
[INFO] Deleting /home/kali/IPED/iped-utils/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ iped-utils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3432 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ iped-utils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 30 source files to /home/kali/IPED/iped-utils/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ iped-utils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kali/IPED/iped-utils/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ iped-utils ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ iped-utils ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ iped-utils ---
[INFO] Building jar: /home/kali/IPED/iped-utils/target/iped-utils-4.2-snapshot.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ iped-utils ---
[INFO] Installing /home/kali/IPED/iped-utils/target/iped-utils-4.2-snapshot.jar to /root/.m2/repository/iped/iped-utils/4.2-snapshot/iped-utils-4.2-snapshot.jar
[INFO] Installing /home/kali/IPED/iped-utils/pom.xml to /root/.m2/repository/iped/iped-utils/4.2-snapshot/iped-utils-4.2-snapshot.pom
[INFO]
[INFO] -------------------------< iped:iped-parsers >--------------------------
[INFO] Building iped-parsers 4.2-snapshot [4/16]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ iped-parsers ---
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ iped-parsers >>>
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ iped-parsers <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ iped-parsers ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ iped-parsers ---
[INFO] Installing /home/kali/IPED/iped-parsers/pom.xml to /root/.m2/repository/iped/iped-parsers/4.2-snapshot/iped-parsers-4.2-snapshot.pom
[INFO]
[INFO] ---------------------------< iped:java-dbf >----------------------------
[INFO] Building java-dbf 1.0-patched [5/16]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ java-dbf ---
[INFO] Deleting /home/kali/IPED/iped-parsers/java-dbf/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ java-dbf ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kali/IPED/iped-parsers/java-dbf/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ java-dbf ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to /home/kali/IPED/iped-parsers/java-dbf/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ java-dbf ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kali/IPED/iped-parsers/java-dbf/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ java-dbf ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ java-dbf ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ java-dbf ---
[INFO] Building jar: /home/kali/IPED/iped-parsers/java-dbf/target/java-dbf-1.0-patched.jar
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ java-dbf >>>
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ java-dbf <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ java-dbf ---
[INFO] Building jar: /home/kali/IPED/iped-parsers/java-dbf/target/java-dbf-1.0-patched-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ java-dbf ---
[INFO] Installing /home/kali/IPED/iped-parsers/java-dbf/target/java-dbf-1.0-patched.jar to /root/.m2/repository/iped/java-dbf/1.0-patched/java-dbf-1.0-patched.jar
[INFO] Installing /home/kali/IPED/iped-parsers/java-dbf/pom.xml to /root/.m2/repository/iped/java-dbf/1.0-patched/java-dbf-1.0-patched.pom
[INFO] Installing /home/kali/IPED/iped-parsers/java-dbf/target/java-dbf-1.0-patched-sources.jar to /root/.m2/repository/iped/java-dbf/1.0-patched/java-dbf-1.0-patched-sources.jar
[INFO]
[INFO] -----------------------< iped:iped-parsers-impl >-----------------------
[INFO] Building iped-parsers-impl 4.2-snapshot [6/16]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ iped-parsers-impl ---
[INFO] Deleting /home/kali/IPED/iped-parsers/iped-parsers-impl/target
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (default) @ iped-parsers-impl ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/home/kali/IPED/iped-parsers/iped-parsers-impl/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ iped-parsers-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 61 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ iped-parsers-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 365 source files to /home/kali/IPED/iped-parsers/iped-parsers-impl/target/classes
[INFO] /home/kali/IPED/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/registry/keys/HtmlKeyParser.java: Some input files use or override a deprecated API.
[INFO] /home/kali/IPED/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/registry/keys/HtmlKeyParser.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/kali/IPED/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/registry/model/KeyNode.java: Some input files use unchecked or unsafe operations.
[INFO] /home/kali/IPED/iped-parsers/iped-parsers-impl/src/main/java/iped/parsers/registry/model/KeyNode.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ iped-parsers-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 121 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ iped-parsers-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 69 source files to /home/kali/IPED/iped-parsers/iped-parsers-impl/target/test-classes
[INFO] /home/kali/IPED/iped-parsers/iped-parsers-impl/src/test/java/iped/parsers/util/BaseItemSearchContext.java: /home/kali/IPED/iped-parsers/iped-parsers-impl/src/test/java/iped/parsers/util/BaseItemSearchContext.java uses or overrides a deprecated API.
[INFO] /home/kali/IPED/iped-parsers/iped-parsers-impl/src/test/java/iped/parsers/util/BaseItemSearchContext.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ iped-parsers-impl ---
[INFO] Surefire report directory: /home/kali/IPED/iped-parsers/iped-parsers-impl/target/surefire-reports
T E S T S
Running iped.parsers.lnk.LNKShortcutParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.227 sec
Running iped.parsers.mail.LibpffPSTParserTest
23:55:37.834 [main] ERROR iped.parsers.mail.LibpffPSTParser - Error testing pffexport (libpff): Outlook OST 2013 files will NOT be parsed!
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.001 sec
Running iped.parsers.mail.IncrediMailParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.399 sec
Running iped.parsers.mail.OutlookPSTParserTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.205 sec
Running iped.parsers.mail.OutlookDBXParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.705 sec
Running iped.parsers.mail.MSGParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.536 sec
Running iped.parsers.mail.MBoxParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.399 sec
Running iped.parsers.mail.RFC822ParserTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.757 sec
Running iped.parsers.video.FLVParserWrapperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec
Running iped.parsers.video.EmptyVideoParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
Running iped.parsers.misc.MultipleParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running iped.parsers.misc.XMLParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running iped.parsers.misc.GenericOLEParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 sec
Running iped.parsers.misc.PDFTextParserTest
Apr 16, 2024 11:55:48 PM org.icepdf.core.pobjects.Catalog
INFO: ICEpdf Core 7.0.0
PuTTY X11 proxy: No authorisation provided
Tests run: 10, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.218 sec <<< FAILURE!
testPDFOCRTextParsingICE(iped.parsers.misc.PDFTextParserTest) Time elapsed: 0.757 sec <<< ERROR!
java.awt.AWTError: Can't connect to X11 window server using 'localhost:11.0' as the value of the DISPLAY variable.
at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.(GraphicsEnvironment.java:83)
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
at org.icepdf.core.pobjects.fonts.zfont.SimpleFont.(SimpleFont.java:25)
at org.icepdf.core.pobjects.fonts.FontFactory.getFont(FontFactory.java:93)
at org.icepdf.core.util.Parser.getObject(Parser.java:434)
at org.icepdf.core.util.LazyObjectLoader.loadObject(LazyObjectLoader.java:73)
at org.icepdf.core.util.Library.getObject(Library.java:160)
at org.icepdf.core.pobjects.Resources.getFont(Resources.java:134)
at org.icepdf.core.util.parser.content.AbstractContentParser.consume_Tf(AbstractContentParser.java:780)
at org.icepdf.core.util.parser.content.ContentParser.parseText(ContentParser.java:735)
at org.icepdf.core.util.parser.content.ContentParser.parseTextBlocks(ContentParser.java:618)
at org.icepdf.core.pobjects.Page.getText(Page.java:1610)
at org.icepdf.core.pobjects.Document.getPageText(Document.java:1161)
at iped.parsers.misc.PDFTextParser.icePDFParse(PDFTextParser.java:268)
at iped.parsers.misc.PDFTextParser.parse(PDFTextParser.java:157)
at iped.parsers.misc.PDFTextParserTest.testPDFOCRTextParsingICE(PDFTextParserTest.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
testPDFOCRTextThumbnail(iped.parsers.misc.PDFTextParserTest) Time elapsed: 0.353 sec <<< ERROR!
java.lang.NullPointerException
at iped.parsers.misc.PDFTextParser.parse(PDFTextParser.java:231)
at iped.parsers.misc.PDFTextParserTest.testPDFOCRTextThumbnail(PDFTextParserTest.java:206)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Running iped.parsers.bittorrent.BitTorrentResumeDatParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running iped.parsers.bittorrent.TorrentFileParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running iped.parsers.database.EDBParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.194 sec
Running iped.parsers.database.XBaseParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running iped.parsers.database.MSAccessParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 sec
Running iped.parsers.image.ImageParserTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running iped.parsers.image.TiffPageParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running iped.parsers.compress.RARParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.598 sec
Running iped.parsers.compress.SevenZipParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.708 sec
Running iped.parsers.compress.PackageParserTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.307 sec
Running iped.parsers.skype.SkypeParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.227 sec
Running iped.parsers.telegram.TelegramParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.449 sec
Running iped.parsers.winx.WinXTimelineParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.314 sec
Running iped.parsers.whatsapp.WhatsAppParserTest
23:56:01.926 [main] ERROR iped.parsers.whatsapp.WhatsAppParser - SHA-256 is disabled. WhatsAppParser needs it to link attachments to chats!
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.385 sec
Running iped.parsers.shareaza.ShareazaLibraryDatParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Running iped.parsers.shareaza.ShareazaSearchesDatParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running iped.parsers.ocr.OCRParserTest
Detected tesseract version 5.3.4
Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.2 sec <<< FAILURE!
testOCRParserPDF(iped.parsers.ocr.OCRParserTest) Time elapsed: 0.013 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181)
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:335)
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:272)
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:258)
at iped.parsers.util.PDFToImage.convert(PDFToImage.java:148)
at iped.parsers.ocr.OCRParser.parsePDF(OCRParser.java:582)
at iped.parsers.ocr.OCRParser.parse(OCRParser.java:396)
at iped.parsers.ocr.OCRParserTest.assertPDFParsing(OCRParserTest.java:121)
at iped.parsers.ocr.OCRParserTest.testOCRParserPDF(OCRParserTest.java:140)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
testOCRParserPNG(iped.parsers.ocr.OCRParserTest) Time elapsed: 0.159 sec <<< ERROR!
org.apache.tika.exception.TikaException: tesseract returned error code 1
at iped.parsers.ocr.OCRParser.parse(OCRParser.java:636)
at iped.parsers.ocr.OCRParser.parseNonStandard(OCRParser.java:564)
at iped.parsers.ocr.OCRParser.parse(OCRParser.java:414)
at iped.parsers.ocr.OCRParserTest.testOCRParserPNG(OCRParserTest.java:89)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Running iped.parsers.python.PythonParserTest
23:56:09.755 [main] ERROR iped.parsers.python.PythonParser - JEP not found, all python modules were disabled. See https://github.com/sepinf-inc/IPED/wiki/User-Manual#python-modules
java.lang.UnsatisfiedLinkError: no jep in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2678)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1890)
at jep.MainInterpreter.initialize(MainInterpreter.java:129)
at jep.MainInterpreter.getMainInterpreter(MainInterpreter.java:101)
at jep.Jep.(Jep.java:133)
at jep.SharedInterpreter.(SharedInterpreter.java:56)
at iped.parsers.python.PythonParser.getNewJep(PythonParser.java:176)
at iped.parsers.python.PythonParser.getJep(PythonParser.java:165)
at iped.parsers.python.PythonParser.(PythonParser.java:107)
at iped.parsers.python.PythonParserTest.testPythonParserExample(PythonParserTest.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.196 sec
Running iped.parsers.external.ExternalParserTest
23:56:09.845 [main] ERROR iped.parsers.external.ExternalParsersConfigReader - Error testing SuperFetchParser. Disable it in conf/ExternalParsers.xml or install 'agdbinfo'
Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.316 sec
Running iped.parsers.vlc.VLCIniParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running iped.parsers.eventtranscript.EventTranscriptParserTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.366 sec
Running iped.parsers.security.CryptoAPIBlobParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running iped.parsers.security.CertificateParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running iped.parsers.security.KeyStoreParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.369 sec
Running iped.parsers.sqlite.detector.SQLiteContainerDetectorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running iped.parsers.sqlite.SQLite3ParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.489 sec
Running iped.parsers.usnjrnl.UsnJrnlParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.545 sec
Running iped.parsers.vcard.VCardParserTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.517 sec
Running iped.parsers.tor.TorParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running iped.parsers.ares.AresParserTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running iped.parsers.browsers.chrome.ChromeSqliteParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running iped.parsers.browsers.safari.SafariPlistParserTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running iped.parsers.browsers.firefox.FirefoxSavedSessionParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec
Running iped.parsers.browsers.firefox.FirefoxSqliteParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running iped.parsers.browsers.ie.IndexDatParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running iped.parsers.browsers.edge.EdgeWebCacheParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.878 sec
Running iped.parsers.gdrive.GDriveSnapshotParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 sec
Running iped.parsers.gdrive.GDriveMainParserTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
Running iped.parsers.gdrive.GDriveCloudGraphParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running iped.parsers.emule.PartMetParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running iped.parsers.emule.PreferencesDatParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running iped.parsers.emule.KnownMetParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running iped.parsers.registry.RegRipperParserTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.856 sec
Running iped.parsers.registry.RegistryParserTest
Warning: Nashorn engine is planned to be removed from a future JDK release
falseTests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.541 sec
Running iped.parsers.standard.StandardParserTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.287 sec
Running iped.parsers.standard.RawStringParserTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Results :
Tests in error:
testPDFOCRTextParsingICE(iped.parsers.misc.PDFTextParserTest): Can't connect to X11 window server using 'localhost:11.0' as the value of the DISPLAY variable.
testPDFOCRTextThumbnail(iped.parsers.misc.PDFTextParserTest)
testOCRParserPDF(iped.parsers.ocr.OCRParserTest): Could not initialize class java.awt.GraphicsEnvironment$LocalGE
testOCRParserPNG(iped.parsers.ocr.OCRParserTest): tesseract returned error code 1
Tests run: 183, Failures: 0, Errors: 4, Skipped: 2
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] iped-parent 4.2-snapshot ........................... SUCCESS [ 0.231 s]
[INFO] iped-api 4.2-snapshot .............................. SUCCESS [ 1.722 s]
[INFO] iped-utils 4.2-snapshot ............................ SUCCESS [ 2.095 s]
[INFO] iped-parsers 4.2-snapshot .......................... SUCCESS [ 0.006 s]
[INFO] java-dbf 1.0-patched ............................... SUCCESS [ 0.154 s]
[INFO] iped-parsers-impl 4.2-snapshot ..................... FAILURE [ 56.325 s]
[INFO] iped-viewers 4.2-snapshot .......................... SKIPPED
[INFO] iped-viewers-api 4.2-snapshot ...................... SKIPPED
[INFO] iped-viewers-impl 4.2-snapshot ..................... SKIPPED
[INFO] iped-carvers 4.2-snapshot .......................... SKIPPED
[INFO] iped-ahocorasick 1.1 ............................... SKIPPED
[INFO] iped-carvers-api 4.2-snapshot ...................... SKIPPED
[INFO] iped-carvers-impl 4.2-snapshot ..................... SKIPPED
[INFO] iped-engine 4.2-snapshot ........................... SKIPPED
[INFO] iped-geo 4.2-snapshot .............................. SKIPPED
[INFO] iped-app 4.2-snapshot .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2024-04-16T23:56:25Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project iped-parsers-impl: There are test failures.
[ERROR]
[ERROR] Please refer to /home/kali/IPED/iped-parsers/iped-parsers-impl/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :iped-parsers-impl
`
Beta Was this translation helpful? Give feedback.
All reactions