Hello!

As Dan i've just installed xwiki beta 4. I fail when trying to import the xwiki-1.0-beta-4.xar : it loads the page http://<server>/xwiki/bin/upload/XWiki/Import with "tempdirnotset" written on it. However when coming back to the import page the name of the file appears with a size = 0.

I tried then to import only the xwiki-application-panels.xar, and managed to do it successfully. Is it a problem of size and can i fix it?

I can now access the PanelWizard and modify the layout and add panels. But even when saving it doesn't keep my preferences and it comes back to the simple start layout without panels. I don't know if it's tied but when i load the PanelWizard page it forces the english display, i then add the panels (they show up), and when i go back to Webhome they disappear, and i go back to french version :/

Thanks
Nicolas



2007/2/23, Dan Murphy <dm.subs@googlemail.com>:
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.TagClass mean 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


--
You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
To unsubscribe: mailto: xwiki-users-unsubscribe@objectweb.org
For general help: mailto: sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws