Event loop exception usually caused by what reason? [message #156230] |
Mon, 01 November 2004 00:12 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: hitdemo2002.yahoo.com.cn
when i draged a model from palette to viewer,it was show a error dialog:
=================================
Unhandled event loop exception
Reason:
java.lang.NullPointerException?
=================================
but i could't confirm where to locate errors,use eclipse debug logic to me
is difficult.event loop exception usually caused by what reason?
|
|
|
Re: Event loop exception usually caused by what reason? [message #156239 is a reply to message #156230] |
Mon, 01 November 2004 02:57 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: hitdemo2002.yahoo.com.cn
error log is:
============================================================ =============
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.gef.internal.ui.properties.PropertySheetEntry.co mputePropertyDescriptorsFor(PropertySheetEntry.java:213)
at
org.eclipse.gef.internal.ui.properties.PropertySheetEntry.co mputeMergedPropertyDescriptors(PropertySheetEntry.java:170)
at
org.eclipse.gef.internal.ui.properties.PropertySheetEntry.re freshChildEntries(PropertySheetEntry.java:472)
at
org.eclipse.gef.internal.ui.properties.PropertySheetEntry.se tValues(PropertySheetEntry.java:668)
at
org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:805)
at
org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:370)
at
org.eclipse.ui.views.properties.PropertySheet.selectionChang ed(PropertySheet.java:185)
at
org.eclipse.ui.internal.AbstractSelectionService$3.run(Abstr actSelectionService.java:153)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(AbstractSelectionService.java:151)
at
org.eclipse.ui.internal.AbstractSelectionService$1.selection Changed(AbstractSelectionService.java:66)
at
org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectio nChanged(AbstractEditPartViewer.java:240)
at
org.eclipse.gef.ui.parts.AbstractEditPartViewer.appendSelect ion(AbstractEditPartViewer.java:171)
at
org.eclipse.gef.ui.parts.AbstractEditPartViewer.select(Abstr actEditPartViewer.java:562)
at
org.eclipse.gef.tools.SelectEditPartTracker.performSelection (SelectEditPartTracker.java:209)
at
org.eclipse.gef.tools.SelectEditPartTracker.performCondition alSelection(SelectEditPartTracker.java:155)
at
org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown (SelectEditPartTracker.java:89)
at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.ja va:977)
at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool. java:490)
at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:201)
at
org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Pressed(DomainEventDispatcher.java:327)
at
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown( LightweightSystem.java:503)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:132)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.ui 4 4 十一月 01, 2004 10:50:14.609
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 十一月 01, 2004 10:50:14.609
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.gef.tools.ToolUtilities.getSelectionWithoutDepen dants(ToolUtilities.java:35)
at
org.eclipse.gef.tools.DragEditPartsTracker.createOperationSe t(DragEditPartsTracker.java:166)
at
org.eclipse.gef.tools.AbstractTool.getOperationSet(AbstractT ool.java:586)
at
org.eclipse.gef.tools.DragEditPartsTracker.captureSourceDime nsions(DragEditPartsTracker.java:124)
at
org.eclipse.gef.tools.DragEditPartsTracker.setState(DragEdit PartsTracker.java:542)
at
org.eclipse.gef.tools.AbstractTool.stateTransition(AbstractT ool.java:1257)
at
org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown (SelectEditPartTracker.java:97)
at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.ja va:977)
at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool. java:490)
at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:201)
at
org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Pressed(DomainEventDispatcher.java:327)
at
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown( LightweightSystem.java:503)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:132)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
|
|
|
Re: Event loop exception usually caused by what reason? [message #156261 is a reply to message #156239] |
Mon, 01 November 2004 10:33 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dyx.gmx.net
Open
org.eclipse.gef.internal.ui.properties.PropertySheetEntry.co mputePropert=
yDescriptorsFor(IPropertySource =
source)
(From project`s package explorer click: =
Plugin-Dependencies->gef.jar->org.eclipse.gef.internal.ui.properties.Pro=
pertySheetEntry)
and set a break point in the first line of the method.(just rightclick o=
n =
th bar beside the line and choose toggle breakpoint.) Then run as debug=
=
and see what is null.
It should be either either source or source.getDescriptors()returns null=
..
Maybe you implement IPropertySource in your model, but in the
getDescriptors method return null somewhere?
> error log is:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=
=3D
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.core.runtime".
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.gef.internal.ui.properties.PropertySheetEntry.co mputePrope=
rtyDescriptorsFor(PropertySheetEntry.java:213)
> at
> org.eclipse.gef.internal.ui.properties.PropertySheetEntry.co mputeMerge=
dPropertyDescriptors(PropertySheetEntry.java:170)
> at
> org.eclipse.gef.internal.ui.properties.PropertySheetEntry.re freshChild=
Entries(PropertySheetEntry.java:472)
> at
> org.eclipse.gef.internal.ui.properties.PropertySheetEntry.se tValues(Pr=
opertySheetEntry.java:668)
> at
> org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertyS=
heetViewer.java:805)
> at
> org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(Pro=
pertySheetPage.java:370)
> at
> org.eclipse.ui.views.properties.PropertySheet.selectionChang ed(Propert=
ySheet.java:185)
> at
> org.eclipse.ui.internal.AbstractSelectionService$3.run(Abstr actSelecti=
onService.java:153)
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatfor=
m.java:616)
> at org.eclipse.core.runtime.Platform.run(Platform.java:747)
> at
> org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(Abstrac=
tSelectionService.java:151)
> at
> org.eclipse.ui.internal.AbstractSelectionService$1.selection Changed(Ab=
stractSelectionService.java:66)
> at
> org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectio nChanged(A=
bstractEditPartViewer.java:240)
> at
> org.eclipse.gef.ui.parts.AbstractEditPartViewer.appendSelect ion(Abstra=
ctEditPartViewer.java:171)
> at
> org.eclipse.gef.ui.parts.AbstractEditPartViewer.select(Abstr actEditPar=
tViewer.java:562)
> at
> org.eclipse.gef.tools.SelectEditPartTracker.performSelection (SelectEdi=
tPartTracker.java:209)
> at
> org.eclipse.gef.tools.SelectEditPartTracker.performCondition alSelectio=
n(SelectEditPartTracker.java:155)
> at
> org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown (SelectEdi=
tPartTracker.java:89)
> at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.ja va:977=
)
> at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool. java:4=
90)
> at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:201)
> at
> org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Pressed(Do=
mainEventDispatcher.java:327)
> at
> org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown( Lightweigh=
tSystem.java:503)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:1=
32)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:277=
2)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)=
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377=
)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java=
:254)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:14=
1)
> at =
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)=
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActi=
vator.java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.jav=
a:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.jav=
a:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.j=
ava:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccess=
orImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:704)
> at org.eclipse.core.launcher.Main.main(Main.java:688)
>
> !ENTRY org.eclipse.ui 4 4 十一月 01, 2004 10:50:14.6=
09
> !MESSAGE Unhandled event loop exception
>
> !ENTRY org.eclipse.ui 4 0 十一月 01, 2004 10:50:14.6=
09
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.gef.tools.ToolUtilities.getSelectionWithoutDepen dants(Tool=
Utilities.java:35)
> at
> org.eclipse.gef.tools.DragEditPartsTracker.createOperationSe t(DragEdit=
PartsTracker.java:166)
> at
> org.eclipse.gef.tools.AbstractTool.getOperationSet(AbstractT ool.java:5=
86)
> at
> org.eclipse.gef.tools.DragEditPartsTracker.captureSourceDime nsions(Dra=
gEditPartsTracker.java:124)
> at
> org.eclipse.gef.tools.DragEditPartsTracker.setState(DragEdit PartsTrack=
er.java:542)
> at
> org.eclipse.gef.tools.AbstractTool.stateTransition(AbstractT ool.java:1=
257)
> at
> org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown (SelectEdi=
tPartTracker.java:97)
> at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.ja va:977=
)
> at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool. java:4=
90)
> at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:201)
> at
> org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Pressed(Do=
mainEventDispatcher.java:327)
> at
> org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown( Lightweigh=
tSystem.java:503)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:1=
32)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:277=
2)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)=
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377=
)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java=
:254)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:14=
1)
> at =
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)=
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActi=
vator.java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.jav=
a:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.jav=
a:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.j=
ava:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccess=
orImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:704)
> at org.eclipse.core.launcher.Main.main(Main.java:688)
>
>
-- =
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
Re: Event loop exception usually caused by what reason? [message #156430 is a reply to message #156230] |
Mon, 01 November 2004 14:14 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eostroukhov.hotmail.com
Check your <runtime workspace>/.metadata/.log file
"hitdemo2002" <hitdemo2002@yahoo.com.cn> wrote in message
news:cm3v85$lgd$1@eclipse.org...
> when i draged a model from palette to viewer,it was show a error dialog:
> =================================
> Unhandled event loop exception
> Reason:
> java.lang.NullPointerException?
> =================================
> but i could't confirm where to locate errors,use eclipse debug logic to me
> is difficult.event loop exception usually caused by what reason?
>
>
|
|
|
Re: Event loop exception usually caused by what reason? [message #156433 is a reply to message #156430] |
Mon, 01 November 2004 14:15 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eostroukhov.hotmail.com
Oops I still need to learn what those plus signes along the messages mean :)
sorry.
"Eugene Ostroukhov" <eostroukhov@hotmail.com> wrote in message
news:cm5gbv$g6m$1@eclipse.org...
> Check your <runtime workspace>/.metadata/.log file
>
> "hitdemo2002" <hitdemo2002@yahoo.com.cn> wrote in message
> news:cm3v85$lgd$1@eclipse.org...
> > when i draged a model from palette to viewer,it was show a error dialog:
> > =================================
> > Unhandled event loop exception
> > Reason:
> > java.lang.NullPointerException?
> > =================================
> > but i could't confirm where to locate errors,use eclipse debug logic to
me
> > is difficult.event loop exception usually caused by what reason?
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03794 seconds