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

[Ctrlflow bug] ResourceException below PropertiesUtil.getResourceNodeInfo (thrown in FileSystemResourceManager.read)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2 M1
    • Fix Version/s: None
    • Component/s: Editors > XML
    • Labels:

      Description

      Bundle: com.liferay.ide.core 3.1.2.201709011126-ga3
      Message: Error resolvingportlet.xml
      Exception:
      org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/share/src/main/webapp/WEB-INF/portlet.xml'.
          at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:845)
          at org.eclipse.core.internal.resources.File.getContents(File.java:277)
          at org.eclipse.core.internal.resources.File.getContents(File.java:268)
          at com.liferay.ide.core.util.PropertiesUtil.getResourceNodeInfo(PropertiesUtil.java:835)
          at com.liferay.ide.core.util.PropertiesUtil.isLanguagePropertiesFile(PropertiesUtil.java:947)
          at com.liferay.ide.core.describer.LiferayLanguagePropertiesFileDescriber.isPropertiesFile(LiferayLanguagePropertiesFileDescriber.java:36)
          at com.liferay.ide.core.describer.LiferayPropertiesFileDescriber.describe(LiferayPropertiesFileDescriber.java:71)
          at org.eclipse.core.internal.content.ContentTypeCatalog.describe(ContentTypeCatalog.java:226)
          at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:197)
          at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:411)
          at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:458)
          at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:354)
          at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:368)
          at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:76)
          at org.eclipse.core.internal.resources.ContentDescriptionManager.readDescription(ContentDescriptionManager.java:453)
          at org.eclipse.core.internal.resources.ContentDescriptionManager.getDescriptionFor(ContentDescriptionManager.java:363)
          at org.eclipse.core.internal.resources.File.getContentDescription(File.java:263)
          at org.eclipse.wst.validation.internal.ValidatorMetaData.isApplicableTo(ValidatorMetaData.java:324)
          at org.eclipse.wst.validation.internal.ValidatorMetaData.isApplicableTo(ValidatorMetaData.java:302)
          at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:339)
          at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:376)
          at org.eclipse.wst.validation.internal.FilterUtil$1.visit(FilterUtil.java:575)
          at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:120)
          at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:84)
          at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
          at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
          at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
          at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
          at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
          at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
          at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)
          at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
          at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
          at org.eclipse.core.internal.resources.Resource.accept(Resource.java:117)
          at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
          at org.eclipse.wst.validation.internal.FilterUtil.loadDeltas(FilterUtil.java:654)
          at org.eclipse.wst.validation.internal.operations.ValidationOperation.loadFileDeltas(ValidationOperation.java:545)
          at org.eclipse.wst.validation.internal.operations.ValidationOperation.getFileDeltas(ValidationOperation.java:519)
          at org.eclipse.wst.validation.internal.operations.ValidationOperation.preValidate(ValidationOperation.java:791)
          at org.eclipse.wst.validation.internal.operations.ValidationOperation.run(ValidationOperation.java:653)
          at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuild(ValidationBuilder.java:264)
          at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuildForReferencedProjectChanged(ValidationBuilder.java:252)
          at org.eclipse.wst.validation.internal.operations.ValidationBuilder.build(ValidationBuilder.java:187)
          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
          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.basicBuildLoop(BuildManager.java:360)
          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
          at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
          at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

      Bundle: com.liferay.ide.core 3.1.2.201709011126-ga3
      Message: Error resolvingportlet.xml
      Exception:
      org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/esf-web/src/main/webapp/WEB-INF/portlet.xml'.
      at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:845)
      at org.eclipse.core.internal.resources.File.getContents(File.java:277)
      at org.eclipse.core.internal.resources.File.getContents(File.java:268)
      at com.liferay.ide.core.util.PropertiesUtil.getResourceNodeInfo(PropertiesUtil.java:835)
      at com.liferay.ide.core.util.PropertiesUtil.isLanguagePropertiesFile(PropertiesUtil.java:947)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.processFile(LiferayLanguagePropertiesListener.java:57)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.visit(LiferayLanguagePropertiesListener.java:130)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:64)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
      at com.liferay.ide.core.LiferayLanguagePropertiesListener.resourceChanged(LiferayLanguagePropertiesListener.java:112)
      at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
      at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:152)
      at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:374)
      at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1469)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2253)
      at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:43)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      ----------
      Bundle: org.eclipse.core.resources 3.12.0.v20170417-1558
      Message: Resource is out of sync with the file system: '/esf-web/src/main/webapp/WEB-INF/portlet.xml'. [detached from CoreException of Status 'Error resolvingportlet.xml' by Error Reporting]

        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:
              3 years, 22 weeks, 4 days ago

                Packages

                Version Package