Menu

#2 Unable to connect to Oracle

2.0
closed
None
2020-01-19
2019-12-18
No

ApricotMainApp: the main app controller was instantiated: za.co.apricotdb.ui.MainAppController@426d4648

Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1787)

    at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1670)

    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)

    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)

    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)

    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)

    at javafx.event.Event.fireEvent(Event.java:198)

    at javafx.scene.Node.fireEvent(Node.java:8890)

    at javafx.scene.control.Button.fire(Button.java:203)

    at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:206)

    at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)

    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)

    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)

    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)

    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)

    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)

    at javafx.event.Event.fireEvent(Event.java:198)

    at javafx.scene.Scene$MouseHandler.process(Scene.java:3862)

    at javafx.scene.Scene.processMouseEvent(Scene.java:1849)

    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2590)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)

    at java.base/java.security.AccessController.doPrivileged(Unknown Source)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)

    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)

    at com.sun.glass.ui.View.handleMouseEvent(View.java:556)

    at com.sun.glass.ui.View.notifyMouse(View.java:942)

    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)

    at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)

   at java.base/java.lang.Thread.run(Unknown Source)

Caused by: java.lang.reflect.InvocationTargetException

    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.base/java.lang.reflect.Method.invoke(Unknown Source)

    at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:76)

    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.base/java.lang.reflect.Method.invoke(Unknown Source)

    at com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:273)

    at com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:83)

    at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1782)

    ... 46 more

Caused by: java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException

    at java.base/java.lang.Class.forName0(Native Method)

    at java.base/java.lang.Class.forName(Unknown Source)

    at oracle.net.ano.Ano.init(Unknown Source)

    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:257)

    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1452)

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:496)

    at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:666)

    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:566)

    at java.sql/java.sql.DriverManager.getConnection(Unknown Source)

    at java.sql/java.sql.DriverManager.getConnection(Unknown Source)

    at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:154)

    at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:145)

    at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:205)

    at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:169)

    at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158)

    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116)

    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)

    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)

    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)

    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:462)

    at za.co.apricotdb.ui.ConnectionSqlServerController.testConnection(ConnectionSqlServerController.java:147)

    at za.co.apricotdb.ui.ConnectionSqlServerController.testConnection(ConnectionSqlServerController.java:122)

    ... 58 more

Caused by: java.lang.ClassNotFoundException: org.ietf.jgss.GSSException

    at java.base/java.net.URLClassLoader.findClass(Unknown Source)

    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)

    at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93)

    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)

    ... 81 more

Discussion

  • Anton Nazarov

    Anton Nazarov - 2019-12-18

    The hotfix was implemented and published: apricotdb-2.0a-windows-x64.zip

     
  • Anton Nazarov

    Anton Nazarov - 2020-01-19
    • status: open --> closed
     

Log in to post a comment.