Mailingliste - Einträge 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] SUT Client Stop responding after X amount of time.


  • Subject: Re: [qftestJUI] SUT Client Stop responding after X amount of time.
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 18 Mar 2005 16:12:20 -0000

Hello Steven,

looks like your SUT has gone into a deadlock. The exception indicates
that qftest is still trying to communicate but doesn't get any
response.

Next time this happens you need to create a full thread dump and show
that to your devopers. You can also mail it to me and I'll take a
look.

As for how to get the thread dump: On Unix systems, execute

    killall -3 java

from some shell.

On windows, use the task manager to determine the process ID of the
SUT. Get the little program
http://www.latenighthacking.com/projects/2003/sendSignal/SendSignal.exe
then run

    sendsignal <pid>

where <pid> is the process ID. If in doubt, run it for all java.exe or
javaw.exe processes that task manager shows.

If all goes well you should see a lot of output appearing in
qftestJUI's terminal view. That view has limited capacity, so please
open the SUT terminal from the "Client" menu and save it's contents.

Best regards,
    Greg

P.S.: qftestJUI version 1.8 creates full thread dumps automatically on
Windows and Linux whenever a DeadlockException is thrown.

Steven Chan <steven.chan@?.com> writes:

> Hi
>    I'm using qftestJUI-1.06.2 (FreeBSD). After loading my SUT client, my
> client application will stop responding after some random time. The
> console will occasionally throw this out:
>
> <snippet>
> qftestJUI
> 1 (10:24:44.413) AWT-EventQueue-1
> de.qfs.apps.qftest.run.TestServer.updateClient Options():
> java.rmi.ConnectIOException: error during JRMP connection establishme
> nt; nested exception is:
>         java.net.SocketTimeoutException: Read timed out
> 2 (10:24:44.413) AWT-EventQueue-1
> de.qfs.apps.qftest.run.TestServer.updateClient Options():
> java.rmi.ConnectIOException: error during JRMP connection establishme
> nt; nested exception is:
>         java.net.SocketTimeoutException: Read timed out
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274 )
>         at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>         at
> de.qfs.apps.qftest.client.RemoteClientImplBase_Stub.setOptions(Remote
> ClientImplBase_Stub.java:160)
>         at
> de.qfs.apps.qftest.run.TestServer.updateClientOptions(TestServer.java :309)
>         at
> de.qfs.apps.qftest.base.command.CommandEditOptions.invoke(CommandEdit
> Options.java:151)
>         at
> de.qfs.apps.qftest.suite.command.CommandEditOptions.invoke(CommandEdi
> tOptions.java:141)
>         at
> de.qfs.lib.command.CommandDistributor.assignCommandSilently(CommandDi
> stributor.java:310)
>         at
> de.qfs.lib.command.CommandDistributor.assignCommand(CommandDistributo
> r.java:210)
>         at de.qfs.apps.qftest.suite.SuiteView
> $7.actionPerformed(SuiteView.java:1 754)
>         at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
> 86)
>         at javax.swing.AbstractButton
> $ForwardActionEvents.actionPerformed(Abstra ctButton.java:1839)
>         at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:420)
>         at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 )
>         at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
>         at
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
> 113)
>         at javax.swing.plaf.basic.BasicMenuItemUI
> $MouseInputHandler.mouseRelease d(BasicMenuItemUI.java:943)
>         at java.awt.Component.processMouseEvent(Component.java:5100)
>         at java.awt.Component.processEvent(Component.java:4897)
>         at java.awt.Container.processEvent(Container.java:1569)
>         at java.awt.Component.dispatchEventImpl(Component.java:3615)
>         at java.awt.Container.dispatchEventImpl(Container.java:1627)
>         at java.awt.Component.dispatchEvent(Component.java:3477)
>         at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483 )
>         at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
>         at
> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
>         at java.awt.Container.dispatchEventImpl(Container.java:1613)
>         at java.awt.Window.dispatchEventImpl(Window.java:1606)
>         at java.awt.Component.dispatchEvent(Component.java:3477)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
>         at de.qfs.lib.gui.EventQueue.doDispatch(EventQueue.java:656)
>         at de.qfs.lib.gui.EventQueue.dispatchEvent(EventQueue.java:569)
>         at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:201)
>         at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:151)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
>         at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
> Caused by: java.net.SocketTimeoutException: Read timed out
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:129)
>         at
> java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
>         at
> java.io.BufferedInputStream.read(BufferedInputStream.java:201)
>         at java.io.DataInputStream.readByte(DataInputStream.java:331)
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215 )
>         ... 36 more
>
> </snippet>
>
> Please advise?
>
> Regards,
> Steven
> _______________________________________________
> qftestJUI-list mailing list
> qftestJUI-list@?.de
> http://www.qfs.de/mailman/listinfo/qftestjui-list

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876


Videos Downloads Dokumentation Kaufen Gratis Testen