Plugin-Manager Error

450 views
Skip to first unread message

Adekunbi Adewojo

unread,
Aug 7, 2017, 7:02:27 PM8/7/17
to jmeter-plugins
Plugin has refused to come on after it said it has an upgrade. Jmeter reports the following error whenever I click on the plugin manager -

Gtk-Message: Failed to load module "canberra-gtk-module"
Uncaught Exception java.lang.NullPointerException. See log file for details.

Error from log is as follows:
2017-08-07 23:56:43,474 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.NullPointerException: null
        at java.util.regex.Matcher.getTextLength(Matcher.java:1283) ~[?:1.8.0_131]
        at java.util.regex.Matcher.reset(Matcher.java:309) ~[?:1.8.0_131]
        at java.util.regex.Matcher.<init>(Matcher.java:229) ~[?:1.8.0_131]
        at java.util.regex.Pattern.matcher(Pattern.java:1093) ~[?:1.8.0_131]
        at org.jmeterplugins.repository.Plugin.getVersionFromPath(Plugin.java:170) ~[jmeter-plugins-manager-0.13.jar:?]
        at org.jmeterplugins.repository.DependencyResolver.resolveUpgradesLibs(DependencyResolver.java:210) ~[jmeter-plugins-manager-0.13.jar:$
        at org.jmeterplugins.repository.DependencyResolver.<init>(DependencyResolver.java:35) ~[jmeter-plugins-manager-0.13.jar:?]
        at org.jmeterplugins.repository.PluginManager.getChangesAsText(PluginManager.java:195) ~[jmeter-plugins-manager-0.13.jar:?]
        at org.jmeterplugins.repository.PluginManagerDialog$1.notify(PluginManagerDialog.java:74) ~[jmeter-plugins-manager-0.13.jar:?]
        at org.jmeterplugins.repository.PluginManagerDialog.<init>(PluginManagerDialog.java:136) ~[jmeter-plugins-manager-0.13.jar:?]
        at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:43) ~[jmeter-plugins-manager-0.13.jar$
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) ~[?:1.8.0_131]
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) ~[?:1.8.0_131]
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) ~[?:1.8.0_131]
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) ~[?:1.8.0_131]
        at javax.swing.AbstractButton.doClick(AbstractButton.java:376) ~[?:1.8.0_131]
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) ~[?:1.8.0_131]
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) ~[?:1.8.0_131]
        at java.awt.Component.processMouseEvent(Component.java:6533) ~[?:1.8.0_131]
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) ~[?:1.8.0_131]
        at java.awt.Component.processEvent(Component.java:6298) ~[?:1.8.0_131]
        at java.awt.Container.processEvent(Container.java:2236) ~[?:1.8.0_131]
        at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[?:1.8.0_131]
        at java.awt.Container.dispatchEventImpl(Container.java:2294) ~[?:1.8.0_131]
        at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_131]
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) ~[?:1.8.0_131]
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) ~[?:1.8.0_131]
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) ~[?:1.8.0_131]
        at java.awt.Container.dispatchEventImpl(Container.java:2280) ~[?:1.8.0_131]
        at java.awt.Window.dispatchEventImpl(Window.java:2746) ~[?:1.8.0_131]

Adekunbi Adewojo

unread,
Aug 7, 2017, 7:03:33 PM8/7/17
to jmeter-plugins
I use Jmeter 3.2

Artem Fedorov

unread,
Aug 8, 2017, 1:09:07 AM8/8/17
to jmeter-...@googlegroups.com
Hello,

This issue fixed in Plugins Manager version 0.15

Thanks

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugins+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adekunbi Adewojo

unread,
Aug 8, 2017, 4:49:28 AM8/8/17
to jmeter-plugins
Hi,
Thanks for the reply. However how do I get version 0.15, currently it is 0.13 on the site.

Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.

Andrey Pokhilko

unread,
Aug 8, 2017, 4:51:34 AM8/8/17
to jmeter-...@googlegroups.com

Adekunbi Adewojo

unread,
Aug 8, 2017, 4:53:11 AM8/8/17
to jmeter-plugins
Got it. Thanks.


On Tuesday, August 8, 2017 at 6:09:07 AM UTC+1, Artem Fedorov wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.

Artem Fedorov

unread,
Aug 8, 2017, 4:53:19 AM8/8/17
to jmeter-...@googlegroups.com

To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugins+unsubscribe@googlegroups.com.

rocket...@gmail.com

unread,
Aug 10, 2017, 5:02:06 AM8/10/17
to jmeter-plugins
Hi,

I'm using version 15 of the plugin-manager.  It showed up under options once, and then the next time I started jmeter it was no longer there.  I've pulled the following out of the log:

