Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32909

02/08/13 - Knowledge Base plugin fails to compile

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE M4
    • Fix Version/s: 6.2.0 CE M4
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: fbbe0bdcdbb2e286819b5676a119e42c82f07d04.
      Plugins 6.2.x GIT ID: 8675cefb82e4c375af9f3a5d5c89853b7d19e381.

      Description

      Steps to reproduce:
      1. Go to liferay-plugins/portlets/knowledge-base-portlet
      2. Run ant clean war.

      merge:
          [mkdir] Created dir: H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
           [copy] Copying 6 files to H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\lib
           [copy] Copying 1 file to H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\tld
           [copy] Copying 5 files to H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\lib
      
      compile-java:
           [copy] Copying 70 files to H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
           [copy] Copied 47 empty directories to 28 empty directories under H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
          [javac] Compiling 101 source files to H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\classes
          [javac] ----------
          [javac] 1. ERROR in H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\src\com\liferay\knowledgebase\admin\lar\AdminPortletDataHandler.java (at line 463)
          [javac] 	PortletFileRepositoryUtil.addPortletFileEntry(
          [javac] 	                          ^^^^^^^^^^^^^^^^^^^
          [javac] The method addPortletFileEntry(long, long, String, long, String, long, InputStream, String, String) in the type PortletFileRepositoryUtil is not applicable for the arguments (long, long, String, long, String, long, InputStream, String)
          [javac] ----------
          [javac] ----------
          [javac] 2. ERROR in H:\hudson\jobs\plugins-trunk\workspace\trunk\portlets\knowledge-base-portlet\docroot\WEB-INF\src\com\liferay\knowledgebase\service\impl\KBArticleLocalServiceImpl.java (at line 1116)
          [javac] 	PortletFileRepositoryUtil.addPortletFileEntry(
          [javac] 	                          ^^^^^^^^^^^^^^^^^^^
          [javac] The method addPortletFileEntry(long, long, String, long, String, long, InputStream, String, String) in the type PortletFileRepositoryUtil is not applicable for the arguments (long, long, String, long, String, long, InputStream, String)
          [javac] ----------
          [javac] 2 problems (2 errors)
      
      BUILD FAILED
      H:\hudson\jobs\portal-trunk\workspace\trunk\portal-web\test-ant-scripts\build-test-unit-plugins.xml:32: The following error occurred while executing this line:
      H:\hudson\jobs\portal-trunk\workspace\trunk\build-test-unit.xml:41: The following error occurred while executing this line:
      H:\hudson\jobs\portal-trunk\workspace\trunk\build-test-plugins.xml:215: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build.xml:11: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build.xml:62: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build-common-plugins.xml:50: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build-common-plugins.xml:75: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build-common-plugins.xml:86: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build-common-plugins.xml:56: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build-common-plugin.xml:677: The following error occurred while executing this line:
      H:\hudson\jobs\plugins-trunk\workspace\trunk\build-common.xml:95: Compile failed; see the compiler error output for details.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              robert.srisamang Robert Srisam-ang (Inactive)
              Reporter:
              robert.srisamang Robert Srisam-ang (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 51 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.0 CE M4