I am having difficulties deploying a Java FX 2.0 app - java-7

I am deplyoing a JavaFx2.0 App and one of the components of the app is a WebView, where I display a custom HTML page. This HTML page is created by assembling some information from a database. This HTML file is created in the client computer, then its uploaded by FTP to the server and can be used by any of the users of the JavaFx2.0 app.
Well when I try to upload the file via FTP I get a exception, right after I connect and set passive mode, I try to send the file and I get the following Exception:
Thanks in advance for your time.
Output:
Connected to ftp.nestroia.com
java.net.SocketException: Permission denied: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:154)
at java.io.BufferedReader.read(BufferedReader.java:175)
at org.apache.commons.net.io.CRLFLineReader.readLine(CRLFLineReader.java:58)
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:310)
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:290)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:479)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:552)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:601)
at org.apache.commons.net.ftp.FTP.pasv(FTP.java:952)
at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:755)
at org.apache.commons.net.ftp.FTPClient._storeFile(FTPClient.java:565)
at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:557)
at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1795)
at talefx.JakartaFtpWrapper.uploadFile(JakartaFtpWrapper.java:85)
at talefx.TaleFX.sendToServer(TaleFX.java:927)
at talefx.TaleFX.displayArchive(TaleFX.java:911)
at talefx.TaleFX.access$300(TaleFX.java:48)
at talefx.TaleFX$2.handle(TaleFX.java:177)
at talefx.TaleFX$2.handle(TaleFX.java:145)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown
Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Node.fireEvent(Unknown Source)
at javafx.scene.control.Button.fire(Unknown Source)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown
Source)
at com.sun.javafx.scene.control.skin.SkinBase$5.handle(Unknown Source)
at com.sun.javafx.scene.control.skin.SkinBase$5.handle(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown
Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.notifyMouse(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at java.io.BufferedWriter.flush(BufferedWriter.java:254)
at org.apache.commons.net.ftp.FTP.__send(FTP.java:501)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:475)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:552)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:601)
at org.apache.commons.net.ftp.FTP.quit(FTP.java:809)
at org.apache.commons.net.ftp.FTPClient.logout(FTPClient.java:979)
at talefx.TaleFX.sendToServer(TaleFX.java:931)
at talefx.TaleFX.displayArchive(TaleFX.java:911)
at talefx.TaleFX.access$300(TaleFX.java:48)
at talefx.TaleFX$2.handle(TaleFX.java:177)
at talefx.TaleFX$2.handle(TaleFX.java:145)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown
Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Node.fireEvent(Unknown Source)
at javafx.scene.control.Button.fire(Unknown Source)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown
Source)
at com.sun.javafx.scene.control.skin.SkinBase$5.handle(Unknown Source)
at com.sun.javafx.scene.control.skin.SkinBase$5.handle(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown
Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.notifyMouse(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)

Related

Error while trying to run Spring MVC unit tests

I was trying to execute some spring tests and is giving me an initialization error: java.lang.NoClassDefFoundError: org/springframework/core/annotation/MergedAnnotations$SearchStrategy
I reviewed other errors like this but I couldn't find any resolution to this issue.
java.lang.NoClassDefFoundError: org/springframework/core/annotation/MergedAnnotations$SearchStrategy
at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getAnnotation(SpringBootTestContextBootstrapper.java:321)
at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getClasses(SpringBootTestContextBootstrapper.java:311)
at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.resolveContextLoader(SpringBootTestContextBootstrapper.java:127)
at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:306)
at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:265)
at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:108)
at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:101)
at org.springframework.test.context.TestContextManager.<init>(TestContextManager.java:137)
at org.springframework.test.context.TestContextManager.<init>(TestContextManager.java:122)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTestContextManager(SpringJUnit4ClassRunner.java:151)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<init>(SpringJUnit4ClassRunner.java:142)
at org.springframework.test.context.junit4.SpringRunner.<init>(SpringRunner.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
at org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder$DefensiveAnnotatedBuilder.buildRunner(DefensiveAllDefaultPossibilitiesBuilder.java:114)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:70)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:37)
at org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder.runnerForClass(DefensiveAllDefaultPossibilitiesBuilder.java:57)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:70)
at org.junit.vintage.engine.discovery.ClassSelectorResolver.resolveTestClass(ClassSelectorResolver.java:66)
at org.junit.vintage.engine.discovery.ClassSelectorResolver.resolve(ClassSelectorResolver.java:47)
at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.lambda$resolve$2(EngineDiscoveryRequestResolution.java:134)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolve(EngineDiscoveryRequestResolution.java:185)
at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolve(EngineDiscoveryRequestResolution.java:125)
at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.resolveCompletely(EngineDiscoveryRequestResolution.java:91)
at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolution.run(EngineDiscoveryRequestResolution.java:82)
at org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.resolve(EngineDiscoveryRequestResolver.java:113)
at org.junit.vintage.engine.discovery.VintageDiscoverer.discover(VintageDiscoverer.java:44)
at org.junit.vintage.engine.VintageTestEngine.discover(VintageTestEngine.java:63)
at org.junit.platform.launcher.core.DefaultLauncher.discoverEngineRoot(DefaultLauncher.java:177)
at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot(DefaultLauncher.java:164)
at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:120)
at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.<init>(JUnit5TestReference.java:45)
at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.createUnfilteredTest(JUnit5TestLoader.java:76)
at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.createTest(JUnit5TestLoader.java:66)
at org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader.loadTests(JUnit5TestLoader.java:53)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:525)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)
Caused by: java.lang.ClassNotFoundException: org.springframework.core.annotation.MergedAnnotations$SearchStrategy
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 53 more

