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

[Ctrlflow bug] FileNotFoundException below LiferayBaseValidator.validateReferenceToAllType (thrown in ZipFile.open)

    Details

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

      Description

      Bundle: org.eclipse.wst.xml.search.editor 1.0.1.201607202339
      Message: Error while getting methods for class=com.liferay.alloy.mvc.AlloyPortlet
      Exception:
      java.io.FileNotFoundException: /home/rohan/DC/workspace/Liferay Source Code/liferay-ce-portal-src-7.0-ga4/lib/global/portlet.jar (No such file or directory)
          at java.util.zip.ZipFile.open(ZipFile.java:-2)
          at java.util.zip.ZipFile.(ZipFile.java:225)
          at java.util.zip.ZipFile.(ZipFile.java:155)
          at java.util.zip.ZipFile.(ZipFile.java:169)
          at org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(JavaModelManager.java:2749)
          at org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(JavaModelManager.java:2715)
          at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.getJar(JarPackageFragmentRoot.java:156)
          at org.eclipse.jdt.internal.core.ClassFile.getJarBinaryTypeInfo(ClassFile.java:355)
          at org.eclipse.jdt.internal.core.ClassFile.getBinaryTypeInfo(ClassFile.java:290)
          at org.eclipse.jdt.internal.core.ClassFile.getBinaryTypeInfo(ClassFile.java:284)
          at org.eclipse.jdt.internal.core.ClassFile.buildStructure(ClassFile.java:93)
          at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259)
          at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:579)
          at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:316)
          at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:302)
          at org.eclipse.jdt.internal.core.BinaryType.getClassFileInfo(BinaryType.java:230)
          at org.eclipse.jdt.internal.core.BinaryType.getChildren(BinaryType.java:193)
          at org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType(JavaElement.java:271)
          at org.eclipse.jdt.internal.core.BinaryType.getMethods(BinaryType.java:462)
          at org.eclipse.wst.xml.search.editor.searchers.javamethod.XMLSearcherForJavaMethod.createValidation(XMLSearcherForJavaMethod.java:201)
          at org.eclipse.wst.xml.search.editor.searchers.javamethod.XMLSearcherForJavaMethod.createValidation(XMLSearcherForJavaMethod.java:210)
          at org.eclipse.wst.xml.search.editor.searchers.javamethod.XMLSearcherForJavaMethod.searchForValidation(XMLSearcherForJavaMethod.java:180)
          at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validateReferenceToAllType(LiferayBaseValidator.java:504)
          at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validateReferenceToJavaMethod(LiferayBaseValidator.java:551)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validateReferenceToJava(LiferayBaseValidator.java:544)

          at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.doValidate(LiferayBaseValidator.java:275)
          at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validate(LiferayBaseValidator.java:465)
          at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator.performValidation(XMLReferencesBatchValidator.java:311)
          at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator.validateFile(XMLReferencesBatchValidator.java:107)
          at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator$2.run(XMLReferencesBatchValidator.java:251)
          at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
          at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
          at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5521)
          at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator.validate(XMLReferencesBatchValidator.java:263)
          at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
          at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
          at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
          at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:810)
          at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
          at org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:299)
          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.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.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:105)
          at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:219)
          at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:178)
          at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:126)
          at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Bundle: org.eclipse.wst.validation 1.2.701.v201707142105
      Message: release was requested on a model that was not being managed
      Exception:
      org.eclipse.wst.sse.core.internal.util.Assert$AssertionFailedException: release was requested on a model that was not being managed
      at org.eclipse.wst.sse.core.internal.util.Assert.isNotNull(Assert.java:124)
      at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromRead(ModelManagerImpl.java:1941)
      at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromRead(ModelManagerImpl.java:1796)
      at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.releaseFromRead(AbstractStructuredModel.java:1026)
      at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.releaseFromRead(DOMModelImpl.java:880)
      at org.eclipse.wst.xml.search.core.internal.AbstractXMLSearchEngine.processFile(AbstractXMLSearchEngine.java:124)
      at org.eclipse.wst.xml.search.core.SimpleXMLSearchEngine.search(SimpleXMLSearchEngine.java:127)
      at org.eclipse.wst.xml.search.core.SimpleXMLSearchEngine.search(SimpleXMLSearchEngine.java:156)
      at org.eclipse.wst.xml.search.core.SimpleXMLSearchEngine.search(SimpleXMLSearchEngine.java:136)
      at org.eclipse.wst.xml.search.core.SimpleXMLSearchEngine.search(SimpleXMLSearchEngine.java:61)
      at org.eclipse.wst.xml.search.editor.util.XMLSearcherForXMLUtils.search(XMLSearcherForXMLUtils.java:67)
      at org.eclipse.wst.xml.search.editor.searchers.xml.XMLSearcherForXML.searchForValidation(XMLSearcherForXML.java:70)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validateReferenceToAllType(LiferayBaseValidator.java:504)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validateReferenceToXML(LiferayBaseValidator.java:577)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.doValidate(LiferayBaseValidator.java:269)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validate(LiferayBaseValidator.java:465)
      at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator.performValidation(XMLReferencesBatchValidator.java:311)
      at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator.validateFile(XMLReferencesBatchValidator.java:107)
      at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator$2.run(XMLReferencesBatchValidator.java:251)
      at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
      at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5680)
      at org.eclipse.wst.xml.search.editor.validation.XMLReferencesBatchValidator.validate(XMLReferencesBatchValidator.java:263)
      at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1178)
      at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
      at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
      at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:810)
      at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
      at org.eclipse.wst.validation.internal.ValidationRunner.execute(ValidationRunner.java:134)
      at org.eclipse.wst.validation.internal.ValidationRunner.run(ValidationRunner.java:148)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      at org.eclipse.wst.validation.internal.ValidationRunner.validate(ValidationRunner.java:67)
      at org.eclipse.wst.validation.ValidationFramework.validate(ValidationFramework.java:661)
      at org.eclipse.wst.sse.ui.internal.preferences.ui.AbstractValidationSettingsPage$ValidateJob.run(AbstractValidationSettingsPage.java:411)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            ying.xu Ying Xu (Inactive)
            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, 31 weeks, 4 days ago

                Packages

                Version Package