Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3677

[Ctrlflow bug] ResourceException below MavenBundlePluginProject.getOutputBundle (thrown in Resource.delete)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2 M1, 3.5
    • Fix Version/s: None
    • Component/s: Projects > Maven
    • Labels:

      Description

      Bundle: org.eclipse.jdt.core 3.14.0.v20180528-0519
      Message: Error occurred while deleting: /formB-web/target/classes/META-INF
      Exception:
      org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
      at org.eclipse.core.internal.resources.Resource.delete(Resource.java:762)
      at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:137)
      at org.eclipse.jdt.internal.core.builder.JavaBuilder.clean(JavaBuilder.java:303)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:797)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:216)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:259)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:312)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:315)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:274)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:457)
      at org.eclipse.core.internal.resources.Project$1.run(Project.java:571)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2289)
      at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:545)
      at org.eclipse.core.internal.resources.Project.build(Project.java:113)
      at com.liferay.ide.maven.core.MavenBundlePluginProject.getOutputBundle(MavenBundlePluginProject.java:120)
      at com.liferay.ide.server.core.portal.BundlePublishFullAdd.execute(BundlePublishFullAdd.java:77)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.performTasks(ServerBehaviourDelegate.java:1335)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:954)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      at com.liferay.ide.server.core.portal.PortalServerBehavior.publish(PortalServerBehavior.java:228)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)

      Bundle: org.eclipse.jdt.core 3.13.50.v20171007-0855
      Message: Error occurred while deleting: /cardif-ticket-management-state-machine/target/classes/ar
      Exception:
      org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
          at org.eclipse.core.internal.resources.Resource.delete(Resource.java:773)
          at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:116)
          at org.eclipse.jdt.internal.core.builder.JavaBuilder.clean(JavaBuilder.java:293)
          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:737)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
          at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403)
          at org.eclipse.core.internal.resources.Project$1.run(Project.java:566)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
          at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:544)
          at org.eclipse.core.internal.resources.Project.build(Project.java:112)
          at com.liferay.ide.maven.core.MavenBundlePluginProject.getOutputBundle(MavenBundlePluginProject.java:118)
          at com.liferay.ide.server.core.portal.BundlePublishFullAdd.execute(BundlePublishFullAdd.java:110)
          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.performTasks(ServerBehaviourDelegate.java:1335)
          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:954)
          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
          at com.liferay.ide.server.core.portal.PortalServerBehavior.publish(PortalServerBehavior.java:563)
          at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
          at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

      Bundle: org.eclipse.jdt.core 3.13.102.v20180330-0919
      Message: Error occurred while deleting: /guestbook-web/target/classes/META-INF
      Exception:
      org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
      at org.eclipse.core.internal.resources.Resource.delete(Resource.java:773)
      at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:116)
      at org.eclipse.jdt.internal.core.builder.JavaBuilder.clean(JavaBuilder.java:293)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:737)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403)
      at org.eclipse.core.internal.resources.Project$1.run(Project.java:566)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:544)
      at org.eclipse.core.internal.resources.Project.build(Project.java:112)
      at com.liferay.ide.maven.core.MavenBundlePluginProject.getOutputBundle(MavenBundlePluginProject.java:118)
      at com.liferay.ide.server.core.portal.BundlePublishFullAdd.execute(BundlePublishFullAdd.java:110)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.performTasks(ServerBehaviourDelegate.java:1335)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:954)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      at com.liferay.ide.server.core.portal.PortalServerBehavior.publish(PortalServerBehavior.java:563)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      ----------
      Bundle: org.eclipse.core.resources 3.12.0.v20170417-1558
      Message: Problems encountered while deleting resources. [detached from CoreException of Status 'Error occurred while deleting: /guestbook-web/target/classes/META-INF' by Error Reporting]
      ----------
      Bundle: org.eclipse.core.resources 3.12.0.v20170417-1558
      Message: Could not delete '/guestbook-web/target/classes/META-INF'.
      Exception:
      org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
      at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:366)
      at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
      at org.eclipse.core.internal.resources.ResourceTree.standardDeleteFolder(ResourceTree.java:810)
      at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1781)
      at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
      at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:116)
      at org.eclipse.jdt.internal.core.builder.JavaBuilder.clean(JavaBuilder.java:293)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:737)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403)
      at org.eclipse.core.internal.resources.Project$1.run(Project.java:566)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:544)
      at org.eclipse.core.internal.resources.Project.build(Project.java:112)
      at com.liferay.ide.maven.core.MavenBundlePluginProject.getOutputBundle(MavenBundlePluginProject.java:118)
      at com.liferay.ide.server.core.portal.BundlePublishFullAdd.execute(BundlePublishFullAdd.java:110)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.performTasks(ServerBehaviourDelegate.java:1335)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:954)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      at com.liferay.ide.server.core.portal.PortalServerBehavior.publish(PortalServerBehavior.java:563)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      ----------
      Bundle: org.eclipse.core.resources 3.12.0.v20170417-1558
      Message: Problems encountered while deleting resources. [detached from CoreException of Status 'Could not delete '/guestbook-web/target/classes/META-INF'.' by Error Reporting]
      ----------
      Bundle: org.eclipse.core.filesystem 1.7.0.v20170406-1337
      Message: Problems encountered while deleting files.
      ----------
      Bundle: org.eclipse.core.filesystem 1.7.0.v20170406-1337
      Message: Could not delete: C:\Development\IDE\EclipseWorkspace\JEE-Oxygen-workspace-for-liferay-T3000\de-bwl-lgl-t3000\modules\guestbook-web\target\classes\META-INF\resources\guestbookadminportlet\edit_guestbook.jsp.
      Exception:
      java.nio.file.FileSystemException: C:\Development\IDE\EclipseWorkspace\JEE-Oxygen-workspace-for-liferay-T3000\de-bwl-lgl-t3000\modules\guestbook-web\target\classes\META-INF\resources\guestbookadminportlet\edit_guestbook.jsp: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.
      at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
      at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
      at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
      at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
      at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
      at java.nio.file.Files.deleteIfExists(Files.java:1165)
      at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
      at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
      at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
      at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
      at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
      at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
      at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
      at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
      at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
      at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
      at org.eclipse.core.internal.resources.ResourceTree.standardDeleteFolder(ResourceTree.java:810)
      at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1781)
      at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
      at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:116)
      at org.eclipse.jdt.internal.core.builder.JavaBuilder.clean(JavaBuilder.java:293)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:737)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403)
      at org.eclipse.core.internal.resources.Project$1.run(Project.java:566)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:544)
      at org.eclipse.core.internal.resources.Project.build(Project.java:112)
      at com.liferay.ide.maven.core.MavenBundlePluginProject.getOutputBundle(MavenBundlePluginProject.java:118)
      at com.liferay.ide.server.core.portal.BundlePublishFullAdd.execute(BundlePublishFullAdd.java:110)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.performTasks(ServerBehaviourDelegate.java:1335)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:954)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      at com.liferay.ide.server.core.portal.PortalServerBehavior.publish(PortalServerBehavior.java:563)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:355)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      ----------
      Bundle: org.eclipse.core.filesystem 1.7.0.v20170406-1337
      Message: Could not delete: C:\Development\IDE\EclipseWorkspace\JEE-Oxygen-workspace-for-liferay-T3000\de-bwl-lgl-t3000\modules\guestbook-web\target\classes\META-INF\resources\guestbookadminportlet.
      ----------
      Bundle: org.eclipse.core.filesystem 1.7.0.v20170406-1337
      Message: Could not delete: C:\Development\IDE\EclipseWorkspace\JEE-Oxygen-workspace-for-liferay-T3000\de-bwl-lgl-t3000\modules\guestbook-web\target\classes\META-INF\resources.
      ----------
      Bundle: org.eclipse.core.filesystem 1.7.0.v20170406-1337
      Message: Could not delete: C:\Development\IDE\EclipseWorkspace\JEE-Oxygen-workspace-for-liferay-T3000\de-bwl-lgl-t3000\modules\guestbook-web\target\classes\META-INF.

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 26 weeks, 4 days ago

                Packages

                Version Package