Error flushing message buffer to client..

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Error flushing message buffer to client..

Postby satya.sahu » Mon Jan 08, 2018 1:59 pm

Hi
My solution is running with Servoy version 7.4.3 -releaseNumber 2036 on MAC.
I got the below error on servoy admin(basically while doing any flush)
Code: Select all
om.servoy.j2db.server.dataprocessing.Zb    Error flushing message buffer to client 99E2D92A-7EC1-41B5-984E-8D5EEF13B001        
java.lang.NullPointerException
     at com.servoy.j2db.ClientStub.closeSolution(ClientStub.java:89)
     at com.servoy.j2db.server.dataprocessing.ClientProxy.Zc(ClientProxy.java:118)
     at com.servoy.j2db.server.dataprocessing.Zo.run(Zo.java:18)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
     at java.lang.Thread.run(Thread.java:748)


Kindly share any solution.
Thanks
Satya
satya.sahu
 
Posts: 33
Joined: Thu Aug 29, 2013 4:59 pm
Location: India

Re: Error flushing message buffer to client..

Postby LXS » Wed Jan 10, 2018 11:50 am

I see similar messages in the servoy admin log:

Error flushing message buffer to client XXXXXX

java.rmi.ConnectException: Connection refused to host: 192.168.1.1; nested exception is:
java.net.ConnectException: no multiplexer found for server with id=YYYYYYYYYY
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
at com.sun.proxy.$Proxy24.notifyDataChange(Unknown Source)
at com.servoy.j2db.server.dataprocessing.ClientProxy.Zc(ClientProxy.java:73)
at com.servoy.j2db.server.dataprocessing.Zo.run(Zo.java:13)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: no multiplexer found for server with id=YYYYYYYYYY
at com.sebster.tunnel.impl.hd.createSocket(hd.java:12)
at com.servoy.j2db.server.rmi.tunnel.WrappingCompressingRMIClientSocketFactory.createSocket(WrappingCompressingRMIClientSocketFactory.java:28)
... 12 more


multiplexer failed for client c2777f89-947b-4327-948d-b08c2075e4b1

java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at com.sebster.tunnel.impl.xd.e(xd.java:39)
at com.sebster.tunnel.impl.lc.run(lc.java:18)
at java.lang.Thread.run(Unknown Source)
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 116
Joined: Thu Mar 01, 2007 12:00 am

Re: Error flushing message buffer to client..

Postby satya.sahu » Thu Jan 11, 2018 7:37 am

Hi
Is there any solution of this issue? Please help.

Thanks
Satya
satya.sahu
 
Posts: 33
Joined: Thu Aug 29, 2013 4:59 pm
Location: India

Re: Error flushing message buffer to client..

Postby jcompagner » Wed Jan 17, 2018 2:16 pm

they are really not simular

the null pointer exception should be fixed in later releases that code has checks and other improvements around that area.


the connection refused/timeouts are really network problems, the server can't reach the client anymore, it will try to get to it a few times and then clean it up.
There is no solution from servoy side, except ignoring those exceptions. Or trying to look if there are network problems in the middle
But this can also happen for example if a laptop has a smart client open and then closes the lid (let it go into suspend)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8111
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 12 guests