Hi,
On Wed, Jun 17, 2009 at 13:01, Henk Schouten <H.F.Schouten(a)hhs.nl> wrote:
Hello,
While recreating my setup of 2 virtual wiki's now directly under 1.9
instead of upgrading from 1.8.4, I am
getting NullPointerExceptions getting several wiki preferences while
creating a (template) wiki. I cannot
remember that I have seen these exceptions before and I wonder what
might be causing them and if they
are serious errors, since the wikis seems to be created succesfully. For
instance after creating the templatexe
wiki I get the message 'XWiki Enterprise Manager installation success.'
and I can access the wiki as normal.
(Although while doing so directly after creation I got a XWikiException
telling the wiki templatexe does not
exist. After a restart of xwiki even that problem seems to be gone... )
The reason I made this new setup was trying to solve my previous problem
with the Live Table 'Loading....'
never ends problem. That problem is now solved, going to the Document
Index page, the status Loading...
only appears for a few moments. But I would expect to see at least some
documents here, but nothing is
shown. So there stills seems to be a (another?) problem here...
What I did was remove all subwiki users and the xwiki tables from the
Oracle database. Then restart xwiki
and let it recreate all xwiki tables. After that I recreated the
(template) wikis again.
Hope someone can help me with resolving this issues.
Thanks,
Henk
--
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I reproduced it also on trunk. It seems to append on an empty wiki
when there is not XWikiPreferences the getXWikiPreference expect to
find a preference object but can't find it and fail.
Note that it works because whatever the issue getXWikiPreference catch
all exception and simply return empty result like when the asked
preference does not exists. You can see that what is printed is a WAR
(warning) log.
--
Thomas Mortagne