0 Replies Latest reply on Feb 13, 2006 6:09 AM by Ramarao

    [color=green]Clicking on Management tab using forums portlet

    Ramarao Newbie

      hi,


      when i logged in to Admin and Clicking on Management tab using forums portlets throughing error on console given below

      [RoleModuleImpl] Cannot count roles
      yException: could not resolve property: ID of: org.jboss.portal.core.impl.role.RoleImpl [select count(g.ID) from org.jboss.portal.core.impl.ro

      ernate.persister.entity.AbstractPropertyMapping.throwPropertyException(AbstractPropertyMapping.java:43)
      ernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:37)
      ernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1264)
      ernate.hql.ast.tree.FromElementType.getPropertyType(FromElementType.java:278)
      ernate.hql.ast.tree.FromElement.getPropertyType(FromElement.java:372)
      ernate.hql.ast.tree.DotNode.getDataType(DotNode.java:528)
      ernate.hql.ast.tree.DotNode.prepareLhs(DotNode.java:221)
      ernate.hql.ast.tree.DotNode.resolve(DotNode.java:172)
      ernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:94)
      ernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:90)
      ernate.hql.ast.HqlSqlWalker.resolve(HqlSqlWalker.java:626)
      ernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1215)
      ernate.hql.antlr.HqlSqlBaseWalker.aggregateExpr(HqlSqlBaseWalker.java:2883)
      ernate.hql.antlr.HqlSqlBaseWalker.count(HqlSqlBaseWalker.java:2477)
      ernate.hql.antlr.HqlSqlBaseWalker.selectExpr(HqlSqlBaseWalker.java:1967)
      ernate.hql.antlr.HqlSqlBaseWalker.selectExprList(HqlSqlBaseWalker.java:1821)
      ernate.hql.antlr.HqlSqlBaseWalker.selectClause(HqlSqlBaseWalker.java:1392)
      ernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:553)
      ernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
      ernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
      ernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:216)
      ernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:156)
      ernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:103)
      ernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:473)
      ernate.impl.SessionImpl.getQueries(SessionImpl.java:1060)
      ernate.impl.SessionImpl.list(SessionImpl.java:1010)
      ernate.impl.QueryImpl.list(QueryImpl.java:74)
      ernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:650)
      ss.portal.core.impl.role.RoleModuleImpl.getRolesCount(RoleModuleImpl.java:343)
      lect.NativeMethodAccessorImpl.invoke0(Native Method)
      lect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      lect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      ng.reflect.Method.invoke(Method.java:585)
      ss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
      ss.mx.server.Invocation.dispatch(Invocation.java:80)
      ss.mx.server.Invocation.invoke(Invocation.java:72)
      ss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
      ss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
      ss.mx.server.Invocation.invoke(Invocation.java:74)
      ss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
      ss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
      ss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
      15.getRolesCount(Unknown Source)
      ss.portal.core.portlet.role.RolePortlet.getNbRolesString(RolePortlet.java:664)
      ss.portal.core.portlet.role.RolePortlet.doView(RolePortlet.java:157)
      ss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:230)
      ss.portlet.JBossPortlet.render(JBossPortlet.java:217)
      ss.portlet.JBossPortlet.render(JBossPortlet.java:360)
      ss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:512)
      ss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:429)
      ss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
      ss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
      ss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
      ss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
      ss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      ss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
      ss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
      ss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      ss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76)
      ss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)

      what could be the problem.i tried both the JBP 2.2 and jbp 2.2.1 rc version also.

      pls let me know if any suggestions

      Thanks
      Ramarao