It seems that this is the same problem as reported in
http://jira.xwiki.org/jira/browse/XWIKI-2123.
I'm using XWiki 1.1 (1.1.2.5797).
Does anybody know a workaround for this issue?
-----Original Message-----
From: users-bounces(a)xwiki.org
[mailto:users-bounces@xwiki.org]On Behalf
Of Magnus Grimsell
Sent: Tuesday, April 22, 2008 11:08 AM
To: users(a)xwiki.org
Subject: [xwiki-users] exception on update
I just got an exception when trying to update a wiki page with a link.
The page I try to link to is named "Byggsystemet" in space
"Utveckling".
Does anybody know why this happen and if there is a workaround?
java.sql.BatchUpdateException: Duplicate entry
'1127421030-Utveckling.Byggsystemet' for key 1
at
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatemen
t.java:896)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(Deleg
atingStatement.java:294)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(Deleg
atingStatement.java:294)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatc
her.java:58)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatche
r.java:195)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
at
org.hibernate.event.def.AbstractFlushingEventListener.performE
xecutions(AbstractFlushingEventListener.java:296)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(Defa
ultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransacti
on.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWi
kiHibernateBaseStore.java:699)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWi
kiHibernateBaseStore.java:673)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibe
rnateStore.java:314)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheSto
re.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheSto
re.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:957)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:119)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:128)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProce
ssor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.j
ava:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.do
Filter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
cterEncodingFilter.java:117)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.do
Filter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebAp
plicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler
.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebAppl
icationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListene
r.java:244)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users