Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 407040 - java.lang.NullPointerException at org.eclipse.ui.internal.FastViewPane.hideView(FastViewPane.java:582)
Summary: java.lang.NullPointerException at org.eclipse.ui.internal.FastViewPane.hideV...
Status: CLOSED DUPLICATE of bug 101346
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7.2   Edit
Hardware: PC Windows 8
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 02:34 EDT by Richa Jain CLA
Modified: 2013-05-03 01:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richa Jain CLA 2013-05-02 02:34:09 EDT
I m using Eclipse Indigo 
Version: Indigo Service Release 2
On dragging some views eclipse neither shows an error nor any kind of warning.So I added dat view in my product and on dragging I found following error.I searched alot on this topic and everywhere I found it as a bug.
So I m filing it as a bug as till today I havent found any solution for this.

!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
	at org.eclipse.ui.internal.FastViewPane.hideView(FastViewPane.java:582)
	at org.eclipse.ui.internal.Perspective.hideFastView(Perspective.java:571)
	at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1933)
	at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1952)
	at org.eclipse.ui.internal.Perspective.toggleFastView(Perspective.java:2365)
	at org.eclipse.ui.internal.WorkbenchPage.toggleFastView(WorkbenchPage.java:3972)
	at org.eclipse.ui.internal.WorkbenchPage.hideFastView(WorkbenchPage.java:3960)
	at org.eclipse.ui.internal.FastViewPane$2.dragStart(FastViewPane.java:156)
	at org.eclipse.ui.internal.FastViewPane$2.dragStart(FastViewPane.java:136)
	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:118)
	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:282)
	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleDragStarted(AbstractTabFolder.java:366)
	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$2.handleEvent(AbstractTabFolder.java:67)
	at org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(PresentationUtil.java:110)
	at org.eclipse.ui.presentations.PresentationUtil.access$4(PresentationUtil.java:95)
	at org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(PresentationUtil.java:63)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at snc_ide.Application.start(Application.java:71)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Comment 1 Curtis Windatt CLA 2013-05-02 09:40:00 EDT
Unfortunately there is nothing we can do about this scenario.  There is no more development going into Indigo and in the current release there are no more fast views (instead there are minimized view stacks).  If you have problems dragging on a newer version of Eclipse, please reopen.

Looking for duplicates I see a number of NPEs in the fast view code were fixed.  Bug 101346 appears to be similar though.

*** This bug has been marked as a duplicate of bug 101346 ***
Comment 2 Richa Jain CLA 2013-05-03 01:16:26 EDT
Thanx Curtis..