[opencms-dev] Unable to initialise OpenCms

gavin.ramsey at hsbcib.com gavin.ramsey at hsbcib.com
Fri Mar 3 10:20:02 CET 2006


Hi,

When I try:

CmsObject cms = OpenCms.initCmsObject((new
CmsDefaultUsers()).getUserGuest());

I get a null pointer exception.

I have noticed that :

OpenCms.getRunLevel();

Only gives level 1.

Can anyone suggest what the problem is?

Thanks,

Gavin Ramsey


-----------------------------------------
This transmission has been issued by a member of the HSBC Group "HSBC"
for the information of the addressee only and should not be reproduced
and/or distributed to any other person. Each page attached hereto must
be read in conjunction with any disclaimer which forms part of it.
Unless otherwise stated, this transmission is neither an offer nor the
solicitation of an offer to sell or purchase any investment. Its
contents are based on information obtained from sources believed to be
reliable but HSBC makes no representation and accepts no responsibility
or liability as to its completeness or accuracy.




More information about the opencms-dev mailing list