From: Gary J. <gjo...@us...> - 2008-12-05 15:07:10
|
<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div><font style="font-family: Default Sans Serif,Verdana,Arial,Helvetica,sans-serif;" size="2">Hi, </font><font style="font-family: Default Sans Serif,Verdana,Arial,Helvetica,sans-serif;" face="Courier New,Courier,monospace" size="2">Luchesar,</font><font style="font-family: Default Sans Serif,Verdana,Arial,Helvetica,sans-serif;" size="2"><br></font><font style="font-family: Default Sans Serif,Verdana,Arial,Helvetica,sans-serif;" face="Courier New,Courier,monospace" size="2">It looks like you are getting bitten by SWT bug </font><font style="font-family: Default Sans Serif,Verdana,Arial,Helvetica,sans-serif;" size="2"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=204333">204333</a>.<br>I've spent a lot of time trying to work around this problem, but so far no dice.</font><br><span style="font-family: Default Sans Serif,Verdana,Arial,Helvetica,sans-serif;">Regards,</span><br></div><div><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Gary</font><br><div><br></div><font color="#990099">-----"SourceForge.net" <no...@so...> wrote: -----<br><br></font><blockquote style="border-left: 2px solid #000000; padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To: no...@so...<br>From: "SourceForge.net" <no...@so...><br>Date: 2008.12.05 4:56 AM<br>Subject: [abbot-users] [abbot - Help] App freeze during abbot swt drag and drop<br><br><font face="Courier New,Courier,monospace" size="3"><br>Read and respond to this message at: <br><a href="https://sourceforge.net/forum/message.php?msg_id=5760956">https://sourceforge.net/forum/message.php?msg_id=5760956</a><br>By: lcekov<br><br>Hi<br><br>I recently found abbot and abbot.swt and I find them extremely useful for writing<br>unit tests for visual applications. I am using abbot.swt to test my eclipse<br>RCP application.<br><br>When Drag and drop is performed the application will eventual stuck on method:<br>tester.dragDrop(centerButton.x, centerButton.y, centerCanvas.x, centerCanvas.y,<br> SWT.BUTTON1);<br>The entire application screen freezes just before the drag operation is started.<br>If drag operation start it may block entire screen and force me to restart the<br>XServer session. Sometimes the drag and drop operation is performed properly<br>but these are rare occasions.<br><br>I also tried <br>tester.actionDragDrop(centerButton.x, centerButton.y, centerCanvas.x,<br>centerCanvas.y,<br> SWT.BUTTON1);<br>But there is no difference. The application still freezes most of the times<br>on the drag and drop operation.<br><br>Is there anything I am doing wrong or this is bug in abbot or eclipse?<br>Below is part of the java thread dump related to the problem method where JVM<br>is freeze:<br><br>"abbot.swt.user" daemon prio=10 tid=0x00002aaaf8863c00 nid=0x6a45 in Object.wait()<br>[0x0000000043042000..0x0000000043043d80]<br> java.lang.Thread.State: WAITING (on object monitor)<br><span> </span> at java.lang.Object.wait(Native Method)<br><span> </span> - waiting on <0x00002aaab49238d8> (a org.eclipse.swt.internal.Lock)<br><span> </span> at java.lang.Object.wait(Object.java:485)<br><span> </span> at org.eclipse.swt.internal.Lock.lock(Lock.java:34)<br><span> </span> - locked <0x00002aaab49238d8> (a org.eclipse.swt.internal.Lock)<br><span> </span> at org.eclipse.swt.internal.gtk.OS.GDK_DISPLAY(OS.java:1089)<br><span> </span> at org.eclipse.swt.widgets.Display.post(Display.java:2904)<br><span> </span> - locked <0x00002aaaaf694498> (a java.lang.Class for<br>org.eclipse.swt.graphics.Device)<br><span> </span> at abbot.swt.Robot.post(Robot.java:847)<br><span> </span> at abbot.swt.Robot.postMouseMove(Robot.java:783)<br><span> </span> at abbot.swt.Robot.mouseMovePrim(Robot.java:415)<br><span> </span> at abbot.swt.Robot.mouseDragDrop(Robot.java:393)<br><span> </span> - locked <0x00002aaaee65c808> (a abbot.swt.Robot)<br><span> </span> at abbot.swt.tester.AbstractTester.dragDrop(AbstractTester.java:872)<br><span> </span> at com.ontologypartners.modeller.test.EditorWidgetTest.testDNDFromThePallet(Edi<br>torWidgetTest.java:234)<br><span> </span> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br><span> </span> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39<br>)<br><span> </span> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl<br>.java:25)<br><span> </span> at java.lang.reflect.Method.invoke(Method.java:597)<br><span> </span> at junit.framework.TestCase.runTest(TestCase.java:164)<br><span> </span> at junit.framework.TestCase.runBare(TestCase.java:130)<br><span> </span> at abbot.swt.junit.extensions.SWTTestCase.runBareWrapper(SWTTestCase.java:278)<br><span> </span> at abbot.swt.junit.extensions.SWTTestCase.access$2(SWTTestCase.java:275)<br><span> </span> at abbot.swt.junit.extensions.SWTTestCase$4.execute(SWTTestCase.java:252)<br><span> </span> at abbot.swt.junit.extensions.UserThread.run(UserThread.java:75)<br><br>I can send you the entire stack trace if it is needed.<br><br>Thanks in advance,<br>Best regards,<br>Luchesar<br><br><br>______________________________________________________________________<br>You are receiving this email because you elected to monitor this forum.<br>To stop monitoring this forum, login to SourceForge.net and visit: <br><a href="https://sourceforge.net/forum/unmonitor.php?forum_id=168262">https://sourceforge.net/forum/unmonitor.php?forum_id=168262</a><br><br>------------------------------------------------------------------------------<br>SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.<br>The future of the web can't happen without you. Join us at MIX09 to help<br>pave the way to the Next Web now. Learn more and register at<br><a href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><br>_______________________________________________<br>abbot-users mailing list<br>abb...@li...<br><a href="https://lists.sourceforge.net/lists/listinfo/abbot-users">https://lists.sourceforge.net/lists/listinfo/abbot-users</a><br></font> </blockquote><br></div></FONT> |