Messages to clients failing

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Messages to clients failing

Postby david.pearce » Thu Mar 13, 2014 12:30 pm

Hi,

I am finding that when i try to send a message to all users on our system, it has stopped working.

the server log is filled with a message for each client attached:

Code: Select all
2014-03-13 10:28    pool-2-thread-155110    ERROR    com.servoy.j2db.dataprocessing.Zb    Error flushing message buffer to client D364FF77-6941-415E-96A7-EC373BE1D822        
java.lang.NullPointerException
     at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1011)
     at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1007)
     at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1002)
     at java.awt.Toolkit.getEventQueue(Toolkit.java:1730)
     at java.awt.EventQueue.invokeLater(EventQueue.java:1217)
     at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1288)
     at com.servoy.j2db.smart.J2DBClient.invokeLater(J2DBClient.java:3957)
     at com.servoy.j2db.ClientStub.alert(ClientStub.java:47)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
     at sun.rmi.transport.Transport$1.run(Transport.java:177)
     at sun.rmi.transport.Transport$1.run(Transport.java:174)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:744)
     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
     at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
     at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
     at sun.proxy.$Proxy15.alert(Unknown Source)
     at com.servoy.j2db.dataprocessing.ClientProxy.Zc(ClientProxy.java:42)
     at com.servoy.j2db.dataprocessing.Zo.run(Zo.java:11)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:679)


it seams to occur quite frequently.

any clues what might be the causes?

David
david.pearce
 
Posts: 36
Joined: Thu Jan 31, 2013 11:21 am

Re: Messages to clients failing

Postby jcompagner » Thu Mar 20, 2014 10:52 am

this is a bug in java, we already have a patch or that in the latest releases of us. What Servoy version is this?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8884
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Messages to clients failing

Postby david.pearce » Thu Mar 20, 2014 11:12 am

Servoy 6.0.9.
Java 1.6 24

Maybe it's fixed in 10
david.pearce
 
Posts: 36
Joined: Thu Jan 31, 2013 11:21 am


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 5 guests