org.eclipse.core.runtime.AssertionFailedException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Installed nightly build (rev9424) of Eclipse plugin in the 'dropins' folder per Ganymede (Eclipse 3.4) recommendations. Added Terracotta nature to a project and clicked finish. Received following stack trace. Note that 'dropins' is a new thing for Ganymede; it is no longer recommended to put third-party plugins directly into the 'plugins' folder, because of the new provisioning code (aka p2). I suspect that what's going on is that TC is using the bundle location as a way of building a path to somewhere to store config information. This is not ideal Eclipse practice; rather, APIs like Plugin.getStateLocation, Platform.getConfigurationLocation, or Platform.getInstallLocation are probably better, if that's in fact the issue. org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute: file:/Developer/Applications/eclipse/dropins/deploy/build.eclipse/src.classes at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111) at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:4013) at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:3901) at org.eclipse.jdt.launching.JavaRuntime.newArchiveRuntimeClasspathEntry(JavaRuntime.java:610) at org.terracotta.dso.ClasspathProvider.computeUnresolvedClasspath(ClasspathProvider.java:49) at org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.computeUnresolvedClasspath(RuntimeClasspathProvider.java:53) at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1173) at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getBootpathExt(AbstractJavaLaunchConfigurationDelegate.java:301) at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMSpecificAttributesMap(AbstractJavaLaunchConfigurationDelegate.java:568) at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:68) at org.terracotta.dso.BootJarHelper.getBootJarName(BootJarHelper.java:92) at org.terracotta.dso.actions.BuildBootJarAction.doFinish(BuildBootJarAction.java:143) at org.terracotta.dso.actions.BuildBootJarAction.run(BuildBootJarAction.java:102) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    via by Walter Harley,
  • Installed nightly build (rev9424) of Eclipse plugin in the 'dropins' folder per Ganymede (Eclipse 3.4) recommendations. Added Terracotta nature to a project and clicked finish. Received following stack trace. Note that 'dropins' is a new thing for Ganymede; it is no longer recommended to put third-party plugins directly into the 'plugins' folder, because of the new provisioning code (aka p2). I suspect that what's going on is that TC is using the bundle location as a way of building a path to somewhere to store config information. This is not ideal Eclipse practice; rather, APIs like Plugin.getStateLocation, Platform.getConfigurationLocation, or Platform.getInstallLocation are probably better, if that's in fact the issue. org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute: file:/Developer/Applications/eclipse/dropins/deploy/build.eclipse/src.classes at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111) at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:4013) at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:3901) at org.eclipse.jdt.launching.JavaRuntime.newArchiveRuntimeClasspathEntry(JavaRuntime.java:610) at org.terracotta.dso.ClasspathProvider.computeUnresolvedClasspath(ClasspathProvider.java:49) at org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.computeUnresolvedClasspath(RuntimeClasspathProvider.java:53) at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1173) at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getBootpathExt(AbstractJavaLaunchConfigurationDelegate.java:301) at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMSpecificAttributesMap(AbstractJavaLaunchConfigurationDelegate.java:568) at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:68) at org.terracotta.dso.BootJarHelper.getBootJarName(BootJarHelper.java:92) at org.terracotta.dso.actions.BuildBootJarAction.doFinish(BuildBootJarAction.java:143) at org.terracotta.dso.actions.BuildBootJarAction.run(BuildBootJarAction.java:102) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    via by Walter Harley,
  • Problem with Eclipse Integration
    via by Unknown author,
  • If I open a POM, modify it, save it explicitly, and then close it, I have no problem. However, if I close the editor with unsaved changes and click yes on the Save prompt, a generic Error dialog appears, the POM closes, and the changes are lost. The below appears in the log: !ENTRY org.maven.ide.eclipse 4 0 2008-09-30 11:59:42.660 !MESSAGE Can't update view !STACK 0 org.eclipse.core.runtime.AssertionFailedException: assertion failed: ContentViewer must have a content provider when input is set. at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:243) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1603) at org.maven.ide.eclipse.editor.composites.ListEditorComposite.setInput(ListEditorComposite.java:108) at org.maven.ide.eclipse.editor.pom.OverviewPage.loadProperties(OverviewPage.java:894) at org.maven.ide.eclipse.editor.pom.OverviewPage.updateView(OverviewPage.java:772) at org.maven.ide.eclipse.editor.pom.MavenPomEditorPage.notifyChanged(MavenPomEditorPage.java:251) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:247) at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.setID(TranslatorResourceImpl.java:322) at org.eclipse.wst.common.internal.emf.utilities.ExtendedEcoreUtil.doBecomeProxy(ExtendedEcoreUtil.java:226) at org.eclipse.wst.common.internal.emf.utilities.ExtendedEcoreUtil.becomeProxy(ExtendedEcoreUtil.java:217) at org.eclipse.wst.common.internal.emf.utilities.ExtendedEcoreUtil.unload(ExtendedEcoreUtil.java:198) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.removeMOFValue(EMF2DOMAdapterImpl.java:495) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.primUpdateMOFMultiFeature(EMF2DOMAdapterImpl.java:454) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.updateMOFRootFeature(EMF2DOMAdapterImpl.java:956) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.primUpdateMOF(EMF2DOMAdapterImpl.java:931) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.updateMOF(EMF2DOMAdapterImpl.java:915) at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSEAdapter.notifyChanged(EMF2DOMSSEAdapter.java:230) at org.eclipse.wst.sse.core.internal.provisional.AbstractNotifier.notify(AbstractNotifier.java:201) at org.eclipse.wst.xml.core.internal.document.XMLModelNotifierImpl.notifyStructureChanged(XMLModelNotifierImpl.java:392) at org.eclipse.wst.xml.core.internal.document.XMLModelNotifierImpl.endChanging(XMLModelNotifierImpl.java:180) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.changedModel(DOMModelImpl.java:163) at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel$DocumentToModelNotifier.nodesReplaced(AbstractStructuredModel.java:152) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:602) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1201) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1979) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2414) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:2930) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.handleFileContentChanged(ResourceTextFileBuffer.java:513) at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.revert(ResourceFileBuffer.java:350) at org.eclipse.wst.sse.core.internal.FileBufferModelManager.revert(FileBufferModelManager.java:799) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.revertModel(ModelManagerImpl.java:1763) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1741) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1681) at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.releaseFromEdit(AbstractStructuredModel.java:1044) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.releaseFromEdit(DOMModelImpl.java:804) at org.eclipse.wst.sse.ui.StructuredTextEditor.disposeDocumentProvider(StructuredTextEditor.java:1883) at org.eclipse.ui.texteditor.AbstractTextEditor.dispose(AbstractTextEditor.java:4178) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.dispose(AbstractDecoratedTextEditor.java:330) at org.eclipse.ui.editors.text.TextEditor.dispose(TextEditor.java:89) at org.eclipse.wst.sse.ui.StructuredTextEditor.dispose(StructuredTextEditor.java:1871) at org.eclipse.ui.part.MultiPageEditorPart$6.run(MultiPageEditorPart.java:908) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.part.MultiPageEditorPart.disposePart(MultiPageEditorPart.java:905) at org.eclipse.ui.part.MultiPageEditorPart.dispose(MultiPageEditorPart.java:408) at org.eclipse.ui.forms.editor.FormEditor.dispose(FormEditor.java:412) at org.maven.ide.eclipse.editor.pom.MavenPomEditor.dispose(MavenPomEditor.java:765) at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:730) at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:302) at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:681) at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1682) at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1389) at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1373) at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1347) at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1402) at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61) at org.eclipse.ui.internal.PartStack.close(PartStack.java:543) at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206) at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:83) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:70) at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:626) at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:206) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2171) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:324) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) !ENTRY org.eclipse.ui 4 0 2008-09-30 11:59:42.860 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:3777) at org.eclipse.swt.SWT.error(SWT.java:3695) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) Caused by: java.lang.NullPointerException at org.eclipse.wst.sse.ui.StructuredTextEditor.updateEncodingMemento(StructuredTextEditor.java:3161) at org.eclipse.wst.sse.ui.StructuredTextEditor.doSave(StructuredTextEditor.java:1926) at org.maven.ide.eclipse.editor.pom.MavenPomEditor$4.doSave(MavenPomEditor.java:314) at org.maven.ide.eclipse.editor.pom.MavenPomEditor$7.runInUIThread(MavenPomEditor.java:774) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) ... 23 more
    via by Deleted User,
    • org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute: file:/Developer/Applications/eclipse/dropins/deploy/build.eclipse/src.classes at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111) at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:4013) at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:3901) at org.eclipse.jdt.launching.JavaRuntime.newArchiveRuntimeClasspathEntry(JavaRuntime.java:610) at org.terracotta.dso.ClasspathProvider.computeUnresolvedClasspath(ClasspathProvider.java:49) at org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.computeUnresolvedClasspath(RuntimeClasspathProvider.java:53) at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1173) at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getBootpathExt(AbstractJavaLaunchConfigurationDelegate.java:301) at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMSpecificAttributesMap(AbstractJavaLaunchConfigurationDelegate.java:568) at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:68) at org.terracotta.dso.BootJarHelper.getBootJarName(BootJarHelper.java:92) at org.terracotta.dso.actions.BuildBootJarAction.doFinish(BuildBootJarAction.java:143) at org.terracotta.dso.actions.BuildBootJarAction.run(BuildBootJarAction.java:102) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,