Community
Participate
Working Groups
build 20020502 + HEAD + jdt_core preview 1. create a new workspace 2. add java project called "JUnit" ==> the following is written to the log - there's no dialog and the workspace seems to be ok. !ENTRY org.eclipse.core.resources 2 2 Tue May 07 12:31:49 CEST 2002 !MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.core.resources. !STACK org.eclipse.jdt.internal.core.Assert$AssertionFailedException: Assertion failed; . at org.eclipse.jdt.internal.core.Assert.isTrue(Assert.java:82) at org.eclipse.jdt.internal.core.Assert.isTrue(Assert.java:69) at org.eclipse.jdt.internal.core.JavaElementDelta.createDeltaTree(JavaElementDelta.java:282) at org.eclipse.jdt.internal.core.JavaElementDelta.insertDeltaTree(JavaElementDelta.java:468) at org.eclipse.jdt.internal.core.JavaModelManager.mergeDeltas(JavaModelManager.java:1084) at org.eclipse.jdt.internal.core.JavaModelManager.fire(JavaModelManager.java:680) at org.eclipse.jdt.internal.core.JavaModelManager.resourceChanged(JavaModelManager.java:1294) at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:123) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:791) at org.eclipse.core.runtime.Platform.run(Platform.java:411) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:138) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:62) at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:133) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:741) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1366) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:78) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:296) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:720) at org.eclipse.jdt.internal.ui.wizards.NewProjectCreationWizard.performFinish(NewProjectCreationWizard.java:62) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:577) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:312) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:379) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1412) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1208) at org.eclipse.jface.window.Window.runEventLoop(Window.java:538) at org.eclipse.jface.window.Window.open(Window.java:525) at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:86) at org.eclipse.jface.action.Action.runWithEvent(Action.java:590) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1412) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1208) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:883) at org.eclipse.ui.internal.Workbench.run(Workbench.java:866) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:733) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:16)
I cannot reproduce in build 20020514. Can you?
Why do we have assertions in internal code ?
Removed assertion.
Verified.