I am trying to connect Jmeter to Kibana using this manual:
https://blogs.sap.com/2016/04/06/load-testing-with-jmeter-test-results-visualization-using-kibana-dashboards/comment-page-1/#comment-398399
I am using JMeter 3.2, and downloaded elasticsearch-5.6.4.zip.
I extract the zip and put the folder elasticsearch-5.6.4 in C:\Jmeter\apache-jmeter-3.2\lib
I downloaded the jar JMeter_ElasticsearchListener.jar and put it in C:\Jmeter\apache-jmeter-3.2\lib\ext
I restart JMeter and pressed add -> listener -> backend listener and get these errors:
017-11-11 09:39:12,429 ERROR o.a.j.g.GuiPackage: Problem retrieving gui for org.apache.jmeter.visualizers.backend.BackendListenerGui
java.lang.NoClassDefFoundError: org/elasticsearch/client/RestClientBuilder$HttpClientConfigCallback
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_141]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_141]
at org.apache.jmeter.visualizers.backend.BackendListenerGui.actionPerformed(BackendListenerGui.java:166) ~[ApacheJMeter_components.jar:3.2 r1790748]
at javax.swing.JComboBox.fireActionEvent(Unknown Source) ~[?:1.8.0_141]
at javax.swing.JComboBox.setSelectedItem(Unknown Source) ~[?:1.8.0_141]
at javax.swing.JComboBox.setSelectedIndex(Unknown Source) ~[?:1.8.0_141]
at org.apache.jmeter.visualizers.backend.BackendListenerGui.clearGui(BackendListenerGui.java:281) ~[ApacheJMeter_components.jar:3.2 r1790748]
at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:348) ~[ApacheJMeter_core.jar:3.2 r1790748]
at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:68) ~[ApacheJMeter_core.jar:3.2 r1790748]
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:74) ~[ApacheJMeter_core.jar:3.2 r1790748]
at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:59) ~[ApacheJMeter_core.jar:3.2 r1790748]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_141]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_141]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.client.RestClientBuilder$HttpClientConfigCallback
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_141]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_141]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_141]
... 25 more
2017-11-11 09:39:40,782 ERROR o.a.j.g.a.AddToTree: Exception while adding a component to tree.
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/elasticsearch/client/RestClientBuilder$HttpClientConfigCallback
at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:359) ~[ApacheJMeter_core.jar:3.2 r1790748]
at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:68) ~[ApacheJMeter_core.jar:3.2 r1790748]
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:74) ~[ApacheJMeter_core.jar:3.2 r1790748]
at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:59) ~[ApacheJMeter_core.jar:3.2 r1790748]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_141]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_141]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_141]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_141]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/client/RestClientBuilder$HttpClientConfigCallback
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_141]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_141]
at org.apache.jmeter.visualizers.backend.BackendListenerGui.actionPerformed(BackendListenerGui.java:166) ~[ApacheJMeter_components.jar:3.2 r1790748]
at javax.swing.JComboBox.fireActionEvent(Unknown Source) ~[?:1.8.0_141]
at javax.swing.JComboBox.setSelectedItem(Unknown Source) ~[?:1.8.0_141]
at javax.swing.JComboBox.setSelectedIndex(Unknown Source) ~[?:1.8.0_141]
at org.apache.jmeter.visualizers.backend.BackendListenerGui.clearGui(BackendListenerGui.java:281) ~[ApacheJMeter_components.jar:3.2 r1790748]
at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:348) ~[ApacheJMeter_core.jar:3.2 r1790748]
... 17 more
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.client.RestClientBuilder$HttpClientConfigCallback
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_141]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_141]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_141]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_141]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_141]
at org.apache.jmeter.visualizers.backend.BackendListenerGui.actionPerformed(BackendListenerGui.java:166) ~[ApacheJMeter_components.jar:3.2 r1790748]
at javax.swing.JComboBox.fireActionEvent(Unknown Source) ~[?:1.8.0_141]
at javax.swing.JComboBox.setSelectedItem(Unknown Source) ~[?:1.8.0_141]
at javax.swing.JComboBox.setSelectedIndex(Unknown Source) ~[?:1.8.0_141]
at org.apache.jmeter.visualizers.backend.BackendListenerGui.clearGui(BackendListenerGui.java:281) ~[ApacheJMeter_components.jar:3.2 r1790748]
at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:348) ~[ApacheJMeter_core.jar:3.2 r1790748]
... 17 more
You are missing a jar, which is the REST client jar, just add the following jar to your lib folder (C:\Jmeter\apache-jmeter-3.2\lib)
elasticsearch-rest-client-5.6.4.jar
I don't think JMeter recursively searches any folders in its "lib" folder looking for any .jars it can add to its classpath, so I would recommend either moving all .jars from the elasticsearch-5.6.4 folder to JMeter's "lib" folder.
Alternatively you can add the next line to user.properties file (lives under "bin" folder of your JMeter installation)
user.classpath=C:\Jmeter\apache-jmeter-3.2\lib\elasticsearch-5.6.4`
In both cases JMeter restart will be required to pick the libraries up.
More information:
JMeter Classpath
Apache JMeter Properties Customization Guide
Related
I click on Add -> any option as Config Elements and then scroll mouse up/down
There are Uncaught exception per scroll:
2018-03-26 13:47:18,742 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.ArrayIndexOutOfBoundsException: -25
at org.apache.jorphan.gui.MenuScroller.refreshMenu(MenuScroller.java:550) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller.access$300(MenuScroller.java:55) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller$MouseScrollListener.mouseWheelMoved(MenuScroller.java:576) ~[jorphan.jar:4.0 r1823414]
at java.awt.Component.processMouseWheelEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Window.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.access$400(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_25]
Notice it happens only in sub menu and also in JMeter 3.3 and latest 4.0 versions
Option to scroll example:
EDIT
Error in vanilla JMeter 4.0 after change Root to log level debug :
2018-03-26 14:46:22,799 DEBUG o.a.j.g.GuiPackage: Updating gui to new node
2018-03-26 14:46:22,800 DEBUG o.a.j.g.GuiPackage: Showing pop up for org.apache.jmeter.gui.MainFrame$1[,0,0,374x759,invalid,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.synth.SynthBorder#29c29532,flags=16777704,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20] at x,y = 77,15
2018-03-26 14:46:24,618 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.ArrayIndexOutOfBoundsException: -38
at org.apache.jorphan.gui.MenuScroller.refreshMenu(MenuScroller.java:550) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller.access$300(MenuScroller.java:55) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller$MouseScrollListener.mouseWheelMoved(MenuScroller.java:576) ~[jorphan.jar:4.0 r1823414]
at java.awt.Component.processMouseWheelEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventToSelf(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchMouseWheelToAncestor(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Window.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.access$400(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_25]
This is a bug in JMeter application and only occur if you open the menu and then perform scroll down action.
I would suggest not to scroll down when all options are visible and just select the option that you needed.
JMeter issue tracker is at https://bz.apache.org/bugzilla/, not here
The issue cannot be reproduced on vanilla JMeter 4.0 and 3.3 so kindly update your question with contents of "lib" and "lib/ext" folders of your JMeter installation. You will be asked the same by JMeter developers as well as JMeter logs with increased level of verbosity, you will need to change <Root level="info"> to i.e. <Root level="debug"> in log4j2.xml file (lives in JMeter's "bin" folder)
The recommended way of installing JMeter Plugins is via JMeter Plugins Manager
I try to test a new function in JMeter.
I download JMeter 3.3 code and add plugins including JMeterPluginsCMD
I also download jmeter-plugins-extras-1.4.0.jar with HttpSimpleTableControlGui class
I execute NewDriver which opens JMeter GUI, I try to open Options -> Function Helper Dialog but I have no functions
log:
2017-11-13 16:16:56,661 WARN o.a.j.g.u.MenuFactory: Could not instantiate class: org.jmeterplugins.protocol.http.control.gui.HttpSimpleTableControlGui
java.lang.ClassNotFoundException: org.jmeterplugins.protocol.http.control.gui.HttpSimpleTableControlGui
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_25]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_25]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_25]
at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:499) [core/:?]
at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:169) [core/:?]
at org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.java:119) [core/:?]
at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:159) [core/:?]
at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:46) [core/:?]
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88) [core/:?]
at org.apache.jmeter.gui.action.ActionRouter.lambda$0(ActionRouter.java:70) [core/:?]
at org.apache.jmeter.gui.action.ActionRouter$$Lambda$43/1433208870.run(Unknown Source) [core/:?]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue.access$400(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_25]
2017-11-13 16:16:59,670 ERROR o.a.j.g.a.ActionRouter: Error processing org.apache.jmeter.gui.action.CreateFunctionDialog#45e37a7e
java.lang.NullPointerException: null
at org.apache.jmeter.functions.gui.FunctionHelper.initParameterPanel(FunctionHelper.java:165) ~[core/:?]
at org.apache.jmeter.functions.gui.FunctionHelper.setVisible(FunctionHelper.java:228) ~[core/:?]
at org.apache.jmeter.gui.action.CreateFunctionDialog.doAction(CreateFunctionDialog.java:50) ~[core/:?]
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88) [core/:?]
at org.apache.jmeter.gui.action.ActionRouter.lambda$0(ActionRouter.java:70) [core/:?]
at org.apache.jmeter.gui.action.ActionRouter$$Lambda$43/1433208870.run(Unknown Source) [core/:?]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue.access$400(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [?:1.8.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_25]
The recommended way of installing JMeter Plugins and keeping them up-to-date is using JMeter Plugins Manager
I do confirm that brand new JMeter 3.3 and HTTP Simple Table Server work fine together without any issues with The Function Helper Dialog.
So my expectations are in:
Your installation is broken, you should have:
jmeter-plugins-table-server-2.2.jar in "lib/ext" folder
jmeter-plugins-cmn-jmeter-0.4.jar in "lib" folder
JMeter restart is required to pick any .jars up
(most likely) Your function implementation is flaky. If this is the case you will need to provide your function code along with the question.
It seems that the right (or possible) way to call JMeter GUI is
ant run_gui
Function Helper worked with my changes
java.rmi.ConnectException: Connection refused to host: localhost;
nested exception is: java.net.ConnectException: Connection refused:
connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown
Source) ~[?:1.8.0_111] at
sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
~[?:1.8.0_111] at
sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
~[?:1.8.0_111] at sun.rmi.server.UnicastRef.newCall(Unknown Source)
~[?:1.8.0_111] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown
Source) ~[?:1.8.0_111] at java.rmi.Naming.lookup(Unknown Source)
~[?:1.8.0_111] at
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:54)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.engine.ClientJMeterEngine.(ClientJMeterEngine.java:67)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.engine.DistributedRunner.createEngine(DistributedRunner.java:237)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.engine.DistributedRunner.getClientEngine(DistributedRunner.java:213)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:93)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:86)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:65)
~[ApacheJMeter_core.jar:3.3 r1808647] at
java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_111]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
[?:1.8.0_111] at java.awt.EventQueue.access$500(Unknown Source)
[?:1.8.0_111] at java.awt.EventQueue$3.run(Unknown Source)
[?:1.8.0_111] at java.awt.EventQueue$3.run(Unknown Source)
[?:1.8.0_111] at java.security.AccessController.doPrivileged(Native
Method) ~[?:1.8.0_111] at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source) [?:1.8.0_111] at java.awt.EventQueue.dispatchEvent(Unknown
Source) [?:1.8.0_111] at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[?:1.8.0_111] at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[?:1.8.0_111] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEvents(Unknown
Source) [?:1.8.0_111] at
java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_111]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_111]
Caused by: java.net.ConnectException: Connection refused: connect at
java.net.DualStackPlainSocketImpl.connect0(Native Method)
~[?:1.8.0_111] at
java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
~[?:1.8.0_111] at java.net.AbstractPlainSocketImpl.doConnect(Unknown
Source) ~[?:1.8.0_111] at
java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
~[?:1.8.0_111] at java.net.AbstractPlainSocketImpl.connect(Unknown
Source) ~[?:1.8.0_111] at java.net.PlainSocketImpl.connect(Unknown
Source) ~[?:1.8.0_111] at java.net.SocksSocketImpl.connect(Unknown
Source) ~[?:1.8.0_111] at java.net.Socket.connect(Unknown Source)
~[?:1.8.0_111] at java.net.Socket.connect(Unknown Source)
~[?:1.8.0_111] at java.net.Socket.(Unknown Source)
~[?:1.8.0_111] at java.net.Socket.(Unknown Source)
~[?:1.8.0_111] at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source) ~[?:1.8.0_111] at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source) ~[?:1.8.0_111] ... 28 more 2017-11-28 20:12:51,444 INFO
o.a.j.e.DistributedRunner: Failed to configure localhost 2017-11-28
20:12:51,444 INFO o.a.j.e.DistributedRunner: Configuring remote
engine: 192.168.20.16 2017-11-28 20:12:51,528 INFO
o.a.j.e.DistributedRunner: Configuring remote engine: 192.168.20.142
2017-11-28 20:12:54,604 INFO o.a.j.e.DistributedRunner: Configuring
remote engine: 192.168.20.57 2017-11-28 20:12:54,711 INFO
o.a.j.e.DistributedRunner: Stopping remote engines 2017-11-28
20:12:54,711 INFO o.a.j.e.ClientJMeterEngine: about to stop remote
test on 192.168.20.57 2017-11-28 20:12:54,745 ERROR
o.a.j.e.ClientJMeterEngine: java.lang.NullPointerException: null at
org.apache.jmeter.engine.RemoteJMeterEngineImpl.rstopTest(RemoteJMeterEngineImpl.java:198)
~[ApacheJMeter_core.jar:3.3 r1808647] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source) ~[?:1.8.0_111] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
~[?:1.8.0_111] at java.lang.reflect.Method.invoke(Unknown Source)
~[?:1.8.0_111] at sun.rmi.server.UnicastServerRef.dispatch(Unknown
Source) ~[?:1.8.0_111] at sun.rmi.transport.Transport$1.run(Unknown
Source) ~[?:1.8.0_111] at sun.rmi.transport.Transport$1.run(Unknown
Source) ~[?:1.8.0_111] at
java.security.AccessController.doPrivileged(Native Method)
~[?:1.8.0_111] at sun.rmi.transport.Transport.serviceCall(Unknown
Source) ~[?:1.8.0_111] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
~[?:1.8.0_111] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown
Source) ~[?:1.8.0_111] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown
Source) ~[?:1.8.0_111] at
java.security.AccessController.doPrivileged(Native Method)
~[?:1.8.0_111] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source) ~[?:1.8.0_111] at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
~[?:1.8.0_111] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
~[?:1.8.0_111] at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_111]
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source) ~[?:1.8.0_111] at
sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
~[?:1.8.0_111] at sun.rmi.server.UnicastRef.invoke(Unknown Source)
~[?:1.8.0_111] at
java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown
Source) ~[?:1.8.0_111] at
java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
~[?:1.8.0_111] at com.sun.proxy.$Proxy21.rstopTest(Unknown Source)
~[?:?] at
org.apache.jmeter.engine.ClientJMeterEngine.stopTest(ClientJMeterEngine.java:84)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.engine.DistributedRunner.stop(DistributedRunner.java:157)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.engine.DistributedRunner.stop(DistributedRunner.java:174)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:111)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:86)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
~[ApacheJMeter_core.jar:3.3 r1808647] at
org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:65)
~[ApacheJMeter_core.jar:3.3 r1808647] at
java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_111]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
[?:1.8.0_111] at java.awt.EventQueue.access$500(Unknown Source)
[?:1.8.0_111] at java.awt.EventQueue$3.run(Unknown Source)
[?:1.8.0_111] at java.awt.EventQueue$3.run(Unknown Source)
[?:1.8.0_111] at java.security.AccessController.doPrivileged(Native
Method) ~[?:1.8.0_111] at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source) [?:1.8.0_111] at java.awt.EventQueue.dispatchEvent(Unknown
Source) [?:1.8.0_111] at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[?:1.8.0_111] at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[?:1.8.0_111] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[?:1.8.0_111] at java.awt.EventDispatchThread.pumpEvents(Unknown
Source) [?:1.8.0_111] at
java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_111]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_111]
2017-11-28 20:12:54,745 INFO o.a.j.e.ClientJMeterEngine: about to stop
remote test on 192.168.20.142
Make sure you define java.rmi.server.hostname and server_port system properties either via -D command-line argument or by putting the appropriate values into system.properties file.
Make sure that port 1099 is open and you can reach JMeter server from the slaves and vice versa using telnet or equivalent
Enable logging on JMeter slaves by passing the desired log file name and path via -j command-line argument
If nothing help - update your question including all the defined properties, command lines to start server and slaves and log files.
References:
java.rmi Properties
JMeter Distributed Testing Step-by-step
How to Perform Distributed Testing in JMeter
I use JMeter 3.3, I opened the Function Helper and tried the new function __RandomDate, Click Generate and got an error (other functions are working)
When calling in Test Plan ${__RandomDate(,2017-01-01,2018-01-01,,)} it works, but in Function Helper when you click Generate it ignores the input field and use the function without any values
2017-09-25 08:44:30,112 ERROR o.a.j.f.RandomDate: Failed to parse the date '' to shift with formatter 'Value(YearOfEra,4,19,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2)java.time.format.DateTimeFormatterBuilder$DefaultValueParser#6426866cjava.time.format.DateTimeFormatterBuilder$DefaultValueParser#4b46653bjava.time.format.DateTimeFormatterBuilder$DefaultValueParser#108462fd'
java.time.format.DateTimeParseException: Text '' could not be parsed at index 0
at java.time.format.DateTimeFormatter.parseResolved0(Unknown Source) ~[?:1.8.0_144]
at java.time.format.DateTimeFormatter.parse(Unknown Source) ~[?:1.8.0_144]
at java.time.LocalDate.parse(Unknown Source) ~[?:1.8.0_144]
at org.apache.jmeter.functions.RandomDate.execute(RandomDate.java:189) [ApacheJMeter_functions.jar:3.3 r1808647]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:137) [ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:112) [ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.functions.gui.FunctionHelper.actionPerformed(FunctionHelper.java:181) [ApacheJMeter_core.jar:3.3 r1808647]
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) [?:1.8.0_144]
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [?:1.8.0_144]
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) [?:1.8.0_144]
at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [?:1.8.0_144]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) [?:1.8.0_144]
at java.awt.Component.processMouseEvent(Unknown Source) [?:1.8.0_144]
at javax.swing.JComponent.processMouseEvent(Unknown Source) [?:1.8.0_144]
at java.awt.Component.processEvent(Unknown Source) [?:1.8.0_144]
at java.awt.Container.processEvent(Unknown Source) [?:1.8.0_144]
at java.awt.Component.dispatchEventImpl(Unknown Source) [?:1.8.0_144]
at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_144]
at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_144]
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [?:1.8.0_144]
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [?:1.8.0_144]
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) [?:1.8.0_144]
at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_144]
at java.awt.Window.dispatchEventImpl(Unknown Source) [?:1.8.0_144]
at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_144]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_144]
at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_144]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_144]
at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_144]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_144]
at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_144]
at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_144]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_144]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_144]
2017-09-25 08:44:30,113 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.IllegalArgumentException: bound must be greater than origin
at java.util.concurrent.ThreadLocalRandom.nextLong(Unknown Source) ~[?:1.8.0_144]
at org.apache.jmeter.functions.RandomDate.execute(RandomDate.java:196) ~[ApacheJMeter_functions.jar:3.3 r1808647]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:137) ~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:112) ~[ApacheJMeter_core.jar:3.3 r1808647]
at org.apache.jmeter.functions.gui.FunctionHelper.actionPerformed(FunctionHelper.java:181) ~[ApacheJMeter_core.jar:3.3 r1808647]
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) ~[?:1.8.0_144]
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) ~[?:1.8.0_144]
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) ~[?:1.8.0_144]
at javax.swing.DefaultButtonModel.setPressed(Unknown Source) ~[?:1.8.0_144]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) ~[?:1.8.0_144]
at java.awt.Component.processMouseEvent(Unknown Source) ~[?:1.8.0_144]
at javax.swing.JComponent.processMouseEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.Component.processEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.Container.processEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:1.8.0_144]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_144]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_144]
at java.awt.Window.dispatchEventImpl(Unknown Source) ~[?:1.8.0_144]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventQueue.access$500(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_144]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_144]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_144]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_144]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_144]
EDIT
Opened a bug.
You're getting an error because "End date" is mandatory.
Since 3.3, Generate does an additional thing which is to show the result of function call.
But as you're not filling end date it fails with the error message you mention.
Fill in the required parameters and it works as documented:
http://jmeter.apache.org/usermanual/functions.html#__RandomDate
As you can see End date is required
I downloaded the community version of pentaho to create dashboards.
I have a Neo4j database on my PC with my datas.
When I try to connect my report to my Neo4j database, I have an error that I can't resolve.
I added the Neo4j connector tht I found on the marketplace in my report-design/lib/jdbc file
https://i.stack.imgur.com/MRVSN.jpg
I open pentaho, I create a new report and I add a new JDBC connection of type generic database with the following informations :
Connection type as Generic database
Custom connection URL as jdbc:neo4j://localhost:7474
Custom driver class name as org.neo4j.jdbc.Driver
https://i.stack.imgur.com/43lU3.jpg
Neo4j is On
And when I click on test I have the following error :
Erreur lors de la connexion à la Base de données [Neo4j connection] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.neo4j.jdbc.Driver)
Internal Connector Error
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.neo4j.jdbc.Driver)
Internal Connector Error
at org.pentaho.di.core.database.Database.normalConnect(Database.java:472)
at org.pentaho.di.core.database.Database.connect(Database.java:370)
at org.pentaho.di.core.database.Database.connect(Database.java:341)
at org.pentaho.di.core.database.Database.connect(Database.java:331)
at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:80)
at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2795)
at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:598)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313)
at org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:71)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:250)
at org.pentaho.reporting.ui.datasources.jdbc.ui.XulDatabaseDialog.open(XulDatabaseDialog.java:254)
at org.pentaho.reporting.ui.datasources.jdbc.ui.ConnectionPanel$AddDataSourceAction.actionPerformed(ConnectionPanel.java:252)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:230)
at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:158)
at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog.performConfiguration(JdbcDataSourceDialog.java:798)
at org.pentaho.reporting.ui.datasources.jdbc.JdbcDataSourcePlugin.performEdit(JdbcDataSourcePlugin.java:71)
at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.java:70)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Error connecting to database: (using class org.neo4j.jdbc.Driver)
Internal Connector Error
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:587)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:456)
... 125 more
Caused by: Internal Connector Error (1002) - The connector encountered an unexpected condition which prevented it from fulfilling the request
at org.restlet.resource.ClientResource.doError(ClientResource.java:612)
at org.restlet.resource.ClientResource.handleInbound(ClientResource.java:1202)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1069)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1044)
at org.restlet.resource.ClientResource.handle(ClientResource.java:950)
at org.restlet.resource.ClientResource.get(ClientResource.java:658)
at org.neo4j.jdbc.rest.Resources$DiscoveryClientResource.readInformation(Resources.java:131)
at org.neo4j.jdbc.rest.Resources.getDiscoveryResource(Resources.java:65)
at org.neo4j.jdbc.rest.Resources.getDiscoveryResource(Resources.java:60)
at org.neo4j.jdbc.Neo4jConnection.getDiscoveryResource(Neo4jConnection.java:80)
at org.neo4j.jdbc.Neo4jConnection.createExecutor(Neo4jConnection.java:69)
at org.neo4j.jdbc.Neo4jConnection.<init>(Neo4jConnection.java:61)
at org.neo4j.jdbc.Connections$4.doCreate(Connections.java:51)
at org.neo4j.jdbc.Connections.create(Connections.java:62)
at org.neo4j.jdbc.Driver.connect(Driver.java:64)
at org.neo4j.jdbc.Driver.connect(Driver.java:36)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:567)
... 126 more
Caused by: java.lang.NullPointerException
at org.restlet.ext.httpclient.internal.HttpMethodCall.sendRequest(HttpMethodCall.java:336)
at org.restlet.engine.adapter.ClientAdapter.commit(ClientAdapter.java:114)
at org.restlet.engine.adapter.HttpClientHelper.handle(HttpClientHelper.java:112)
at org.restlet.Client.handle(Client.java:180)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1136)
at org.restlet.resource.ClientResource.retry(ClientResource.java:1610)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1171)
at org.restlet.resource.ClientResource.retry(ClientResource.java:1610)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1171)
at org.restlet.resource.ClientResource.handleOutbound(ClientResource.java:1225)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1068)
... 142 more
URL personnalisée :jdbc:neo4j://localhost:7474
Classe pilote personnalisé :org.neo4j.jdbc.Driver
I can not find the solution if someone can help me, it would be wonderful. Thank you !!!
Try copy Driver Neo4j this path: %pantaho_home%\lib
I'm using neo4j-jdbc-driver-4.0.2.jar driver.
Hope I helped with your problem