Hi,
Recently one of my pages just started generating this exception
whenever we went to the page. It prevented any of the page from
rendering
(only the exception was on the page, nothing else) so I can't even
delete the page.
This is bad, but the bigger problem is that I can't search the wiki for
content because when I search for terms that I know are on the
old page, I get the same exception.
To recover the data, I copied the content from the XWD_CONTENT column in
the xwikidoc table and created a new page with the content from the
database (it had information that would have been difficult to replace).
The new page renders properly, the old page is still broken (see below)
and the search is still broken.
Does anyone know what the problem might be and how I can fix it?
If I can't fix the old page, is there a way for me to delete it without
having to go to the page?
This is pretty important, because a lot of the terms on the old page we
want to search on are very common for our project.
Any help greatly appreciated!
Neil
Here is the exception I receive when I try to go to the old page, or if
I try to search the wiki with terms I know are on the old page.
Error number 4001 in 4: Error while parsing velocity page Wrapped
Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page
Wrapped Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:131)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:220)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:172)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:114)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:772)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:250)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:220)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55
)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:70)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55
)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:70)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:220)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:172)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:114)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
</xwiki/bin/view/Main/WebHome> ?FPRIVATE "TYPE=PICT;ALT=XWiki"
<<Picture (Metafile)>> </xwiki/bin/view/Main/WebHome>
${doc.fullName} <$viewurl>
$msg.get("login")
<../../login/XWiki/XWikiLogin?xredirect=http://pvm09bedesh2:8080/xwiki/b
in/view/OWNERS/ProjectContacts>
$msg.get("register") <../../view/XWiki/RegisterNewUser>
XWiki <http://www.xwiki.org> Version 0.9.840
</xwiki/bin/view/Main/WebHome>
$msg.get("problemoccured")
$msg.get("detailedinformation"):
Error number 3202 in 3: Exception while reading document
OWNERS.ProjectContacts
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document OWNERS.ProjectContacts
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore
.java:646)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:12
3)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.PropertyAccessException: exception setting property value
with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more
info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTupl
izer.java:203)
at
org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173
)
at
org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(Ba
sicEntityPersister.java:2900)
at
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113
)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java
:510)
at org.hibernate.loader.Loader.doQuery(Loader.java:419)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loade
r.java:210)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
at
org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPers
ister.java:2461)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(Defa
ultLoadEventListener.java:350)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEvent
Listener.java:331)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventLi
stener.java:113)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoad
EventListener.java:167)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEvent
Listener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore
.java:575)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:12
3)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: net.sf.cglib.beans.BulkBeanException: Lexical error at line
216, column 117. Encountered: "]" (93), after : ""
at
com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyVa
lues()
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTupl
izer.java:200)
... 56 more
Caused by: org.apache.commons.jrcs.rcs.TokenMgrError: Lexical error at
line 216, column 117. Encountered: "]" (93), after : ""
at
org.apache.commons.jrcs.rcs.ArchiveParserTokenManager.getNextToken(Archi
veParserTokenManager.java:800)
at
org.apache.commons.jrcs.rcs.ArchiveParser.jj_consume_token(ArchiveParser
.java:558)
at
org.apache.commons.jrcs.rcs.ArchiveParser.archive(ArchiveParser.java:104
)
at
org.apache.commons.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:55)
at org.apache.commons.jrcs.rcs.Archive.(Archive.java:230)
at
com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:475)
... 58 more
Hello all,
Is it possible to change the message users get when they do not have
proper access rights i.e. "You need to have the 'comment' right to post a
comment." I restrict comments from anonymous users and I'd like to remind my
users that they may need to login. This would save me from answering
numerous e-mails about "not being able to post comments."
I'd like mine to read like this: You are unable to post a comment
because either you have not registered (<-- with a link to the register
page) or you are not logged in (<-- with a link to the login page).
Is this a change I can make or would an admin have to make the change?
Thanks in advance for the help. I appreciate it.
- Michael
We have just installed Xwiki (0.9.840) and it was working fine, but now
we have a problem.
I think someone may have changed something as Admin.
When I post a new News from the front page for a blog, I can choose a
category. The entry shows up fine
on the front page of the Xwiki. However, when I choose the blog
category, there is nothing there.
It's like I never made an entry.
This is the URL which looks correct to me:
http://my.companyname.com/xwiki/bin/view/Blog/Category?category=Marketing%2…
When I click the permalink and hit edit, it shows the category as selected.
I don't see anything obvious in catalina.out. How can I figure out why
no blog entries show up?
It doesn't matter if I'm logged in as Admin or a regular user.
-Dave
--
Dave Mangot
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
dmangot(a)terracottatech.com
This e-mail incorporates Terracotta's confidentiality policy, which is
online at http://www.terracottatech.com/emailconfidentiality.shtml
I was wondering if anyone has gotten xwiki working with resin 3.0.18, i have
tried to follow the resin install docs and tried to follow the xwiki install
docs, but have not been able to get it completely working. Everytime i try
to load the site I get the following:
500 Servlet Exception
java.lang.NullPointerException
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
at org.apache.commons.digester.Digester.parse(Digester.java:1572)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:708)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:670)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:329)
at javax.servlet.GenericServlet.init(GenericServlet.java:69)
at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:600)
at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:152)
at com.caucho.server.webapp.Application.start(Application.java:1599)
at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:587)
at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:550)
at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:176)
at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:708)
at com.caucho.util.Alarm.handleAlarm(Alarm.java:350)
at com.caucho.util.Alarm.run(Alarm.java:320)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:492)
at com.caucho.util.ThreadPool.run(ThreadPool.java:425)
at java.lang.Thread.run(Thread.java:595)
------------------------------
Resin-3.0.18 (built Fri, 24 Feb 2006 02:47:03 PST)
Any pointers people can recommend i would greatly appreciate it.
Adam
Not sure if this is the problem, but shouldn't that path be:
http://objectwebcon06.objectweb.org/xwiki/bin/view/Main/WebHome?rev=1.16
6 instead of
http://objectwebcon06.objectweb.org/xwiki/bin/viewrev/Main/WebHome?rev=1
.166
?
-----Original Message-----
From: Xavier MOGHRABI [mailto:xavier.moghrabi@objectweb.org]
Sent: 26 April 2006 12:13
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] History ViewRev not working
Dear XWiki users and developers,
I've recently experienced a strange behaviour on my patched XWiki
installation.
When I try to view a old revision page from the history menu, I get a
HTTP 404 error.
I seems that this kind of link doesn't work such as:
http://objectwebcon06.objectweb.org/xwiki/bin/viewrev/Main/WebHome?rev=1
.166
Can some body help me to correct my problem ?
Thank you in advance.
--
Xavier MOGHRABI - Consortium ObjectWeb
Phone: +33 4 76 61 52 35 SIP: xmoghrabi(a)213.91.9.210
Dear XWiki users and developers,
I've recently experienced a strange behaviour on my patched XWiki
installation.
When I try to view a old revision page from the history menu, I get a HTTP 404
error.
I seems that this kind of link doesn't work such as:
http://objectwebcon06.objectweb.org/xwiki/bin/viewrev/Main/WebHome?rev=1.166
Can some body help me to correct my problem ?
Thank you in advance.
--
Xavier MOGHRABI - Consortium ObjectWeb
Phone: +33 4 76 61 52 35 SIP: xmoghrabi(a)213.91.9.210
Hi all
I just installed the latest release of xwiki on my box, and found next
assertion in the log file.
15:24:24,718 ERROR http-8080-Processor24
http://localhost:8080/xwiki/bin/view/Main/WebHome
AssertionFailure:<init>:22 - 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: possible nonthreadsafe access to session
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:83)
Configuration: Windows XP Pro SP2, jdk 1.5, Tomcat 5.5, PostgreSQL 8.0
Any body know how to fix it?
--
With b/r,
Viacheslav N Tararin
On 4/22/06, Robin Fernandes <rewbs.soal(a)gmail.com> wrote:
> Hi,
>
> When creating a new template, class based page (e.g. the FAQs), I
> occasionally (maybe 1 in 40-50 times) get a blank document after
> filling out the form and clicking save. I have seen this both on
> xwiki.org/xwiki.com and 2 personal 0.9.840 installations. Several
> other users of these installations have seen this issue too.
>
> Here's an example:
> http://www.xwiki.com/xwiki/bin/view/Doc/HowCanIDynamicallyEscapeOutBackslas…
>
> I created that document from the "create a new FAQ entry" form on
> http://www.xwiki.com/xwiki/bin/view/Doc/WebHome . I was presented
> with the FAQ form, which I filled out. But when I pressed Save,
> frustratingly it just saved a blank document. My form content was
> gone. No object is associated with the doc - it's as if the template
> was completely ignored.
>
> Has anyone else has seen this before?
> Any ideas re what could be causing it?
Hi, sorry to reply late. It's a known bug, fixed in the last version
on the svn. I don't remember the cause of the problem, but I know
Ludovic have fixed it.
Jeremi
--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki: http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki: http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com