I have the following code snippet:

Resource res = results.nextResource();
log.debug(res.getId());
log.error((String) res.getContent());

res.getId() returns a NullPointer whereas getContent() returns the actual content just fine.

Any idea what might be wrong? (I guess another stupid question of mine ...)

TIA

Michi

--
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
[EMAIL PROTECTED]                        [EMAIL PROTECTED]



Reply via email to