Bug 287278 - [Widgets] NPE while switching between compare modes in Java compare editor
Summary: [Widgets] NPE while switching between compare modes in Java compare editor
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.6 M2   Edit
Assignee: Silenio Quarti CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 05:25 EDT by Tomasz Zarna CLA
Modified: 2009-09-29 16: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 Tomasz Zarna CLA 2009-08-21 05:25:06 EDT
I20090818-0800

Steps:
1. Open Java compare editor (compare two .java files)
2. Switch to Text Compare using the drop down button next to "Java Source Compare" label
3. Click anywhere

java.lang.NullPointerException
	at org.eclipse.swt.widgets.Display.runPopups(Display.java:3523)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3130)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	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:367)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:610)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:565)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1362)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1338)
Comment 1 Bogdan Gheorghe CLA 2009-08-21 10:14:05 EDT
Just to be sure: are you using the Carbon port?
Comment 2 Tomasz Zarna CLA 2009-08-21 11:06:06 EDT
Nope, I'm using Cocoa.
Comment 3 Silenio Quarti CLA 2009-08-21 13:59:46 EDT
Fixed > 20090821