Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » 1. NullPointerException
1. NullPointerException [message #66197] Fri, 14 December 2007 01:55 Go to next message
Eclipse UserFriend
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
Re: 1. NullPointerException [message #66240 is a reply to message #66197] Fri, 14 December 2007 08:06 Go to previous message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Maybe it has something to do with bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210522 ?
At least the code line where the NPE is thrown is the same....


John Zhu schrieb:
> 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
Previous Topic:New version problems
Next Topic:"patch.jar" in MANIFEST.MF
Goto Forum:
  


Current Time: Sat Apr 27 01:15:26 GMT 2024

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

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

Back to the top