[jboss-user] [JBoss Portal] - Re: unicode settings for mysql 5.0 database

k3nnymusic do-not-reply at jboss.com
Wed Jul 25 11:09:31 EDT 2007


This is exception when I try to post new topic with national characters


  | type Exception report
  | 
  | message 
  | 
  | description The server encountered an internal error () that prevented it from fulfilling this request.
  | 
  | exception 
  | 
  | javax.servlet.ServletException: null id in org.jboss.portlet.forums.impl.PostImpl entry (don't flush the Session after an exception occurs)
  | 	org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:321)
  | 	org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:168)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | root cause 
  | 
  | org.hibernate.AssertionFailure: null id in org.jboss.portlet.forums.impl.PostImpl 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:157)
  | 	org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:113)
  | 	org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
  | 	org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
  | 	org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
  | 	org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | 	org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | 	org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59)
  | 	org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491)
  | 	org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110)
  | 	org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324)
  | 	org.jboss.tm.TxManager.commit(TxManager.java:240)
  | 	org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
  | 	org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
  | 	org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
  | 	org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
  | 	org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
  | 	org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
  | 	org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | 	org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
  | 	org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:295)
  | 	org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:168)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067443#4067443

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067443



More information about the jboss-user mailing list