This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: jboss-portal-2.6.5.SP1 Creating already existing role buprabhat.jha Aug 21, 2008 10:07 AM (in response to vrockai)Can you see if this is the case with 2.6.6 as well? I think this may be fixed over there. 
- 
        2. Re: jboss-portal-2.6.5.SP1 Creating already existing role buvrockai Aug 21, 2008 10:31 AM (in response to vrockai)same issue on jboss-portal-2.6.6.GA 
 what may be interesting are few lines form run.sh output16:29:08,742 ERROR [AssertionFailure] an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session) org.hibernate.AssertionFailure: null id in org.jboss.portal.identity.db.HibernateRoleImpl entry (don't flush the Session after an exception occurs) 
 and few lines form the web page after submit button...HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: org.hibernate.AssertionFailure: null id in org.jboss.portal.identity.db.HibernateRoleImpl entry (don't flush the Session after an exception occurs) org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause org.hibernate.AssertionFailure: null id in org.jboss.portal.identity.db.HibernateRoleImpl entry (don't flush the Session after an exception occurs) org.hibernate.event.def.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:55) org.hibernate.event.def.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:164) org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:120) org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196) org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) 
 
    