SSL/TLS for Web UI in HiveMQ

I am trying to enable ssl connection for Web UI of HiveMQ 3.4.2 on CentOS.
I have changed the config.xml file like this
<?xml version="1.0"?>
<hivemq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../hivemq-config.xsd">
...
<web-ui>
<enabled>true</enabled>
<listeners>
<https>
<port>8080</port>
<bind-address>0.0.0.0</bind-address>
<tls>
<keystore>
<path>/home/hivemq/myjks.jks</path>
<password>changeme</password>
<private-key-password>changeme</private-key-password>
</keystore>
</tls>
</https>
</listeners>
...
</web-ui>
...
</hivemq>
I'm creating self signed certificat with this line:
keytool -genkey -keyalg RSA -alias hivemq -keystore hivemq.jks -storepass changeme -validity 360 -keysize 2048
I recive an error message, if I'm trying to start HiveMQ:
2019-03-11 19:19:05,671 WARN - FAILED SslContextFactory#628bd77e(,): java.io.FileNotFoundException: /home
(Is a directory)
java.io.FileNotFoundException: /home (Is a directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.eclipse.jetty.util.resource.FileResource.getInputStream(Unknown
Source)
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.SslConnectionFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.AbstractConnector.doStart(Unknown Source)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(Unknown
Source)
at org.eclipse.jetty.server.ServerConnector.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.server.Server.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at et.a.a(Unknown Source)
at et.a.a(Unknown Source)
at com.hivemq.HiveMQServer.b(Unknown Source)
at com.hivemq.HiveMQServer.a(Unknown Source)
at com.hivemq.HiveMQServer.main(Unknown Source)
2019-03-11 19:19:05,672 WARN - FAILED SslConnectionFactory#2fafa7b5{SSL-HTTP/1.1}:
java.io.FileNotFoundException: /home (Is a directory)
java.io.FileNotFoundException: /home (Is a directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.eclipse.jetty.util.resource.FileResource.getInputStream(Unknown
Source)
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.SslConnectionFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.AbstractConnector.doStart(Unknown Source)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(Unknown
Source)
at org.eclipse.jetty.server.ServerConnector.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.server.Server.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at et.a.a(Unknown Source)
at et.a.a(Unknown Source)
at com.hivemq.HiveMQServer.b(Unknown Source)
at com.hivemq.HiveMQServer.a(Unknown Source)
at com.hivemq.HiveMQServer.main(Unknown Source)
2019-03-11 19:19:05,672 WARN - FAILED ServerConnector#181098bf{SSL-HTTP/1.1}{0.0.0.0:8443}:
java.io.FileNotFoundException: /home (Is a directory)
java.io.FileNotFoundException: /home (Is a directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.eclipse.jetty.util.resource.FileResource.getInputStream(Unknown
Source)
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.SslConnectionFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.AbstractConnector.doStart(Unknown Source)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(Unknown
Source)
at org.eclipse.jetty.server.ServerConnector.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.server.Server.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at et.a.a(Unknown Source)
at et.a.a(Unknown Source)
at com.hivemq.HiveMQServer.b(Unknown Source)
at com.hivemq.HiveMQServer.a(Unknown Source)
at com.hivemq.HiveMQServer.main(Unknown Source)
2019-03-11 19:19:05,673 WARN - FAILED org.eclipse.jetty.server.Server#632b5c79:
java.io.FileNotFoundException: /home (Is a directory)
java.io.FileNotFoundException: /home (Is a directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.eclipse.jetty.util.resource.FileResource.getInputStream(Unknown
Source)
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(Unknown
Source)
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.SslConnectionFactory.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Unknown
Source)
at org.eclipse.jetty.server.AbstractConnector.doStart(Unknown Source)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(Unknown
Source)
at org.eclipse.jetty.server.ServerConnector.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at org.eclipse.jetty.server.Server.doStart(Unknown Source)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Unknown
Source)
at et.a.a(Unknown Source)
at et.a.a(Unknown Source)
at com.hivemq.HiveMQServer.b(Unknown Source)
at com.hivemq.HiveMQServer.a(Unknown Source)
at com.hivemq.HiveMQServer.main(Unknown Source)
2019-03-11 19:19:05,673 ERROR - Not able to start Web UI: /home (Is a directory)
I don't know what is wrong. Can some one help me please.
It seems like that the configuration with the correct path was not saved before starting HiveMQ. Judging by the stack trace your config.xml contains currently only the path "/home" for the keystore.
This should be easily resolved by making sure that your correct path is saved, before starting HiveMQ.
Best regards,
Abdullah from The HiveMQ Team

Exception when using mouse scoll on sub menu items

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

JMeter 3.3 __RandomDate with no parameters throws exception in Function Helper Dialog

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

Connection pentaho to Neo4j database : Error

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

Resources