1. NullPointerException [message #66197] |
Fri, 14 December 2007 01:55 |
Eclipse User |
|
|
|
Originally posted by: john_zhu.i-len.com
Hi,everybody:
I often run into error when switching frequently between toolbar items,
error log as follows:
org.eclipse.ui.internal.registry.PerspectiveDescriptor@1ffeaea
java.lang.NullPointerException
at
org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(W orkbench.java:1044)
at net.heartsome.tesystem.actions.DmAction.run(DmAction.java:41 )
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:242)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:223)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:529)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:472)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:425)
at
org.eclipse.swt.internal.widgets.UntypedEventAdapter.dispatc hEvent(UntypedEventAdapter.java:276)
at
org.eclipse.swt.internal.widgets.UntypedEventAdapter.widgetS elected(UntypedEventAdapter.java:77)
at
org.eclipse.swt.events.SelectionEvent.dispatchToObserver(Sel ectionEvent.java:174)
at org.eclipse.rwt.internal.events.Event.processEvent(Event.jav a:44)
at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.ja va:108)
at
org.eclipse.swt.events.TypedEvent.processEventClass(TypedEve nt.java:192)
at
org.eclipse.swt.events.TypedEvent.processScheduledEvents(Typ edEvent.java:124)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.proce ssAction(DisplayLCA.java:281)
at
org.eclipse.rwt.internal.lifecycle.ProcessAction.execute(Pro cessAction.java:26)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.executePhase (RWTLifeCycle.java:124)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.execute(RWTL ifeCycle.java:86)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$1.r un(LifeCycleServiceHandler.java:59)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:175)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:167)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:132)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:51 )
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.access$0(RWTLifeCycleServiceHandlerSync.java:43)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync$1.service(RWTLifeCycleServiceHandlerSync.java:38)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleBlockControl$ ServiceHandlerProcessor.run(RWTLifeCycleBlockControl.java:68 )
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleThreadPool$Po olRunnable.run(RWTLifeCycleThreadPool.java:38)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleThreadPool$Po olWorker.run(RWTLifeCycleThreadPool.java:66)
Is there anybody who ever encountered this problem? And how to deal with
it?
Best Regards,
John
|
|
|
|
Powered by
FUDForum. Page generated in 0.03804 seconds