Defect #1479
When using the plugin in the smart-client the smart-client's on MacOSX can't start. " Can not connect to server data service"
0%
Description
When using the plugin in the smart-client the smart-client's on MacOSX can't start. " Can not connect to server data service" On Windows there are no problems.
After removing the google folder and the google2.jar and google2.jnlp the system start's up on MacosX with no problems.
Plugin version 1.3.3
Servoy version 7.4.8 -releaseNumber 2046
Java version:Using JRE version 1.8.0_191-b12
Network settings are these: https://screencast.com/t/rhkrjVuX
Error in the Java console:
SEVERE: Error getting the service servoy.IApplicationServer from host server.stb.nl:1075
java.lang.NullPointerException
at com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1891)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1872)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:317)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:786)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:692)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:716)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:679)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.servoy.bootstrapper.Bootstrap.main(Bootstrap.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
jan 04, 2019 1:32:27 PM com.servoy.j2db.util.Debug error
SEVERE: Kan geen verbinding maken met dataservice op server
java.lang.NullPointerException
at com.servoy.j2db.smart.J2DBClient.connectApplicationServer(J2DBClient.java:1891)
at com.servoy.j2db.smart.J2DBClient.startApplicationServerConnection(J2DBClient.java:1872)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:317)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:786)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:692)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:716)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:679)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.servoy.bootstrapper.Bootstrap.main(Bootstrap.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
When pressing Ok
This in the java console:
jan 04, 2019 2:18:35 PM com.servoy.j2db.util.Debug error
SEVERE: Couldnt export object with port from server, trying to do on anonym port
jan 04, 2019 2:18:35 PM com.servoy.j2db.util.Debug error
SEVERE: Fatal Exception
jan 04, 2019 2:18:35 PM com.servoy.j2db.util.Debug error
SEVERE: Throwable
java.lang.NullPointerException
at com.servoy.j2db.smart.J2DBClient.exportObject(J2DBClient.java:3403)
at com.servoy.j2db.smart.J2DBClient.bindUserClient(J2DBClient.java:3361)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:318)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:786)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:692)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:716)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:679)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.servoy.bootstrapper.Bootstrap.main(Bootstrap.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
History
Updated by Mark Voorboom about 6 years ago
Issue solved, similiar issue -> https://support.servoy.com/browse/SVY-11634