Bug 87670 Java Model Exception creating new project [code manipulation]
Not sure if this is core or ui but... Creating a new Java project in I20050308-1510 File>New>Project>Java Project>NExt 1A as the name Finish !ENTRY org.eclipse.jdt.ui 4 10001 2005-03-10 08:47:27.609 !MESSAGE Internal Error !STACK 1 Java Model Exception: Java Model Status [1A does not exist] at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException (JavaElement.java:467) at org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheckExistence (JavaModelManager.java:941) at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo (JavaProject.java:1779) at org.eclipse.jdt.internal.core.JavaProject.getRawClasspath (JavaProject.java:1836) at org.eclipse.jdt.internal.core.JavaProject.getRawClasspath (JavaProject.java:1822) at org.eclipse.jdt.internal.corext.buildpath.ClasspathModifier.getClasspathEntryFo r(ClasspathModifier.java:852) at org.eclipse.jdt.internal.corext.buildpath.AddToClasspathOperation.isValidProjec t(AddToClasspathOperation.java:121) at org.eclipse.jdt.internal.corext.buildpath.AddToClasspathOperation.isValid (AddToClasspathOperation.java:99) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierA ction.isValid(ClasspathModifierAction.java:83) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.DialogPackageExplo rerActionGroup.changeEnableState(DialogPackageExplorerActionGroup.java:698) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.DialogPackageExplo rerActionGroup.getAvailableActions(DialogPackageExplorerActionGroup.java:680) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.DialogPackageExplo rerActionGroup.internalSetContext(DialogPackageExplorerActionGroup.java:457) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.DialogPackageExplo rerActionGroup.setContext(DialogPackageExplorerActionGroup.java:429) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.DialogPackageExplo rer.selectionChanged(DialogPackageExplorer.java:485) 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.setSelection (StructuredViewer.java:1358) at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:380) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.DialogPackageExplo rer.setInput(DialogPackageExplorer.java:397) at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.NewSourceContainer WorkbookPage.init(NewSourceContainerWorkbookPage.java:107) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.doUpdateUI (BuildPathsBlock.java:363) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock$2.run (BuildPathsBlock.java:352) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2871) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2530) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block (ModalContext.java:151) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:301) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:824) at org.eclipse.jdt.internal.ui.wizards.NewElementWizard.performFinish (NewElementWizard.java:130) at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizard.performFinish (JavaProjectWizard.java:92) at org.eclipse.jface.wizard.WizardDialog.finishPressed (WizardDialog.java:670) at org.eclipse.jface.wizard.WizardDialog.buttonPressed (WizardDialog.java:342) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:554) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:89) 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:2894) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2527) at org.eclipse.jface.window.Window.runEventLoop(Window.java:801) at org.eclipse.jface.window.Window.open(Window.java:779) at org.eclipse.ui.actions.NewProjectAction.run (NewProjectAction.java:114) at org.eclipse.jface.action.Action.runWithEvent(Action.java:1003) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:557) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:507) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent (ActionContributionItem.java:421) 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:2894) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2527) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1514) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1478) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:297) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:338) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:151) 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:324) 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 969 2005-03-10 08:47:27.609 !MESSAGE 1A does not exist
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/DialogPackageExplorerActionGroup.java
/**
     * Add listeners for the <code>PackageExplorerActionEvent</code>.
     * 
     * @param listener the listener to be added
     * 
     * @see PackageExplorerActionEvent
     * @see IPackageExplorerActionListener
     */
    public void addListener(IPackageExplorerActionListener listener) {
        fListeners.add(listener);
    }
    
    /**
     * Remove the listener from the list of registered listeners.
     * 
     * @param listener the listener to be removed
     */
    public void removeListener(IPackageExplorerActionListener listener) {
        fListeners.remove(listener);
    }
    
    /* (non-Javadoc)
     * @see org.eclipse.jdt.internal.ui.actions.CompositeActionGroup#dispose()
     */
    public void dispose() {
        fListeners.clear();
        super.dispose();
    }
}