Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7273

IOException: Cannot obtain a location URI for .classpath when deleting project deployed on the server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.1.CR1
    • 3.2.0.Beta1
    • server, upstream
    • None
    • Hide
      I have been pointed to http://download.jboss.org/jbosstools/updates/helios/compositeArtifacts.xml

      This file indicates 3.2.1 is building against wtp 3.2.3 and should no longer receive the first exception. The second exception is a UI-only exception and is not solved for 3.2.1, and is harmless. I am marking this as resolved again.
      Show
      I have been pointed to http://download.jboss.org/jbosstools/updates/helios/compositeArtifacts.xml This file indicates 3.2.1 is building against wtp 3.2.3 and should no longer receive the first exception. The second exception is a UI-only exception and is not solved for 3.2.1, and is harmless. I am marking this as resolved again.

    Description

      -create a new dynamic web project for JBossAS-6.0M5 (runtime shouldn't matter)
      -create some dummy index.jsp file
      -run the project on the server
      -delete the project including its sources

      => ide log says:

      java.io.IOException: Cannot obtain a location URI for L/h/.classpath
      at org.eclipse.jdt.internal.core.JavaProject.readFileEntriesWithException(JavaProject.java:2427)
      at org.eclipse.jdt.internal.core.JavaProject.readFileEntries(JavaProject.java:2461)
      at org.eclipse.jdt.internal.core.JavaProject.readRawClasspath(JavaProject.java:2499)
      at org.eclipse.jst.common.jdt.internal.javalite.JavaProjectLite.readRawClasspath(JavaProjectLite.java:116)
      at org.eclipse.jst.common.internal.modulecore.AddMappedOutputFoldersParticipant.getMappedJavaOutputContainers(AddMappedOutputFoldersParticipant.java:94)
      at org.eclipse.jst.common.internal.modulecore.AddMappedOutputFoldersParticipant.finalize(AddMappedOutputFoldersParticipant.java:74)
      at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.runFinalizations(FlatVirtualComponent.java:153)
      at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.cacheResources(FlatVirtualComponent.java:122)
      at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.getChildModules(FlatVirtualComponent.java:111)
      at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getExportModelChildren(FlatComponentDeployable.java:172)
      at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getModules(FlatComponentDeployable.java:183)
      at org.jboss.ide.eclipse.as.wtp.core.util.ServerModelUtilities.getChildModules(ServerModelUtilities.java:61)
      at org.jboss.ide.eclipse.as.core.server.internal.DeployableServer.doGetParentModules(DeployableServer.java:85)
      at org.jboss.ide.eclipse.as.core.server.internal.DeployableServer.getRootModules(DeployableServer.java:67)
      at org.eclipse.wst.server.core.internal.Server.getRootModules(Server.java:2400)
      at org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerUtil.java:348)
      at org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringListener$2.runInWorkspace(ProjectRefactoringListener.java:262)
      at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

      Attachments

        Activity

          People

            manderse@redhat.com Max Andersen
            lukas.jungmann@gmail.com Lukas Jungmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: