Solution opens to blank gray screen

Questions, answers, tips and ideas on Servoy Client

Solution opens to blank gray screen

Postby wes.s.grayson » Wed Mar 23, 2016 2:49 pm

My solution has been working fine, and this morning when users launch the smart client it opens to a blank gray screen and the solution never opens. No errors are given. I believe Java was updated overnight. Client systems are at Java 7 update 97 (1.7.0.97). I'm running Servoy 7.3.1.

thanks for any quick help you can provide!
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm

Re: Solution opens to blank gray screen

Postby wes.s.grayson » Wed Mar 23, 2016 3:23 pm

My Servoy server is running java.version=1.7.0_40. Does the server version need to be upgraded to match clients?
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm

Re: Solution opens to blank gray screen

Postby jdbruijn » Wed Mar 23, 2016 4:10 pm

Server version should not matter.
Do the clients see any error messages in the java console?
Maybe try to clear the java cache and download the client again.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Solution opens to blank gray screen

Postby wes.s.grayson » Wed Mar 23, 2016 4:28 pm

I rolled clients back to Java 1.7.0_91 and the solution opens properly again. This is a temporary fix so I still need to resolve the issue before the next update. Before doing so, I enabled Show Console and see the following error when opening on client side:

Mar 23, 2016 9:21:23 AM com.servoy.j2db.util.Debug error
SEVERE: Couldnt export object with port from server, trying to do on anonym port
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at sun.security.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
at com.sebster.tunnel.impl.cb.a(cb.java:9)
at com.sebster.tunnel.impl.bb.connect(bb.java:8)
at com.sebster.tunnel.DelegatingTunnelClient.connect(DelegatingTunnelClient.java:2)
at com.sebster.tunnel.impl.le.<init>(le.java:11)
at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider$1.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:2)
at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:11)
at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:10)
at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:301)
at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory$RmiSocketFactoryProvider.<init>(ClientTunnelRMISocketFactoryFactory.java:299)
at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.createFactoryProvider(ClientTunnelRMISocketFactoryFactory.java:253)
at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.getClientSocketFactory(ClientTunnelRMISocketFactoryFactory.java:276)
at com.servoy.j2db.smart.J2DBClient.exportObject(J2DBClient.java:3367)
at com.servoy.j2db.smart.J2DBClient.bindUserClient(J2DBClient.java:3325)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:316)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:789)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:695)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:719)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:682)
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 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(Unknown Source)
Mar 23, 2016 9:21:23 AM com.servoy.j2db.util.Debug error
SEVERE: Fatal Exception
Mar 23, 2016 9:21:23 AM com.servoy.j2db.util.Debug error
SEVERE: Throwable
java.lang.NullPointerException
at com.servoy.j2db.server.rmi.tunnel.ClientTunnelRMISocketFactoryFactory.getClientSocketFactory(ClientTunnelRMISocketFactoryFactory.java:277)
at com.servoy.j2db.smart.J2DBClient.exportObject(J2DBClient.java:3367)
at com.servoy.j2db.smart.J2DBClient.bindUserClient(J2DBClient.java:3325)
at com.servoy.j2db.ClientState.applicationServerInit(ClientState.java:316)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:789)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:695)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:719)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:682)
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 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(Unknown Source)
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm

Re: Solution opens to blank gray screen

Postby jdbruijn » Wed Mar 23, 2016 4:53 pm

Looks like a problem with your SSL settings.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Solution opens to blank gray screen

Postby Roberto Blasco » Wed Mar 23, 2016 8:26 pm

I'd the same problem when the system was updated to Java 8.

The issue ended when I turned back to Java 7. This was, in my case, because the solution was not properly digitally signed.

Also I had to configure Java Control Panel - Security the server exception (http://my-server-ip:port)
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain

Re: Solution opens to blank gray screen

Postby wes.s.grayson » Thu Mar 24, 2016 4:22 pm

I think the digital signature is likely the issue in my case. Can you point me to a good resource for figuring out how to properly sign? Is this possibly the result of plugins that are being used?
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm

Re: Solution opens to blank gray screen

Postby Roberto Blasco » Thu Mar 24, 2016 9:56 pm

Hi we.s.grayson

I think the digital signature is likely the issue in my case. Can you point me to a good resource for figuring out how to properly sign? Is this possibly the result of plugins that are being used?


In my case .... YES
The issue was caused because the plugins I devoleped were not digitally signed

In this link you will see the toturial how to fight with it ;-)

https://wiki.servoy.com/display/public/ ... 8728576B30

Hope it will be useful for you
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain

Re: Solution opens to blank gray screen

Postby wes.s.grayson » Fri Mar 25, 2016 5:55 pm

thanks, I removed all plugins and still get the same problem. Going in to Network Settings on the server and unchecking "Use SSL" solves the problem for now. This particular solution is on an internal network only and does not have a need for secure transactions or encrypted communication. Do you see any reason to continue fighting the certificate battle?
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm

Re: Solution opens to blank gray screen

Postby Roberto Blasco » Fri Mar 25, 2016 9:56 pm

Hi we.s.grayson

In my opinion, it is strongly recommended to digitally sign your plugins.

As far as I know, without do it, you will not be able to run yout solutions in clients with Java 8 or higher (strong security restricted).

If you follow the totorial I told you, it's very easy to create your own CA (self signed) and install it in your clients to prevent any kind of security problems with Java.

Best regards. Roberto Blasco
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 12 guests