Hi,
Just installed a fresh xwiki beta 4 on WAS CE 1.1 (and MySQL
5.0.22-Debian_0ubuntu6.06.2). And have a couple of probs :( Appologies in
advance for the lenght of the email - that's stack traces for you ;)
When I started the server I got a number of warning and errors I've not seen
before - are these "normal" ?
16:39:56,995 ERROR [SimpleLog4JLogSystem] RHS of #set statement is null.
Context will not be modified. [line 9, column 1]
16:39:56,995 ERROR [SimpleLog4JLogSystem] Left side
($objuser.getProperty("usertype").value) of '==' operation has null
value.
If a reference, it may not be in the context. Operation not possible. [line
10, column 66]
16:39:56,997 WARN [SimpleLog4JLogSystem]
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = [line 1,column 31] : ${doc.parent.title} is not a valid
reference.
16:39:57,010 ERROR [SimpleLog4JLogSystem] RHS of #set statement is null.
Context will not be modified. [line 1, column 1]
16:39:57,041 ERROR [SimpleLog4JLogSystem] RHS of #set statement is null.
Context will not be modified. [line 18, column 1]
16:39:57,045 ERROR [SimpleLog4JLogSystem] VM #breadcrumb: error : too few
arguments to macro. Wanted 3 got 0
16:39:57,097 ERROR [SimpleLog4JLogSystem] Left side ($!hidecolumns) of '=='
operation has null value. If a reference, it may not be in the context.
Operation not possible. [line 9, column 21]
16:39:57,097 ERROR [SimpleLog4JLogSystem] RHS of #set statement is null.
Context will not be modified. [line 11, column 1]
16:39:57,266 ERROR [SimpleLog4JLogSystem] Left side ($category) of '=='
operation has null value. If a reference, it may not be in the context.
Operation not possible. Main.WebHome [line 5, column 16]
16:39:57,266 WARN [SimpleLog4JLogSystem]
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = Main.WebHome [line 1,column 242] : ${category} is not a valid
reference.
16:39:57,647 ERROR [SimpleLog4JLogSystem] Left side ($velocityCount) of '=='
operation has null value. If a reference, it may not be in the context.
Operation not possible. Main.WebHome [line 48, column 42]
Although they claim to be coming from Main.WebHome, they don't exist at the
line referenced in the document (or in the included
Main.Dashboard(AFAICS)). Seems like it might be a problem in the skin.
Also,
When I import the beta 4 XAR, the Panels.PanelWizard failed to import.... I
then selected just this page again (from the import wizard) and it imported
ok. Is this expected (I was wondering if the dependency on
XWIKI.TagClassmean that the XWIKI space needs to imported first... but
then I've not seen
this behaviour before).
Unfortunatly I suspect that the error message showing the reason for the
failure was swallowed by the following exception I found in the logs :
16:12:31,021 WARN [RegexTokenFilter] <span
class="error">Exception</span>:
com.xpn.xwiki.render.filter.MacroFilter@1000100
java.lang.NullPointerException
at org.radeox.macro.parameter.BaseMacroParameter.insertValue(
BaseMacroParameter.java:142)
at org.radeox.macro.parameter.BaseMacroParameter.split(
BaseMacroParameter.java:120)
at org.radeox.macro.parameter.BaseMacroParameter.setParams(
BaseMacroParameter.java:58)
at org.radeox.filter.MacroFilter.handleMatch(MacroFilter.java:100)
at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(
RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java
:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at org.radeox.engine.BaseRenderEngine.render(BaseRenderEngine.java:108)
at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(
XWikiRadeoxRenderer.java:70)
at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(
XWikiHibernateStore.java:1459)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:305)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:890)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java
:547)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:488)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java
:191)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:90)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:150)
...
16:12:31,023 WARN [RegexTokenFilter] <span
class="error">Exception</span>:
com.xpn.xwiki.render.filter.MacroFilter@14001400
java.lang.NullPointerException
at org.radeox.macro.parameter.BaseMacroParameter.insertValue(
BaseMacroParameter.java:142)
at org.radeox.macro.parameter.BaseMacroParameter.split(
BaseMacroParameter.java:120)
at org.radeox.macro.parameter.BaseMacroParameter.setParams(
BaseMacroParameter.java:58)
at org.radeox.filter.MacroFilter.handleMatch(MacroFilter.java:100)
at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(
RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java
:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at org.radeox.engine.BaseRenderEngine.render(BaseRenderEngine.java:108)
at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(
XWikiRadeoxRenderer.java:70)
at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(
XWikiHibernateStore.java:1459)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(
XWikiHibernateStore.java:305)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:890)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java
:547)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:488)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java
:191)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:90)
... more removed for the sake of sanity :)
Any advice ?
Cheers,
Dan