jmcleodfoss / msgreader Goto Github PK
View Code? Open in Web Editor NEWJava library for reading Microsoft Compound File Binary (CFB) Files, including Outlook msg files.
License: MIT License
Java library for reading Microsoft Compound File Binary (CFB) Files, including Outlook msg files.
License: MIT License
Error is:
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] io.github.jmcleodfoss:msg-parent 1.0.2 ............. SUCCESS [ 23.533 s] [INFO] io.github.jmcleodfoss:msg 1.0.2 .................... SUCCESS [ 19.246 s] [INFO] io.github.jmcleodfoss:msgexplorer 1.0.2-SNAPSHOT ... FAILURE [ 14.915 s] [INFO] io.github.jmcleodfoss:msg_example 1.0.2 ............ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 57.863 s [INFO] Finished at: 2021-05-07T05:00:39-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project msgexplorer: Error during page generation: Error rendering Maven report: [ERROR] Exit code: 1 - C:\Users\jwmcl\cygwin\work\outlook-files\msgreader\msgexplorer\src\main\java\io\github\jmcleodfoss\msgexplorer\module-info.java:2: error: module not found: javafx.base [ERROR] requires javafx.base; [ERROR] ^ [ERROR] C:\Users\jwmcl\cygwin\work\outlook-files\msgreader\msgexplorer\src\main\java\io\github\jmcleodfoss\msgexplorer\module-info.java:3: error: module not found: javafx.controls [ERROR] requires javafx.controls; [ERROR] ^ [ERROR] C:\Users\jwmcl\cygwin\work\outlook-files\msgreader\msgexplorer\src\main\java\io\github\jmcleodfoss\msgexplorer\module-info.java:5: error: module not found: io.github.jmcleodfoss.voluminou spaginationskin [ERROR] requires io.github.jmcleodfoss.voluminouspaginationskin; [ERROR] ^ [ERROR] [ERROR] Command line was: cmd.exe /X /C "C:\PROGRA~1\Java\jdk-14\bin\javadoc.exe @options @argfile" [ERROR] [ERROR] Refer to the generated Javadoc files in 'C:\Users\jwmcl\cygwin\work\outlook-files\msgreader\msgexplorer\target\site\apidocs' dir. [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :msgexplorer
As described in a comment in Issue #2, the following exception is thrown when processing an MSI file (which is a Compound Binary File formatted file).
java.lang.NullPointerException
at io.github.jmcleodfoss.msg.Directory.getChildren(Directory.java:115)
at io.github.jmcleodfoss.msg.NamedProperties.<init>(NamedProperties.java:50)
at io.github.jmcleodfoss.msg.MSG.<init>(MSG.java:57)
I assume this is because the (undocumented) MSI file does not include a Named Properties section - at least, the Named Properties Mapping Entry is null.
Hi,
I'm trying to use msgreader to parse a Microsoft Installer file (.msi) which is also based on the Microsoft Compound File format and I got the following exception:
java.text.ParseException: Unparseable date: "January 1, 1601"
at java.base/java.text.DateFormat.parse(DateFormat.java:395)
at io.github.jmcleodfoss.msg.DataType$Time.initBaseTime(DataType.java:395)
at io.github.jmcleodfoss.msg.DataType$Time.<clinit>(DataType.java:376)
at io.github.jmcleodfoss.msg.DataType.<clinit>(DataType.java:435)
at io.github.jmcleodfoss.msg.Header.<clinit>(Header.java:114)
at io.github.jmcleodfoss.msg.MSG.<init>(MSG.java:52)
The file parsed is located here: https://github.com/ebourg/jsign/blob/3.1/jsign-core/src/test/resources/minimal.msi?raw=true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.