Bug 15395 - AssertionFailedException when creating new Java project
Summary: AssertionFailedException when creating new Java project
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P1 normal (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-07 06:29 EDT by Dani Megert CLA
Modified: 2002-06-03 12:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2002-05-07 06:29:36 EDT
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)
Comment 1 Jerome Lanneluc CLA 2002-05-15 10:37:19 EDT
I cannot reproduce in build 20020514. Can you?
Comment 2 Philipe Mulet CLA 2002-05-23 04:14:07 EDT
Why do we have assertions in internal code ?
Comment 3 Jerome Lanneluc CLA 2002-05-23 09:07:20 EDT
Removed assertion.
Comment 4 Kent Johnson CLA 2002-06-03 12:29:44 EDT
Verified.