Hi all,
I've recently updated a couple of XWiki installations to 1.2.6932.
Either with old documents or with new ones, when I try to see a given
revision of a page, any of them, I get the following exception:
Error number 3103 in 3: Exception while reading document version {1}
Wrapped Exception: Error number 13027 in 13: Exception while patching
Wrapped Exception: line::java.lang.NumberFormatException
com.xpn.xwiki.XWikiException: Error number 3103 in 3: Exception while
reading document version {1}
Wrapped Exception: Error number 13027 in 13: Exception while patching
Wrapped Exception: line::java.lang.NumberFormatException
at
com.xpn.xwiki.doc.XWikiDocumentArchive.loadDocument(XWikiDocumentArchive.java:319)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDoc(XWikiHibernateVersioningStore.java:162)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1060)
at com.xpn.xwiki.web.XWikiAction.handleRevision(XWikiAction.java:257)
at com.xpn.xwiki.web.ViewrevAction.render(ViewrevAction.java:29)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Unknown Source)
This happens both in wikis where I've imported the 1.2 .xar and where I
don't.
Comparisons between releases usually show the whole content highlighted
green. Or no changes at all.
New documents work fine for "a while". I say "a while" because I am not
able to identify the point where they start behaving as the old ones.
Please, could you help me with this issue! Thank you so much.
Ricardo
--
Ricardo RodrÃguez
Your EPEC Network ICT Team
Hello All,
I am a newbie in XWiki.
I installed the standalone version of XWiki and also downloaded the source
code for the platform (core) and for the Enterprise (Product).
Can anyone guide me as to what should I do next if I wanted to play a little
with the Enterprise code and add some features to it.
I am using Eclipse IDE.
Thanks
Hello,
I'm having a headache trying to understand why those 2 pieces of groovy
do not generate exactly the same thing :
1)-
<%
// LOOP 10 times
println ( '<event>' + xwiki.getXMLEncoded(blablabla) + '</event>' )
// END LOOP
%>
2)-
<%
str = ''
// LOOP 10 times
str = str + '<event>' + xwiki.getXMLEncoded(blablabla) + '</event>\n'
// END LOOP
println(str)
%>
"blablabla" is a formatted text (in my case, the description field of an
article for example).
1) produces what is expected : it writes 10 lines of text, beginning
with '<event>', and special characters in "blablabla" are correctly
translated.
2) produces any number of lines (> 10), because carriage returns inside
"blablabla" have not been translated, and so many lines are written for
each line expected.
I 'm not sure if this is the right place for this, but if someone as an
idea it would greatly help me ...
Best Regards,
Jeremie
Hi,
The xwiki.db2.hbm.xml file from http://platform.xwiki.org/xwiki/bin/
view/AdminGuide/InstallationDB2
doesn't work with the current version 1.2.6932, because the original
mapping from xwiki.hbm.xml
changed apparently.
i am in the process of writing a new one; if anyone is interested:
where can i post it?
-felix
Hello,
I would like to reference the same and unique skin from the 'controller'
wiki (named 'xwiki'), in all my virtual wikis, but it seems that in
preferences page, the notation 'xwiki:XWiki.MySkin' does not work ...
Is this possible ?
Thanks,
Jeremie
Hello,
I'm trying the XEM locally on my computer, over a XWiki instance :
- replaced the .war content in web server
- added all possible rights I could think about to 'xwiki' mysql user ;)
(I also tried directly with 'root' user)
- imported completely the XEM default .xar
Wiki creation seems to work as long as new domain is defined in
/etc/host, but I fail to add the default template, from page
XemManager.Install, and so newly created wikis are empty ...
[Logs]
Com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document XWiki.XWikiPreferences Wrapped Exception: could not
load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore
.java:469)
[...]
Wrapped Exception:
java.sql.SQLException: Table 'templatexe.xwikidoc' doesn't exist
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847)
[...]
[/Logs]
After looking at the mysql db, schema 'templatexe' has been created, but
remains empty ...
Thanks for your help,
Jeremie.