org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute: file:/Developer/Applications/eclipse/dropins/deploy/build.eclipse/src.classes

Terracotta Project Issue Tracker | Walter Harley | 8 years ago
  1. 0

    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)

    Terracotta Project Issue Tracker | 8 years ago | Walter Harley
    org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute: file:/Developer/Applications/eclipse/dropins/deploy/build.eclipse/src.classes
  2. 0

    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)

    Terracotta Project Issue Tracker | 8 years ago | Walter Harley
    org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute: file:/Developer/Applications/eclipse/dropins/deploy/build.eclipse/src.classes
  3. 0

    Problem with Eclipse Integration

    icesoft.org | 1 year ago
    org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IClasspathEntry error when starting MyEclipse - Genuitec

    genuitec.com | 11 months ago
    org.eclipse.core.runtime.AssertionFailedException: assertion failed: Path for IClasspathEntry must be absolute
  6. 0

    Issue 4441 - google-web-toolkit - Eclipse plugin throws internal error in FeatureUpdateManager.checkForUpdates - GWT - Google Project Hosting

    google.com | 1 year ago
    org.eclipse.core.runtime.AssertionFailedException: assertion failed: The service (3rd) component of plug-in version identifier, "2.0.0-rc2", must be numeric.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Eclipse Core
      Assert.isTrue
      1. org.eclipse.core.runtime.Assert.isTrue(Assert.java:111)
      1 frame
    3. JDT Core
      JavaCore.newLibraryEntry
      1. org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:4013)
      2. org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:3901)
      2 frames
    4. Java Development Tools Launching Support
      JavaRuntime.newArchiveRuntimeClasspathEntry
      1. org.eclipse.jdt.launching.JavaRuntime.newArchiveRuntimeClasspathEntry(JavaRuntime.java:610)
      1 frame
    5. org.terracotta.dso
      ClasspathProvider.computeUnresolvedClasspath
      1. org.terracotta.dso.ClasspathProvider.computeUnresolvedClasspath(ClasspathProvider.java:49)
      1 frame
    6. Java Development Tools Launching Support
      JavaLaunchDelegate.launch
      1. org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.computeUnresolvedClasspath(RuntimeClasspathProvider.java:53)
      2. org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1173)
      3. org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getBootpathExt(AbstractJavaLaunchConfigurationDelegate.java:301)
      4. org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMSpecificAttributesMap(AbstractJavaLaunchConfigurationDelegate.java:568)
      5. org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:68)
      5 frames
    7. org.terracotta.dso
      BuildBootJarAction.run
      1. org.terracotta.dso.BootJarHelper.getBootJarName(BootJarHelper.java:92)
      2. org.terracotta.dso.actions.BuildBootJarAction.doFinish(BuildBootJarAction.java:143)
      3. org.terracotta.dso.actions.BuildBootJarAction.run(BuildBootJarAction.java:102)
      3 frames
    8. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      1 frame