Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Ignored reentrant call while viewer is busy
Ignored reentrant call while viewer is busy [message #333745] Wed, 31 December 2008 12:14 Go to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
I'm observing some strange behaviour in my RCP app.
Is this warning meaningful, i.e. does it represent a programming error
when using the TableViewer?:

Ignored reentrant call while viewer is busy. This is only logged once per
viewer instance, but similar calls will still be ignored.
java.lang.RuntimeException
at org.eclipse.jface.viewers.ColumnViewer.checkBusy(ColumnViewe r.java:763)
at
org.eclipse.jface.viewers.AbstractTableViewer.replace(Abstra ctTableViewer.java:1040)
at
com.jobisjob.grid.cached.CachedContentProvider.updateElement (CachedContentProvider.java:154)
at
org.eclipse.jface.viewers.AbstractTableViewer$1.handleEvent( AbstractTableViewer.java:78)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Table.checkData(Table.java:928)
at org.eclipse.swt.widgets.Table.checkData(Table.java:917)
at org.eclipse.swt.widgets.TableItem.getImage(TableItem.java:55 0)
at
org.eclipse.jface.viewers.TableViewerRow.setImage(TableViewe rRow.java:132)
at org.eclipse.jface.viewers.ViewerCell.setImage(ViewerCell.jav a:170)
at
org.eclipse.jface.viewers.TableColumnViewerLabelProvider.upd ate(TableColumnViewerLabelProvider.java:71)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn. java:145)
at
org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(A bstractTableViewer.java:386)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRun nable.run(StructuredViewer.java:466)
at org.eclipse.jface.util.SafeRunnable$1.run(SafeRunnable.java: 128)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at
org.eclipse.jface.viewers.StructuredViewer.refreshItem(Struc turedViewer.java:1476)
at
org.eclipse.jface.viewers.AbstractTableViewer.replace(Abstra ctTableViewer.java:1043)
at
com.jobisjob.grid.cached.CachedContentProvider.updateElement (CachedContentProvider.java:179)
at
org.eclipse.jface.viewers.AbstractTableViewer$1.handleEvent( AbstractTableViewer.java:78)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Table.checkData(Table.java:928)
at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:6292)
at org.eclipse.swt.widgets.PagedTable.wmNotifyChild(PagedTable. java:144)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1565)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:333)
at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:199)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Table.windowProc(Table.java:5476)
at org.eclipse.swt.widgets.TableEx.windowProc(TableEx.java:34)
at org.eclipse.swt.widgets.PagedTable.windowProc(PagedTable.jav a:131)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.j ava:1378)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1764)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1150)
at
com.jobisjob.grid.cached.test.CachedTableViewerDemo.main(Cac hedTableViewerDemo.java:105)


Thanks in advance for any tip.
Re: Ignored reentrant call while viewer is busy [message #333754 is a reply to message #333745] Fri, 02 January 2009 11:50 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Yes - it looks like you are modifying the table while you are modifying
it :-) so it looks like you are doing something illegal.

Tom

David Pérez schrieb:
> I'm observing some strange behaviour in my RCP app.
> Is this warning meaningful, i.e. does it represent a programming error
> when using the TableViewer?:
>
> Ignored reentrant call while viewer is busy. This is only logged once
> per viewer instance, but similar calls will still be ignored.
> java.lang.RuntimeException
> at
> org.eclipse.jface.viewers.ColumnViewer.checkBusy(ColumnViewe r.java:763)
> at
> org.eclipse.jface.viewers.AbstractTableViewer.replace(Abstra ctTableViewer.java:1040)
>
> at
> com.jobisjob.grid.cached.CachedContentProvider.updateElement (CachedContentProvider.java:154)
>
> at
> org.eclipse.jface.viewers.AbstractTableViewer$1.handleEvent( AbstractTableViewer.java:78)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
> at org.eclipse.swt.widgets.Table.checkData(Table.java:928)
> at org.eclipse.swt.widgets.Table.checkData(Table.java:917)
> at org.eclipse.swt.widgets.TableItem.getImage(TableItem.java:55 0)
> at
> org.eclipse.jface.viewers.TableViewerRow.setImage(TableViewe rRow.java:132)
> at org.eclipse.jface.viewers.ViewerCell.setImage(ViewerCell.jav a:170)
> at
> org.eclipse.jface.viewers.TableColumnViewerLabelProvider.upd ate(TableColumnViewerLabelProvider.java:71)
>
> at
> org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn. java:145)
> at
> org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(A bstractTableViewer.java:386)
>
> at
> org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRun nable.run(StructuredViewer.java:466)
>
> at org.eclipse.jface.util.SafeRunnable$1.run(SafeRunnable.java: 128)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
> at
> org.eclipse.jface.viewers.StructuredViewer.refreshItem(Struc turedViewer.java:1476)
>
> at
> org.eclipse.jface.viewers.AbstractTableViewer.replace(Abstra ctTableViewer.java:1043)
>
> at
> com.jobisjob.grid.cached.CachedContentProvider.updateElement (CachedContentProvider.java:179)
>
> at
> org.eclipse.jface.viewers.AbstractTableViewer$1.handleEvent( AbstractTableViewer.java:78)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
> at org.eclipse.swt.widgets.Table.checkData(Table.java:928)
> at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:6292)
> at
> org.eclipse.swt.widgets.PagedTable.wmNotifyChild(PagedTable. java:144)
> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718)
> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 56)
> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841 )
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
> at
> org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1565)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 3)
> at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:333)
> at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:199)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
> at org.eclipse.swt.widgets.Table.windowProc(Table.java:5476)
> at org.eclipse.swt.widgets.TableEx.windowProc(TableEx.java:34)
> at org.eclipse.swt.widgets.PagedTable.windowProc(PagedTable.jav a:131)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
> at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
> at
> org.eclipse.swt.widgets.Decorations.setVisible(Decorations.j ava:1378)
> at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1764)
> at org.eclipse.swt.widgets.Shell.open(Shell.java:1150)
> at
> com.jobisjob.grid.cached.test.CachedTableViewerDemo.main(Cac hedTableViewerDemo.java:105)
>
>
>
> Thanks in advance for any tip.
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:problem in --> IFile org.eclipse.core.resources.IProject.getFile(String name)
Next Topic:Enable/Disable "foreign" command
Goto Forum:
  


Current Time: Thu Nov 07 06:01:35 GMT 2024

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

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

Back to the top