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

LPS-67089 in compination with LPS-57634 causes java.util.NoSuchElementException

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.X EE, 7.0.X EE, Master
    • Fix Version/s: None
    • Component/s: WCM
    • Labels:
    • Fix Priority:
      3

      Description

      LPS-67089(LPE-15197) in compination with LPS-57634(LPE-14168) causes the following error in.

      16:22:20,415 ERROR [http-bio-8081-exec-5][IncludeTag:129] Current URL /web/child-orga-10/home generates exception: An exception occurred processing JSP page /html/portlet/asset_publisher/view.jsp at line 90___87: __88: <%89: for (long groupId : groupIds) {90: addPortletURLs = AssetUtil.getAddPortletURLs(liferayPortletRequest, liferayPortletResponse, groupId, classNameIds, classTypeIds, allAssetCategoryIds, allAssetTagNames, null);91: __92: if ((addPortletURLs != null) && !addPortletURLs.isEmpty()) {93: hasAddPortletURLs = true;_____Stacktrace: [Sanitized]
      java.util.NoSuchElementException
      at java.util.LinkedList.getLast(LinkedList.java:257)
      at org.hibernate.hql.classic.WhereParser.closeExpression(WhereParser.java:328)
      at org.hibernate.hql.classic.WhereParser.token(WhereParser.java:270)
      at org.hibernate.hql.classic.WhereParser.end(WhereParser.java:310)
      at org.hibernate.hql.classic.ClauseParser.endChild(ClauseParser.java:122)
      at org.hibernate.hql.classic.ClauseParser.end(ClauseParser.java:130)
      at org.hibernate.hql.classic.PreprocessingParser.end(PreprocessingParser.java:145)
      at org.hibernate.hql.classic.ParserHelper.parse(ParserHelper.java:52)
      at org.hibernate.hql.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:240)
      at org.hibernate.hql.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:209)
      at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
      at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
      at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124)
      at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
      at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
      at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770)
      at com.liferay.portal.dao.orm.hibernate.SessionImpl.createQuery(SessionImpl.java:88)
      at com.liferay.portal.dao.orm.hibernate.SessionImpl.createQuery(SessionImpl.java:77)
      at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.createQuery(ClassLoaderSession.java:110)
      at com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistenceImpl.findByGroupId(DLFileEntryTypePersistenceImpl.java:2515)

      The asset publisher is not populated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rimi.saadou Rimi Saadou (Inactive)
                Reporter:
                rimi.saadou Rimi Saadou (Inactive)
                Participants of an Issue:
                Recent user:
                Enterprise Release HU
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 24 weeks, 1 day ago

                  Packages

                  Version Package