Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » TreeViewer RuntimeException: Ignored reentrant call while viewer is busy.
TreeViewer RuntimeException: Ignored reentrant call while viewer is busy. [message #832561] Fri, 30 March 2012 09:30 Go to next message
Oliver Pfau is currently offline Oliver PfauFriend
Messages: 9
Registered: November 2011
Junior Member
Hi,

my TreeViewer is refreshed automatically in a thread and also in another thread if the user expands a node. I think the threads are synchronized correctly so far, but if I use ITreeListener on TreeViewer I get a RuntimeException after some time:

!MESSAGE Ignored reentrant call while viewer is busy. This is only logged once per viewer instance, but similar calls will still be ignored.
!STACK 0
java.lang.RuntimeException
at org.eclipse.jface.viewers.ColumnViewer.checkBusy(ColumnViewer.java:763)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:541)
...

This happens even if the automatic refresh thread is deactivated. Sometime on refresh or expand.

I do not know how to solve it want to ask if this will affect the TreeViewer correctness?

If I use a TreeListener on Tree, it seems that this is not checked and I do not get a RuntimeException.

Regards,
Oliver
Re: TreeViewer RuntimeException: Ignored reentrant call while viewer is busy. [message #876258 is a reply to message #832561] Thu, 24 May 2012 08:50 Go to previous messageGo to next message
kavitha Mising name is currently offline kavitha Mising nameFriend
Messages: 9
Registered: March 2011
Junior Member
Is there any solution for this. Even I am facing the same problem

Re: TreeViewer RuntimeException: Ignored reentrant call while viewer is busy. [message #885560 is a reply to message #876258] Wed, 13 June 2012 08:52 Go to previous message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Well it's hard to say without any code, but sometimes it helps to call the refresh in asyncExec even if the calling thread is the UI thread.
Previous Topic:[Databinding] Is this a good Master-Details-Binding pattern for my use case?
Next Topic:How to implement AbstractInformationControl
Goto Forum:
  


Current Time: Tue Mar 19 05:27:50 GMT 2024

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

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

Back to the top