[opencms-dev] Possible Bug in OCMS6

Tristan Tarrant ttarrant at etnoteam.it
Thu Oct 21 19:26:12 CEST 2004


Don't use null for additional info, but an empty Hashtable.
I just use ....., new Hashtable(),....

Tristan

On Thu, 2004-10-21 at 18:37 +0200, Joachim Arrasz wrote:

> Hi there,
> 
> actually i´m working on a new module for ocms6 and tried to create a 
> webuser ... everything worked fine using
> 
> CmsObject cms = Opencms.initCmsObject("Guest");
> cms.addWebUser( .. );
> 
> But when i insert here a null as additional Info ... then i get a 
> NullpointerException in Administration when i want to have a olook into 
> Userdetails ...
> 
> The user was itself successfully inserted into group and user database ...
> 
> Is this correct that then happens a NPE ? Can anyone confirm this behaviour?
> 
> I´m working on Alpha1
> 
> Bye Achim
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041021/b622a6a4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2121 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041021/b622a6a4/attachment.bin>


More information about the opencms-dev mailing list