[opencms-dev] Problem was NullPointerEcxeption while importing a module

Joachim Arrasz info at arrasz.de
Wed Apr 21 09:13:02 CEST 2004


Hello all,

some days ago people had problems installing Modules into their Opencms
Systems. They got a NullpointerException in CmsRegistry#getModuleInfo.
This is problem with the encoding from Opencms. If you look in the Modules
manifest.xml from this module (it was the newsfeed-rss-module) you can see
that the encoding is set to ISO-8859-15.
This is the mistake, because the xerxes1.4.4 which comes with opencms
didn`t know this encoding so far and because of this the import crashes!
So what can you do?

edit manifest.xml and set encoding from this file to ISO-8859-1 or just
the special encoding you configured your System to.
Hope this helps to stop this problem.

For coredevelopers: I think it`s not a bug, but it will be very nice if
the encoding is first checked before the import starts! Is this needed for
new Release too? If this is needed i`ll give a try to patch this and send
you then the sources later on. If not i will wait and just make a entry in
our Forum as knowledge base!
Kind Regards

Joachim Arrasz

Synyx oHG

-- 
Questions about OpenCMS?
--> www.opencms-forum.de






More information about the opencms-dev mailing list