0 Replies Latest reply on Mar 22, 2006 7:28 PM by rali.genova

    Cannot get content exception in CMSAdminPortlet

      Portal 2.4 alpha (CVS head)
      JBoss 4.0.4CR1
      Windows, Firefox 1.0.7

      there is an error I came across today when trying to edit a file in the CMSAdmin portlet:

      2006-03-22 16:04:00,320 ERROR [org.jboss.portal.cms.impl.jcr.ContentGetCommand] Cannot get content
      javax.jcr.PathNotFoundException: /default/support.html/bg
      at org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePath(HierarchyManagerImpl.java:263)
      at org.apache.jackrabbit.core.CachingHierarchyManager.resolvePath(CachingHierarchyManager.java:127)
      at org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePath(HierarchyManagerImpl.java:202)
      at org.apache.jackrabbit.core.CachingHierarchyManager.resolvePath(CachingHierarchyManager.java:196)
      at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:292)
      at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:717)
      at org.jboss.portal.cms.impl.jcr.ContentGetCommand.execute(ContentGetCommand.java:86)
      at org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandContext.java:61)
      at org.jboss.portal.cms.impl.jcr.FileGetCommand.execute(FileGetCommand.java:88)
      at org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandContext.java:61)
      at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:412)
      at sun.reflect.GeneratedMethodAccessor180.invoke(Unknown Source)

      it happens only if my profile's language is set to something different than the file's locale. Is this a known bug or unanticipated behaviour? After the exception if thrown, the portlet cannot be rendered and disappears completely, I had to redeploy the portal.

      thanks,

      rali