You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2020/09/04 21:46:43 UTC
[tika] branch branch_1x updated: fix branch_1x build -- can't
figure out for the life of me why this is required in the Jenkins build but
not locally:
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch branch_1x
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/branch_1x by this push:
new 32e3928 fix branch_1x build -- can't figure out for the life of me why this is required in the Jenkins build but not locally:
32e3928 is described below
commit 32e392865f5fa9a67bcb51ce9db55b9fc29f409a
Author: tallison <ta...@apache.org>
AuthorDate: Fri Sep 4 17:46:31 2020 -0400
fix branch_1x build -- can't figure out for the life of me why this is required in the Jenkins build but not locally:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/workspace/Tika/tika-branch1x-jdk8/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFEventBasedWordExtractor.java:[235,24] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
---
.../tika/parser/microsoft/ooxml/xwpf/XWPFEventBasedWordExtractor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFEventBasedWordExtractor.java b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFEventBasedWordExtractor.java
index 03d64f5..866bb78 100644
--- a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFEventBasedWordExtractor.java
+++ b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFEventBasedWordExtractor.java
@@ -220,7 +220,7 @@ public class XWPFEventBasedWordExtractor extends POIXMLTextExtractor {
return hyperlinks;
}
- private XWPFNumbering loadNumbering(PackagePart packagePart) {
+ private XWPFNumbering loadNumbering(PackagePart packagePart) throws IOException {
try {
PackageRelationshipCollection numberingParts = packagePart.getRelationshipsByType(XWPFRelation.NUMBERING.getRelation());
if (numberingParts.size() > 0) {