Bug 55675 NPE in ASTProvider.reconciled
I20040323_0010 + export for smoke test. This was on the console, not in the log: java.lang.NullPointerException at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.reconciled(ASTProvider.java:413) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.reconciled(CompilationUnitEditor.java:1530) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:101) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:143) at org.eclipse.jface.text.reconciler.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:111) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:123) at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:104) at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:280) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:155)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java
Assert.isTrue(je != null && (je.getElementType() == IJavaElement.CLASS_FILE || je.getElementType() == IJavaElement.COMPILATION_UNIT));
		
		if (progressMonitor != null && progressMonitor.isCanceled())
			return null;
		
		synchronized (this) {
			if (je.equals(fActiveJavaElement)) {
				if (fAST != null || !wait)
					return fAST;
			}
		}
		if (isReconciling(je)) {
			try {
				final IJavaElement activeElement= fReconcilingJavaElement;
				
				
				synchronized (fWaitLock) {
					if (DEBUG)
						System.out.println(DEBUG_PREFIX + "waiting for AST for: " + je.getElementName()); 
					
					fWaitLock.wait();
				}
				
				
				synchronized (this) {
					if (activeElement == fActiveJavaElement) {
						if (DEBUG)
							System.out.println(DEBUG_PREFIX + "...got AST for: " + je.getElementName()); 
						
						return fAST;