2017/08/10 01:55:22 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_CA
2017/08/10 01:55:22 INFO  - jmeter.JMeter: Loading user properties from: /usr/share/jmeter/bin/user.properties
2017/08/10 01:55:22 INFO  - jmeter.JMeter: Loading system properties from: /usr/share/jmeter/bin/system.properties
2017/08/10 01:55:22 INFO  - jmeter.JMeter: Copyright (c) 1998-2015 The Apache Software Foundation
2017/08/10 01:55:22 INFO  - jmeter.JMeter: Version 2.13.20161028
2017/08/10 01:55:22 INFO  - jmeter.JMeter: java.version=1.8.0_131
2017/08/10 01:55:22 INFO  - jmeter.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2017/08/10 01:55:22 INFO  - jmeter.JMeter: os.name=Linux
2017/08/10 01:55:22 INFO  - jmeter.JMeter: os.arch=amd64
2017/08/10 01:55:22 INFO  - jmeter.JMeter: os.version=4.10.0-19-generic
2017/08/10 01:55:22 INFO  - jmeter.JMeter: file.encoding=UTF-8
2017/08/10 01:55:22 INFO  - jmeter.JMeter: Default Locale=English (Canada)
2017/08/10 01:55:22 INFO  - jmeter.JMeter: JMeter  Locale=English (Canada)
2017/08/10 01:55:22 INFO  - jmeter.JMeter: JMeterHome=/usr/share/jmeter
2017/08/10 01:55:22 INFO  - jmeter.JMeter: user.dir  =/home/dan/jmeter
2017/08/10 01:55:22 INFO  - jmeter.JMeter: PWD       =/home/dan/jmeter
2017/08/10 01:55:22 INFO  - jmeter.JMeter: IP: 127.0.1.1 Name: matix2 FullName: matix2
2017/08/10 01:55:23 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform, System]

2017/08/10 01:55:23 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2017/08/10 01:55:23 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2017/08/10 01:55:23 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2017/08/10 01:55:27 INFO  - org.jmeterplugins.repository.PluginManager: Plugins Status: [jpgc-plugins-manager=0.15, jmeter-core=2.13.20161028, jmeter-http=2.13.20161028, jmeter-native=2.13.20161028, jmeter-components=2.13.20161028]
2017/08/10 01:55:27 ERROR - org.jmeterplugins.repository.PluginManagerMenuCreator: Failed to load Plugins Manager java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
    at org.jmeterplugins.repository.util.ComponentFinder.<clinit>(ComponentFinder.java:10)
    at org.jmeterplugins.repository.PluginManagerMenuItem.addToolbarIcon(PluginManagerMenuItem.java:51)
    at org.jmeterplugins.repository.PluginManagerMenuItem.<init>(PluginManagerMenuItem.java:43)
    at org.jmeterplugins.repository.PluginManagerMenuCreator.getMenuItemsAtLocation(PluginManagerMenuCreator.java:22)
    at org.apache.jmeter.gui.util.JMeterMenuBar.addPluginsMenuItems(JMeterMenuBar.java:579)
    at org.apache.jmeter.gui.util.JMeterMenuBar.makeOptionsMenu(JMeterMenuBar.java:356)
    at org.apache.jmeter.gui.util.JMeterMenuBar.createMenuBar(JMeterMenuBar.java:270)
    at org.apache.jmeter.gui.util.JMeterMenuBar.<init>(JMeterMenuBar.java:163)
    at org.apache.jmeter.gui.MainFrame.init(MainFrame.java:461)
    at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:219)
    at org.apache.jmeter.JMeter.startGui(JMeter.java:242)
    at org.apache.jmeter.JMeter.start(JMeter.java:387)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.jmeter.NewDriver.main(NewDriver.java:264)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 17 more

2017/08/10 01:55:27 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22
2017/08/10 01:55:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default
2017/08/10 01:55:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is  
2017/08/10 01:55:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is  
2017/08/10 01:55:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is  
2017/08/10 01:55:29 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is  


Any insight into what is going on would be greatly appreciated.

Thanks!

Dan.

artem....@blazemeter.com

unread,
Aug 10, 2017, 11:52:37 AM8/10/17
to jmeter-plugins, rocket...@gmail.com
Hi Dan,

Can you check slf4j jar in your JMeter lib folder? I think that it was missed

Thanks,
Artem

четверг, 10 августа 2017 г., 12:02:06 UTC+3 пользователь rocket...@gmail.com написал:

rocket...@gmail.com

unread,
Aug 10, 2017, 2:06:55 PM8/10/17
to jmeter-plugins, rocket...@gmail.com
Hi Artem,

Thanks!

I had installed jmeter through apt-get on the latest debian desktop release.  slf4j was installed, but in another path in /usr/share.  When I compared what apt-get installed in /usr/share/jmeter to what was in the jmeter tarball on the official site it turns out a lot is missing from the .deb  I copied the contents of the tarball over the install path (including slf4j) and now everything works.

Dan.

Andrey Pokhilko

unread,
Aug 10, 2017, 2:46:44 PM8/10/17
to jmeter-...@googlegroups.com

Never use debian JMeter, it's extremely outdated. Recommended way to install JMeter is to just download and unzip from official website.

Andrey Pokhilko

--

rocket...@gmail.com

unread,
Aug 10, 2017, 3:01:50 PM8/10/17
to jmeter-plugins
That's good to know.  It was frustrating starting that way for sure.  Things are going much smoother now.

Thanks for your help and advice.

Dan.
Reply all
Reply to author
Forward
0 new messages