diff options
authorStephan Bergmann <>2015-01-21 17:22:57 +0100
committerCaolán McNamara <>2015-01-22 09:14:06 +0000
commita358461a5c266bec5148f89e7fbb4b4d7d0ce91e (patch)
parentf3722ccdafbfd36f5debeba886567c1adaded324 (diff)
Related fdo#85190: Don't dress arbitrary Java Throwables as UNO Any values
Regression introduced with 9341bf3dc38b2cc117ffbe12ff057511ed6e046d "java: when rethrowing, store the original exception," but these two appear to be the only two cases related to[Runtime]Exception in that patch that would now create bad UNO Any values. Happily reverted to the original but oddly inconsistent setting of the WrappedTargetException's TargetException member... Change-Id: I9421da721d5a111d0d89ee0601238a2c01cfc12c (cherry picked from commit 01fb1701c8a59dd023604492a117ea1a6cffcee9) Reviewed-on: Tested-by: Caolán McNamara <> Reviewed-by: Markus Mohrhard <> Reviewed-by: Caolán McNamara <>
1 files changed, 2 insertions, 2 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/ b/reportbuilder/java/org/libreoffice/report/pentaho/
index f6d714722657..68b1b1729d1f 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/
@@ -216,12 +216,12 @@ public class SOReportJobFactory
catch (java.lang.Exception e)
LOGGER.error("ReportProcessing failed", e);
- throw new, this, e);
+ throw new, e.getMessage(), this, null);
catch (java.lang.IncompatibleClassChangeError e2)
LOGGER.error("Detected an IncompatibleClassChangeError");
- throw new"caught a " + e2.getClass().getName(), this, e2);
+ throw new, "caught a " + e2.getClass().getName(), this, new;