-----Ursprüngliche Nachricht-----
Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
Auftrag von Marius Dumitru Florea
Gesendet: Donnerstag, 13. September 2012 13:53
An: XWiki Users
Betreff: Re: [xwiki-users] PDFClass - PDFTemplate XAR import issue
On Thu, Sep 13, 2012 at 2:34 PM, Haimerl, Josef <Josef.Haimerl@de-
gmbh.com> wrote:
Maybe for better understanding the exception for
the documents that
don't work until I saved them in addition.
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Velocity Macro for content at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(Ve
locityMacro.java:131)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(Ve
locityMacro.java:50)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(Abstrac
tScriptMacro.java:302)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScript
Macro.java:198)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScript
Macro.java:59)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.tra
nsformOnce(MacroTransformation.java:187)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.tra
nsform(MacroTransformation.java:132)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.
performTransformations(DefaultTransformationManager.java:83)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentCont
entDisplayer.java:248)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentCont
entDisplayer.java:124)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentCont
entDisplayer.java:54)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocume
ntDisplayer.java:80)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocume
ntDisplayer.java:38)
at
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocum
entDisplayer.java:118)
at
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocum
entDisplayer.java:57)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(Configured
DocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(Configured
DocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.ja
va:862)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.ja
va:841)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.ja
va:872)
at
com.xpn.xwiki.api.Document.getRenderedContent(Document.java:586)
at
sun.reflect.GeneratedMethodAccessor449.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInv
oke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefere
nce.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReferenc
e.java:567)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpressio
n.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDir
ective.java:142)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.j
ava:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:228)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRender
er.java:117)
at
com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1791)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1728)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:839)
at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInv
oke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefere
nce.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReferen
ce.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacro
Proxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.
java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.
java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.j
ava:207)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.j
ava:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:228)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRender
er.java:117)
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1791)
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestP
rocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2
36)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:15
39)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:343)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:217)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:217)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.jav
a:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:217)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:217)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilt
er(SavedRequestRestorerFilter.java:217)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:217)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilte
r(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:217)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:279)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.java:175)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:6
55)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
nLockingStandardPipeline.java:91)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
162)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
a:330)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
31)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
pper.java:174)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java
:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocol
Chain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104
)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.
java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:
59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
l.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.jav
a:513)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
content
with id [xwiki:Arbeitsmappen.Typen]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:247)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:184)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(Ve
locityMacro.java:124)
... 106 more
Caused by:
org.apache.velocity.exception.VelocityException: Error
invoking method 'get(java.lang.Integer)' in
java.util.Collections$EmptyList at xwiki:Code.Types[line 58, column
20]
The exception message is clear: you try to get an item from an empty list.
Check your code (xwiki:Code.Types at line 58 column 20) and see why the list
is empty.
Hope this helps,
Marius
[Haimerl, Josef]
Yes I know, this is because I use "#set($counterresults =
$xwiki.search($counter))" to fill the list. And search only works with admin-rights.
So my idea was that there is something wrong with the right or rather user management.
This would also explain why the code works after I saved the site.
at
org.apache.velocity.runtime.parser.node.ASTIndex.execute(ASTIndex.java:1
75)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefere
nce.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReferenc
e.java:567)
at
org.apache.velocity.runtime.parser.node.ASTEQNode.evaluate(ASTEQNode.
java:84)
at
org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpres
sion.java:62)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:85)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.j
ava:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.j
ava:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.j
ava:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:228)
> ... 108 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInv
oke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTIndex.execute(ASTIndex.java:1
49)
... 121 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:2970)
... 128 more
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> Auftrag von Haimerl, Josef
> Gesendet: Donnerstag, 13. September 2012 12:25
> An: XWiki Users
> Betreff: Re: [xwiki-users] PDFClass - PDFTemplate XAR import issue
>
> Obviously even if the other files of the xar import are going
> through, there is something wrong with all of them.
> First the code of all imported files doesn't work, but when I put an
> enter somewhere in and save, they do.
> Other files can't even be edited, the source is greyed out in xwiki
> editor. I deleted the file, created it and put the source-code with
> copy & paste manually in and it works.
> What could be the reason for this?
> I already checked for invalid bytes, persistent utf8 encoding, etc.
>
> > -----Ursprüngliche Nachricht-----
> > Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> > Auftrag von Haimerl, Josef
> > Gesendet: Donnerstag, 13. September 2012 09:24
> > An: users(a)xwiki.org
> > Betreff: [xwiki-users] PDFClass - PDFTemplate
> >
> > For a custom PDF export I'm using a PDFTemplate based on the
> > PDFClass as described here
> >
>
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOv
> e
> > r
> > r
> > idetheCSSrules
> >
> > I overwrote the xhtml2xsl transformation. Everything worked fine in
> > the test environment, but when importing the xar with the relevant
> > files into the productive system I got following exception:
> >
> > (I already got this exception, the problem was an invalid byte
> > sequence which was easy to solve)
> >
> > (already tried to create the document manually -> same error)
> >
> >
> >
> > 2012-09-12 15:05:35,470 ERROR
> > [
http://localhost:8148/wiki/bin/import/XWiki/XWikiPreferences?secti
> > on= Im port] c.x.x.p.p.Package [Package.java:767] Failed to save
> > document Code.PDFTemplate
> >
> > com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception
> > while saving document xwiki: Code.PDFTemplate
> >
> > Wrapped Exception: Failed to commit or rollback transaction. Root
> > cause []
> >
> > at
> >
>
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateSt
> o
> > r
> > e
> > .java:693) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> >
>
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:
> > 1
> > 7
> > 4) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> >
>
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:
> > 1
> > 6
> > 7) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
> > ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1337)
> > ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java
> > :74
> > 5) [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)
> > [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:3
> > 16) [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
> > [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
> > [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> > [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> >
>
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
> t
> > P
> > r
> > ocessor.java:431) [struts-1.2.9.jar:1.2.9]
> >
> > at
> >
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> > 236) [struts-1.2.9.jar:1.2.9]
> >
> > at
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1
> > 196
> > )
> > [struts-1.2.9.jar:1.2.9]
> >
> > at
> > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:43
> > 2)
> > [struts-1.2.9.jar:1.2.9]
> >
> > at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> > [javax.servlet.jar:na]
> >
> > at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> > [javax.servlet.jar:na]
> >
> > at
> >
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:
> > 15
> > 39) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > pli
> > ca
> > tionFilterChain.java:343) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFi
> > lt
> > erChain.java:217) [web-core.jar:3.1.1]
> >
> > at
> > com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> > [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > pli
> > ca
> > tionFilterChain.java:256) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFi
> > lt
> > erChain.java:217) [web-core.jar:3.1.1]
> >
> > at
> > org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversio
> > nFi
> > lt
> > er.java:144) [xwiki-platform-wysiwyg-server-3.5.1.jar:na]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > pli
> > ca
> > tionFilterChain.java:256) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFi
> > lt
> > erChain.java:217) [web-core.jar:3.1.1]
> >
> > at
> >
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
> > 68)
[xwiki-platform-webdav-server-3.5.1.jar:na]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > pli
> > ca
> > tionFilterChain.java:256) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFi
> > lt
> > erChain.java:217) [web-core.jar:3.1.1]
> >
> > at
> > org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
> > doFilter(SavedRequestRestorerFilter.java:217)
> > [xwiki-platform-container-servlet-3.5.1.jar:na]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > pli
> > ca
> > tionFilterChain.java:256) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFi
> > lt
> > erChain.java:217) [web-core.jar:3.1.1]
> >
> > at
> > org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
> > doFilter(SetCharacterEncodingFilter.java:109)
> > [xwiki-platform-container-servlet-3.5.1.jar:na]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > pli
> > ca
> > tionFilterChain.java:256) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFi
> > lt
> > erChain.java:217) [web-core.jar:3.1.1]
> >
> > at
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> > alv
> > e.java:279) [web-core.jar:3.1.1]
> >
> > at
> >
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> a
> > l
> > v
> > e.java:175) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline
> > .ja
> > va
> > :655) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.j
> > ava
> > :5
> > 95) [web-core.jar:3.1.1]
> >
> > at
> > com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> > [web-glue.jar:3.1.1]
> >
> > at
> >
>
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESess
> i
> > o
> > n
> > LockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
> >
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve
> > .ja
> > va
> > :162) [web-core.jar:3.1.1]
> >
> > at
> >
>
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.j
> a
> > v
> > a
> > :330) [web-core.jar:3.1.1]
> >
> > at
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.j
> > ava
> > :2
> > 31) [web-core.jar:3.1.1]
> >
> > at
> > com.sun.enterprise.v3.services.impl.ContainerMapper.service(Contain
> > erM
> > a
> > p
> > per.java:174) [kernel.jar:3.1.1]
> >
> > at
> > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java
> > :82
> > 8)
> > [grizzly-http.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725
> > )
> > [grizzly-http.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> > [grizzly-http.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolF
> > ilt
> > er
> > .java:225) [grizzly-http.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultP
> > rot
> > oc
> > olChain.java:137) [grizzly-framework.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.j
> > ava
> > :1
> > 04) [grizzly-framework.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.j
> > ava
> > :9
> > 0) [grizzly-framework.jar:1.9.36]
> >
> > at
> >
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:
> > 79
> > ) [grizzly-http.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContex
> > tTa
> > sk
> > .java:54) [grizzly-framework.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTas
> > k.j
> > av
> > a:59) [grizzly-framework.jar:1.9.36]
> >
> > at
> > com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> > [grizzly-framework.jar:1.9.36]
> >
> > at
> >
>
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
> o
> > o
> > l
> > .java:532) [grizzly-utils.jar:1.9.36]
> >
> > at
> >
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.
> > ja
> > va:513) [grizzly-utils.jar:1.9.36]
> >
> > at java.lang.Thread.run(Thread.java:619)
> > [na:1.6.0_20]
> >
> > Caused by: org.hibernate.HibernateException: Failed to commit or
> > rollback transaction. Root cause []
> >
> > at
> >
>
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiber
> n
> > a
> > t
> > eBaseStore.java:876) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> >
>
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiber
> n
> > a
> > t
> > eBaseStore.java:840) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > at
> >
>
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateSt
> o
> > r
> > e
> > .java:683) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
> >
> > ... 58 common frames omitted
> >
> > Caused by: org.hibernate.StaleObjectStateException: Row was updated
> > or deleted by another transaction (or unsaved-value mapping was
incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#<?xml
version="1.0"
encoding="UTF-8"?>
<xhtmlxsl><?xml version="1.0" encoding="UTF-8"?>
Many thanks in advance! Regards,
Josef
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users