This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new e4af0c3  no jira: tests should be fixed
e4af0c3 is described below

commit e4af0c3a147c3b3ac252afa5f2340b9a12d053ad
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Mon Mar 23 20:53:29 2020 +0700

    no jira: tests should be fixed
---
 .../java/org/apache/openmeetings/web/pages/install/InstallWizard.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java
index 9a19010..2d6e45f 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/install/InstallWizard.java
@@ -576,7 +576,8 @@ public class InstallWizard extends 
AbstractWizard<InstallationConfig> {
                                
DocumentConverter.createOfficeManager(officePath.getValue(), null);
                                reportSuccess(officePath);
                        } catch (Exception ex) {
-                               officePath.error(err = 
ex.getMessage().replaceAll(REGEX, ""));
+                               String msg = ex.getMessage();
+                               officePath.error(err = (msg == null ? "" : 
msg.replaceAll(REGEX, "")));
                        }
                        return err.isEmpty();
                }

Reply via email to