Bug 85894 Exceptions touching .class files
in 0217-2000 I have a project that has a bunch of .class files in it in a random directory. These are NOT on the classpath of the project. It seems that every time I touch (just click on it) one of these files in the package explorer I get about 3 of the following in the log. It is unclear if anything bad is actually happening. !ENTRY org.eclipse.jdt.ui 4 10001 2005-02-18 21:14:06.641 !MESSAGE An error occurred while accessing a Java element !STACK 1 Java Model Exception: Java Model Status [org/eclipse/swt [in org.eclipse.swt.wm2003] is not on its project's build path] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException (JavaElement.java:474) at org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure (PackageFragmentRoot.java:169) at org.eclipse.jdt.internal.core.Openable.generateInfos (Openable.java:203) at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java:420) at org.eclipse.jdt.internal.core.Openable.generateInfos (Openable.java:192) at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java:420) at org.eclipse.jdt.internal.core.Openable.generateInfos (Openable.java:192) at org.eclipse.jdt.internal.core.BinaryMember.generateInfos (BinaryMember.java:46) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed (JavaElement.java:487) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo (JavaElement.java:231) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo (JavaElement.java:217) at org.eclipse.jdt.internal.core.BinaryType.isInterface (BinaryType.java:662) at org.eclipse.jdt.ui.actions.FindImplementorsAction.canOperateOn (FindImplementorsAction.java:75) at org.eclipse.jdt.ui.actions.FindAction.canOperateOn (FindAction.java:99) at org.eclipse.jdt.ui.actions.FindAction.selectionChanged (FindAction.java:256) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged (SelectionDispatchAction.java:200) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged (SelectionDispatchAction.java:195) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1015) at org.eclipse.core.runtime.Platform.run(Platform.java:757) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged (Viewer.java:161) at org.eclipse.jface.viewers.StructuredViewer.updateSelection (StructuredViewer.java:1676) at org.eclipse.jface.viewers.StructuredViewer.handleSelect (StructuredViewer.java:935) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected (StructuredViewer.java:961) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent (OpenStrategy.java:209) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:204) at org.eclipse.jface.util.OpenStrategy$1.handleEvent (OpenStrategy.java:364) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:293) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:333) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:150) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268) at org.eclipse.core.launcher.Main.basicRun(Main.java:260) at org.eclipse.core.launcher.Main.run(Main.java:887) at org.eclipse.core.launcher.Main.main(Main.java:871) !SUBENTRY 1 org.eclipse.jdt.core 4 1006 2005-02-18 21:14:06.731 !MESSAGE org/eclipse/swt [in org.eclipse.swt.wm2003] is not on its project's build path
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java
private static final IJavaElement RETURN_WITHOUT_BEEP= JavaCore.create(JavaPlugin.getWorkspace().getRoot());
		
	private Class[] fValidTypes;
	private JavaEditor fEditor;	
	FindAction(IWorkbenchSite site) {
		super(site);
		fValidTypes= getValidTypes();
		init();
	}
	FindAction(JavaEditor editor) {
		this(editor.getEditorSite());
		fEditor= editor;
		setEnabled(SelectionConverter.canOperateOn(fEditor));
	}
	
	/**
	 * Called once by the constructors to initialize label, tooltip, image and help support of the action.