Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » StackOverflow error in tree viewer
StackOverflow error in tree viewer [message #436851] Tue, 25 May 2004 21:41 Go to next message
Phil Williams is currently offline Phil WilliamsFriend
Messages: 22
Registered: July 2009
Junior Member
I have a tree view that is displaying messages received from a server
that my Eclipse application is talking to. At times there can be quite
a number (>1000) messages revceived within a few minutes. At times, my
users have gotten stack overflow errors. These seem to be quite random
and I can not find a pattern other than the trace that is generated is
the same. The top of the traceback is:

!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 May 25, 2004 13:30:28.52
!MESSAGE java.lang.StackOverflowError
!STACK 0
java.lang.StackOverflowError
at
org.eclipse.jface.viewers.AbstractTreeViewer.doFindInputItem (AbstractTreeViewer.java:357)
at
org.eclipse.jface.viewers.StructuredViewer.findItem(Structur edViewer.java:350)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeViewer.java:798)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeViewer.java:810)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeViewer.java:810)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeViewer.java:810)

The communication is happening in another thread and the view gets the
updates via a property change event being fired. The fireProperty
method is using Display.asyncExec() to notify all the listeners for the
property change.

I am at a loss as to what could be causing this. Any help would be
greatly appreciated.

Thanks,
Phil
Re: StackOverflow error in tree viewer [message #436945 is a reply to message #436851] Wed, 26 May 2004 13:56 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Enter a problem report with the stack. Thanks.

"Phil Williams" <phil.williams@toadmail.com> wrote in message
news:c90e4d$s5h$1@eclipse.org...
> I have a tree view that is displaying messages received from a server
> that my Eclipse application is talking to. At times there can be quite
> a number (>1000) messages revceived within a few minutes. At times, my
> users have gotten stack overflow errors. These seem to be quite random
> and I can not find a pattern other than the trace that is generated is
> the same. The top of the traceback is:
>
> !MESSAGE Unhandled exception caught in event loop.
> !ENTRY org.eclipse.ui 4 0 May 25, 2004 13:30:28.52
> !MESSAGE java.lang.StackOverflowError
> !STACK 0
> java.lang.StackOverflowError
> at
>
org.eclipse.jface.viewers.AbstractTreeViewer.doFindInputItem (AbstractTreeVie
wer.java:357)
> at
>
org.eclipse.jface.viewers.StructuredViewer.findItem(Structur edViewer.java:35
0)
> at
>
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeView
er.java:798)
> at
>
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeView
er.java:810)
> at
>
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeView
er.java:810)
> at
>
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand( AbstractTreeView
er.java:810)
>
> The communication is happening in another thread and the view gets the
> updates via a property change event being fired. The fireProperty
> method is using Display.asyncExec() to notify all the listeners for the
> property change.
>
> I am at a loss as to what could be causing this. Any help would be
> greatly appreciated.
>
> Thanks,
> Phil
Previous Topic:Flood fill
Next Topic:Cursor position in a Text Widget being re-set
Goto Forum:
  


Current Time: Thu Apr 25 08:34:15 GMT 2024

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

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

Back to the top