Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2586

org.eclipse.jdt.internal.core.ClasspathEntry$AssertionFailedException if source path for classpath entry includes $VARIABLE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • sigil-1.0.0
    • Sigil
    • None

    Description

      org.eclipse.jdt.internal.core.ClasspathEntry$AssertionFailedException: Source attachment path 'SOME_VARIABLE/path/to/source.jar' for IClasspathEntry must be absolute
      at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:4047)
      at org.apache.felix.sigil.eclipse.model.util.JavaHelper.newProjectEntry(JavaHelper.java:454)
      at org.apache.felix.sigil.eclipse.model.util.JavaHelper.buildClassPathEntry(JavaHelper.java:425)
      at org.apache.felix.sigil.eclipse.model.util.JavaHelper.resolveClasspathEntrys(JavaHelper.java:385)
      at org.apache.felix.sigil.eclipse.internal.model.project.SigilProject.findExternalClasspath(SigilProject.java:337)
      at org.apache.felix.sigil.eclipse.ui.internal.classpath.SigilClassPathContainer.buildClassPathEntries(SigilClassPathContainer.java:95)
      at org.apache.felix.sigil.eclipse.ui.internal.classpath.SigilClassPathContainer.getClasspathEntries(SigilClassPathContainer.java:54)
      at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1806)
      at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1760)
      at org.eclipse.jdt.internal.core.ClasspathValidation.validate(ClasspathValidation.java:68)
      at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:51)
      at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110)
      at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
      at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4759)
      at org.apache.felix.sigil.eclipse.ui.internal.classpath.SigilClasspathContainerInitializer.requestClasspathContainerUpdate(SigilClasspathContainerInitializer.java:63)
      at org.apache.felix.sigil.eclipse.internal.model.project.SigilProject.resetClasspath(SigilProject.java:462)
      at org.apache.felix.sigil.eclipse.SigilCore.rebuild(SigilCore.java:471)
      at org.apache.felix.sigil.eclipse.internal.model.project.SigilProject.rebuildDependencies(SigilProject.java:162)
      at org.apache.felix.sigil.eclipse.job.ResolveProjectsJob.runInWorkspace(ResolveProjectsJob.java:85)
      at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Attachments

        Activity

          People

            davemssavage David Savage
            davemssavage David Savage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: