|
|
|
|
|
Re: StackOverflowError in GEF 3.1M6 [message #182403 is a reply to message #182395] |
Tue, 24 May 2005 21:16 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Did you check the .log file in your workspace?
"Felix L J Mayer" <felix.mayer@objectaid.com> wrote in message
news:d704n1$sc9$1@news.eclipse.org...
> The only stack trace I have is the one at the beginning of the thread. I
> wasn't able to one for the StackOverflowError itself, even when I
> debugged. I guess in can try debugging again, but I don't know anything
> much about SWT.
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:d6tedb$m12$1@news.eclipse.org...
>> Asyncs are not in a separate thread. Everything is running on the UI
>> thread.
>> Do you have the stack trace?
>>
>
>
|
|
|
|
|
|
Re: StackOverflowError in GEF 3.1M6 [message #182590 is a reply to message #181977] |
Wed, 25 May 2005 23:06 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Is it possible that you are getting this exception during native DND? I
think that SWT may post DND errors using an asyncexec, which is what your
stack trace suggests.
If this is the case, SWT should report more information. You could look for
references to SWT.error within SWT's DropTarget class.
"Felix L J Mayer" <felix.mayer@objectaid.com> wrote in message
news:d6lh2q$kvj$1@news.eclipse.org...
>I am trying to run an Eclipse GEF-based plugin under Eclipse 3.1M6 with GEF
>3.1M6.
> For many but not all operations (dragging a node, drawing a specialized
> anchor) I get a StackOverflowError.
> The plugin did not have this problem with Eclipse 2.1, and I haven't
> tested it with 3.0.
>
> What is the cause of this problem?
> Did something major change in GEF that I don't know about?
> I tried to debug the problem, but didn't get anywhere.
>
> Thanks, Felix
>
>
> !ENTRY org.eclipse.ui 4 0 2005-05-16 15:59:30.769
> !MESSAGE Failed to execute runnable (java.lang.StackOverflowError)
> !STACK 0
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.StackOverflowError)
> at org.eclipse.swt.SWT.error(SWT.java:2860)
> at org.eclipse.swt.SWT.error(SWT.java:2783)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:121)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2871)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2530)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1570)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:306)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:344)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:156)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
> at org.eclipse.core.launcher.Main.run(Main.java:942)
> at org.eclipse.core.launcher.Main.main(Main.java:926)
> Caused by: java.lang.StackOverflowError
>
>
|
|
|
Re: StackOverflowError in GEF 3.1M6 [message #182743 is a reply to message #182590] |
Thu, 26 May 2005 23:00 |
Felix L J Mayer Messages: 202 Registered: July 2009 |
Senior Member |
|
|
I found two ways to produce the exception:
1. When my diagram is drawn initially, a certain type of connection seems to
cause it. I removed all special drawing from that connection, it didn't make
a difference.
2. When I try to move a node in the diagram.
I don't think moving a node would be native DND, so the answer to your
question would be no.
"Randy Hudson" <none@us.ibm.com> wrote in message
news:d730jm$875$1@news.eclipse.org...
> Is it possible that you are getting this exception during native DND? I
> think that SWT may post DND errors using an asyncexec, which is what your
> stack trace suggests.
>
> If this is the case, SWT should report more information. You could look
> for references to SWT.error within SWT's DropTarget class.
>
> "Felix L J Mayer" <felix.mayer@objectaid.com> wrote in message
> news:d6lh2q$kvj$1@news.eclipse.org...
>>I am trying to run an Eclipse GEF-based plugin under Eclipse 3.1M6 with
>>GEF 3.1M6.
>> For many but not all operations (dragging a node, drawing a specialized
>> anchor) I get a StackOverflowError.
>> The plugin did not have this problem with Eclipse 2.1, and I haven't
>> tested it with 3.0.
>>
>> What is the cause of this problem?
>> Did something major change in GEF that I don't know about?
>> I tried to debug the problem, but didn't get anywhere.
>>
>> Thanks, Felix
>>
>>
>> !ENTRY org.eclipse.ui 4 0 2005-05-16 15:59:30.769
>> !MESSAGE Failed to execute runnable (java.lang.StackOverflowError)
>> !STACK 0
>> org.eclipse.swt.SWTException: Failed to execute runnable
>> (java.lang.StackOverflowError)
>> at org.eclipse.swt.SWT.error(SWT.java:2860)
>> at org.eclipse.swt.SWT.error(SWT.java:2783)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:121)
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2871)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2530)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1570)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:306)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
>> at
>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:344)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:156)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
>> at org.eclipse.core.launcher.Main.run(Main.java:942)
>> at org.eclipse.core.launcher.Main.main(Main.java:926)
>> Caused by: java.lang.StackOverflowError
>>
>>
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05044 seconds