Michael Wechner wrote:
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 ...)
Can you describe how you got this resource (with null ID)?
Vadim
