Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » <<queueing rwt runnable into rwt thread:>>( from org.eclipse.scout.rt.ui.rap.concurrency.RwtScoutSynchronizer)
<<queueing rwt runnable into rwt thread:>> [message #1038353] Wed, 10 April 2013 19:23 Go to next message
Boy D'Poy is currently offline Boy D'PoyFriend
Messages: 56
Registered: October 2011
Member
Previously, I got this message as a warning and as any bad programmer, I did not mind it until he turns into pure error Mad

I'd now know what mistakes should I not make, in other words, what are the best practices to follow in order to avoid this kind of issues?

Thanks!


Here is an example of stacktrace:

!ENTRY <none> 4 0 2013-04-10 21:18:47.437
!MESSAGE queueing rwt runnable from outside scout thread: org.eclipse.scout.rt.ui.rap.basic.tree.RwtScoutTree$P_ScoutTreeListener$2@1323b94a
!STACK 0
java.lang.IllegalStateException: queueing rwt runnable from outside scout thread: org.eclipse.scout.rt.ui.rap.basic.tree.RwtScoutTree$P_ScoutTreeListener$2@1323b94a
	at org.eclipse.scout.rt.ui.rap.concurrency.RwtScoutSynchronizer.invokeUiLater(RwtScoutSynchronizer.java:95)
	at org.eclipse.scout.rt.ui.rap.AbstractRwtEnvironment.invokeUiLater(AbstractRwtEnvironment.java:1279)
	at org.eclipse.scout.rt.ui.rap.basic.tree.RwtScoutTree$P_ScoutTreeListener.treeChangedBatch(RwtScoutTree.java:678)
	at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.fireTreeEventBatchInternal(AbstractTree.java:2195)
	at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.processChangeBuffer(AbstractTree.java:2282)
	at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.setTreeChanging(AbstractTree.java:866)
	at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.updateChildNodes(AbstractTree.java:1304)
	at org.eclipse.scout.rt.client.ui.desktop.outline.OutlineMediator.mediateTableRowsUpdated(OutlineMediator.java:130)
	at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable$P_TableListener.tableChanged(AbstractPageWithTable.java:949)
	at org.eclipse.scout.rt.client.ui.basic.table.TableAdapter.tableChangedBatch(TableAdapter.java:22)
	at org.eclipse.scout.rt.client.ui.basic.table.AbstractTable.fireTableEventBatchInternal(AbstractTable.java:3951)
	at org.eclipse.scout.rt.client.ui.basic.table.AbstractTable.processEventBuffer(AbstractTable.java:3345)
	at org.eclipse.scout.rt.client.ui.basic.table.AbstractTable.setTableChanging(AbstractTable.java:1405)
	at org.eclipse.scout.rt.client.ui.basic.table.AbstractTable.updateRows(AbstractTable.java:1931)
	at org.eclipse.scout.rt.client.ui.basic.table.AbstractTable.updateRow(AbstractTable.java:1870)
	at org.eclipse.scout.rt.client.ui.basic.table.internal.InternalTableRow.setRowChanging(InternalTableRow.java:309)
	at org.eclipse.scout.rt.client.ui.basic.table.internal.InternalTableRow.cellChanged(InternalTableRow.java:518)
	at org.eclipse.scout.rt.client.ui.basic.cell.Cell.setValue(Cell.java:108)
	at org.eclipse.scout.rt.client.ui.basic.table.internal.InternalTableRow.setCellValue(InternalTableRow.java:327)
	at org.eclipse.scout.rt.client.ui.basic.table.columns.AbstractColumn.setValue(AbstractColumn.java:863)

...



Once You Go Scout, You Never Come Out!
Re: <<queueing rwt runnable into rwt thread:>> [message #1039512 is a reply to message #1038353] Fri, 12 April 2013 08:47 Go to previous message
Boy D'Poy is currently offline Boy D'PoyFriend
Messages: 56
Registered: October 2011
Member
please kindly ignore this post, it was just a mistake in my code.
thanks.


Once You Go Scout, You Never Come Out!
Previous Topic:Gerrit for Eclipse Scout
Next Topic:Coding Guidline: Assert static import or not
Goto Forum:
  


Current Time: Mon Dec 22 00:04:52 GMT 2014

Powered by FUDForum. Page generated in 0.01570 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software