Project: Eclipse_Platform_UI
Bug 307389 [Compatibility] NPE thrown in IWorkbench's getWorkbenchWindows()
Reported: 2010-03-29 09:21:54 | Status: resolved fixed

I hit this once in a while and John did also. We have no reproducible steps. I'll safe up the code. Caused by: java.lang.NullPointerException at org.eclipse.ui.internal.Workbench.getWorkbenchWindows(Workbench.java:1173) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.install(ASTProvider.java:248) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.<init>(ASTProvider.java:236) at org.eclipse.jdt.internal.ui.JavaPlugin.getASTProvider(JavaPlugin.java:693) at org.eclipse.jdt.internal.ui.JavaPlugin.start(JavaPlugin.java:376) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783) at java.security.AccessController.doPrivileged(AccessController.java:251) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774) ... 48 more

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java