Bug 64935 - A broken plugin class should not prevent JMeter from starting
Summary: A broken plugin class should not prevent JMeter from starting
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.3
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.4
Assignee: JMeter issues mailing list
Keywords: FixedInTrunk
Depends on:
Reported: 2020-11-24 14:48 UTC by Philippe Mouawad
Modified: 2020-11-24 15:37 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2020-11-24 14:48:04 UTC

Following https://github.com/apache/jmeter/commit/43217ec8086c8f2dc485936cd020c9c8107b698e which removed LoggingManager.

Add jmeter-plugins-manager plugin to JMeter prevents JMeter from starting with below exception:

java.lang.NoClassDefFoundError: org/apache/jorphan/logging/LoggingManager
        at org.jmeterplugins.repository.PluginManagerMenuCreator.<clinit>(PluginManagerMenuCreator.java:10) ~[jmeter-plugins-manager-1.4.jar:?]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_201]
        at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_201]
        at org.apache.jmeter.gui.util.JMeterMenuBar.findMenuCreators(JMeterMenuBar.java:229) ~[ApacheJMeter_core.jar:5.4]        at org.apache.jmeter.gui.util.JMeterMenuBar.createMenuBar(JMeterMenuBar.
java:196) ~[ApacheJMeter_core.jar:5.4]        at org.apache.jmeter.gui.util.JMeterMenuBar.<init>(JMeterMenuBar.java:11
7) ~[ApacheJMeter_core.jar:5.4]        at org.apache.jmeter.gui.MainFrame.init(MainFrame.java:514) ~[ApacheJMet
        at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:231) ~[ApacheJM
Comment 1 Philippe Mouawad 2020-11-24 14:51:15 UTC
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 88be852  Bug 64935 - A broken plugin class should not prevent JMeter from starting
88be852 is described below

commit 88be852762cd5db86ecd7d8b035549a9782a5cb9
Author: pmouawad <p.mouawad@ubik-ingenierie.com>
AuthorDate: Tue Nov 24 15:49:49 2020 +0100

    Bug 64935 - A broken plugin class should not prevent JMeter from
 .../src/main/java/org/apache/jmeter/gui/util/JMeterMenuBar.java     | 6 +++++-
 xdocs/changes.xml                                                   | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)
Comment 2 Felix Schumacher 2020-11-24 15:37:07 UTC
commit 077b58e518c0afe4253379f75ee14ea2d326eae3
AuthorDate: Tue Nov 24 16:00:45 2020 +0100

    Make log messages more consistent
    * Use space after colon
    * put parenthesis around placeholder to make start and end of value clearer
    Bugzilla Id: 64935
 src/core/src/main/java/org/apache/jmeter/gui/util/JMeterMenuBar.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 The ASF infrastructure team 2022-09-24 20:38:21 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5438