Details

    • Fix Priority:
      5

      Description

      Private messaging portlet fails to compile.

      E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet>ant clean war
      Buildfile: E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\build.xml
      
      clean:
         [delete] Deleting directory E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\classes
      
      clean-portal-dependencies:
      
      compile:
      
      merge:
          [mkdir] Created dir: E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\classes
           [copy] Copying 3 files to E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\lib
      
      compile:
      
      compile-java:
      
      jar:
           [copy] Copying 1 file to E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\tld
           [copy] Copying 5 files to E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\lib
      
      compile-java:
           [copy] Copying 61 files to E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\classes
           [copy] Copied 18 empty directories to 11 empty directories under E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\classes
          [javac] Compiling 18 source files to E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\classes
          [javac] ----------
          [javac] 1. ERROR in E:\private\released\ee-6.1.20-plugins\portlets\private-messaging-portlet\docroot\WEB-INF\src\com\liferay\privatemessaging\util\PrivateMessagingUtil.java (at line 311)
          [javac]     return ArrayUtil.toArray(ArrayUtil.toLongArray(groupIds));
          [javac]                                        ^^^^^^^^^^^
          [javac] The method toLongArray(Object[]) in the type ArrayUtil is not applicable for the arguments (List<Long>)
          [javac] ----------
          [javac] 1 problem (1 error)
      
      BUILD FAILED
      E:\private\released\ee-6.1.20-plugins\build-common-plugin.xml:692: The following error occurred while executing this line:
      E:\private\released\ee-6.1.20-plugins\build-common.xml:95: Compile failed; see the compiler error output for details.
      
      Total time: 2 seconds

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mandy.lee Mandy Lee (Inactive)
                Reporter:
                mandy.lee Mandy Lee (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:
                  4 years, 26 weeks, 2 days ago