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

[Ctrlflow bug] NullPointerException in PortalPropertiesURIResolver.accept

    Details

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

      Description

      Bundle: org.eclipse.wst.validation 1.2.700.v201508251749
      Message:
      Exception:
      java.lang.NullPointerException: null
      at com.liferay.ide.xml.search.ui.resources.PortalPropertiesURIResolver.accept(PortalPropertiesURIResolver.java:54)
      at org.eclipse.wst.xml.search.core.resource.DefaultResourceRequestor.accept(DefaultResourceRequestor.java:24)
      at org.eclipse.wst.xml.search.core.resource.AbstractResourceRequestor.accept(AbstractResourceRequestor.java:38)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.internalSearch(ResourceSearchEngine.java:54)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.internalSearch(ResourceSearchEngine.java:99)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.internalSearch(ResourceSearchEngine.java:83)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.internalSearch(ResourceSearchEngine.java:99)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.internalSearch(ResourceSearchEngine.java:83)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.search(ResourceSearchEngine.java:35)
      at org.eclipse.wst.xml.search.editor.searchers.resource.XMLSearcherForResource.internalSearch(XMLSearcherForResource.java:89)
      at org.eclipse.wst.xml.search.editor.searchers.resource.XMLSearcherForResource.searchForValidation(XMLSearcherForResource.java:69)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validateReferenceToAllType(LiferayBaseValidator.java:504)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.validateReferenceToResource(LiferayBaseValidator.java:564)
      at com.liferay.ide.xml.search.ui.validators.LiferayBaseValidator.doValidate(LiferayBaseValidator.java:278)
      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.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)

        Attachments

          Activity

            People

            Assignee:
            lr_ide LR IDE
            Reporter:
            lily.li Lily Li
            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, 31 weeks, 5 days ago

                Packages

                Version Package