[opencms-dev] Backoffice module development / debugging

Cyrill Brunschwiler c.brunschwiler at bluewin.ch
Wed Jul 16 23:29:01 CEST 2003


Hi

I try to build a little backoffice module. So i did like mentioned in the
OpenCMS doc and built my backoffice class with all the required methods.
I designed an administration icon, placed the workplace.properties and so
on... but i'm still unable to figure out some strange exception messages
which appear in the header frame after clicking on the icon.
And i'm feed up to the back teeth about candel light debugging.

Has anybody a running environement which allows remote debugging of opencms?
How did you config it?

Further i thought it might be a good idea to compile the existing
news module backoffice class to be quick on the uptake what's going on.
But it wasn't such good idea. The same error encountered.

SNIPPLET >----------- 

>Root cause:
>java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
>	at java.util.Vector.elementAt(Vector.java:427)
>	at com.opencms.defaults.A_CmsBackoffice.getContentHead(A_CmsBackoffice.java:1407)
>	at com.opencms.defaults.A_CmsBackoffice.getContent(A_CmsBackoffice.java:421)

Could someone tell me what i might have forgotten?
Has anybody a really good debugging setup of opencms?
Maybe the developers of ALKACON... how do you debug?

Greez and thanks
Cyrill



More information about the opencms-dev mailing list