Folks:
I've been trying to install Xwiki on a Suse 10.2 linux
distribution with apache-tomcat-6.0.16 and MySQL
5.0.26 (the jdbc driver is
mysql-connector-java-5.0.8.jar).
With either Xwiki 1.2.2 or 1.3.rc1 i get a null
pointer exception when I get to the XWikiPreferences
page i.e.
http://localhost:8080/xwiki/bin/objectadd/XWiki/XWikiPreferences?classname=…
for 1.2.2. Using 1.3 the error is terminal (no way to
recover). Using 1.2.2 if I click on the
XWikiPreferences header then I see a normal page,
instead of the exception trace. Except, if I try,
say, to save a comment, I get another trace.
This is my JRE:
java -version
$java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0_08-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03,
mixed mode)
this is the second trace:
Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception
while updating archive XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception
while loading archive 104,408,758
Wrapped Exception: Error number 0 in 3: Exception
while hibernate execute
Wrapped Exception: exception setting property value
with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for
more info) setter of
com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
com.xpn.xwiki.XWikiException: Error number 3201 in 3:
Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception
while updating archive XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception
while loading archive 104,408,758
Wrapped Exception: Error number 0 in 3: Exception
while hibernate execute
Wrapped Exception: exception setting property value
with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for
more info) setter of
com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:384)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
[ ... very long omission ... ]
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1018)
at
com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61)
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(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
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:233)
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:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
I browsed the various resources, but the only null
pointer I found was wrt a totally unrelated
circumstances.
Any kind soul can please tell me what is the gripe
about?
Cheers,
Al
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs