Details

      Description

      Actually 6.1.0 GA1 version is used.
      While most of Wiki pages can be deleted without problems, there are few that fail. They were created by the same method like the rest. It is completely random. I don't see any rule there.

      java.lang.StackOverflowError
      org.apache.commons.collections.map.AbstractHashedMap.hash(AbstractHashedMap.java:373)
      org.apache.commons.collections.map.AbstractHashedMap.getEntry(AbstractHashedMap.java:433)
      org.apache.commons.collections.map.LRUMap.get(LRUMap.java:174)
      com.liferay.portal.dao.orm.common.EntityCacheImpl.loadResult(EntityCacheImpl.java:158)
      com.liferay.portal.kernel.dao.orm.EntityCacheUtil.loadResult(EntityCacheUtil.java:55)
      com.liferay.portal.dao.orm.common.FinderCacheImpl._primaryKeyToResult(FinderCacheImpl.java:242)
      com.liferay.portal.dao.orm.common.FinderCacheImpl._primaryKeyToResult(FinderCacheImpl.java:231)
      com.liferay.portal.dao.orm.common.FinderCacheImpl.getResult(FinderCacheImpl.java:121)
      com.liferay.portal.kernel.dao.orm.FinderCacheUtil.getResult(FinderCacheUtil.java:58)
      com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl.findByN_H_P(WikiPagePersistenceImpl.java:6898)
      com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl.findByN_H_P(WikiPagePersistenceImpl.java:6838)
      com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.deletePage(WikiPageLocalServiceImpl.java:458)
      com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.deletePage(WikiPageLocalServiceImpl.java:462)
      com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.deletePage(WikiPageLocalServiceImpl.java:462)
      com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.deletePage(WikiPageLocalServiceImpl.java:462)
      ...

      There is problem in the following code. It looks there is an infinite loop. That pages have no children at all. I can't somehow debug it unfortunately, it is on production server.

      List<WikiPage> children = wikiPagePersistence.findByN_H_P(
      page.getNodeId(), true, page.getTitle());

      for (WikiPage curPage : children) {
      deletePage(curPage);
      }

      There is no way how to delete these pages

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 27 weeks, 1 day ago

                Packages

                Version Package
                6.2.0 CE M4