jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject [jmeter] branch master updated: Avoid breaking JMeter due to a broken plugin classpath
Date Sat, 09 Jan 2021 16:54:28 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 6ff05cc  Avoid breaking JMeter due to a broken plugin classpath
6ff05cc is described below

commit 6ff05cc5468664398bb4c75bc67cdb320a6b61ca
Author: pmouawad <p.mouawad@ubik-ingenierie.com>
AuthorDate: Sat Jan 9 17:54:06 2021 +0100

    Avoid breaking JMeter due to a broken plugin classpath
---
 .../src/main/java/org/apache/jmeter/visualizers/RequestPanel.java  | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/components/src/main/java/org/apache/jmeter/visualizers/RequestPanel.java
b/src/components/src/main/java/org/apache/jmeter/visualizers/RequestPanel.java
index 54ccb5d..ac3a6a0 100644
--- a/src/components/src/main/java/org/apache/jmeter/visualizers/RequestPanel.java
+++ b/src/components/src/main/java/org/apache/jmeter/visualizers/RequestPanel.java
@@ -71,8 +71,13 @@ public class RequestPanel {
                 } else {
                     listRequestView.add(requestView);
                 }
+            }
+            catch (NoClassDefFoundError e) {
+                log.error("Exception registering implementation: [{}] of interface: [{}],
a dependency used by the plugin class is missing",
+                        clazz, RequestView.class, e);
             } catch (Exception e) {
-                log.warn("Error in load result render: {}", clazz, e); // $NON-NLS-1$
+                log.error("Exception registering implementation: [{}] of interface: [{}],
a jar is probably missing",
+                        clazz, RequestView.class, e);
             }
         }
         // place raw tab in first position (first tab)


Mime
View raw message