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

NPE error popup in convert jsp when upgrade the 6.2sdk project to liferay workspace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1 M2
    • Fix Version/s: 3.1 M2
    • Component/s: Upgrade Planner
    • Labels:
      None

      Description

      (1)upgrade the 6.2 sdk project to liferay workspace
      (2)switch to Convert Custom JSP Hooks
      (3)Select projects --> OK
      (4)the error "Error in convert jsp :java.lang.NullPointerException" popup

      XML References Validator finished validating: file:/D:/6.2/devcon-test-project-master-0111-pm1643/devcon-test-project-master/plugins-sdk/portlets/jukebox-portlet/docroot/WEB-INF/liferay-hook.xml

      java.lang.NullPointerException
      at org.eclipse.wst.xml.search.core.resource.AbstractResourceRequestor.accept(AbstractResourceRequestor.java:26)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.internalSearch(ResourceSearchEngine.java:54)
      at org.eclipse.wst.xml.search.core.resource.ResourceSearchEngine.search(ResourceSearchEngine.java:45)
      at org.eclipse.wst.xml.search.editor.searchers.resource.XMLSearcherForResource.internalSearch(XMLSearcherForResource.java:96)
      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)

        Attachments

        1. errorlog01.png
          errorlog01.png
          121 kB
        2. errorlog02.png
          errorlog02.png
          157 kB
        3. errorlog03.png
          errorlog03.png
          76 kB

          Activity

            People

            Assignee:
            joye.luo Joye Luo (Inactive)
            Reporter:
            sunny.shi Sunny Shi (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:
              5 years, 1 week, 3 days ago

                Packages

                Version Package
                3.1 M2