The strange thing is that I do It.
And the exception is obtained when .size() method is called.
My source code:
Categories cat = categorieFacade.find(categoryId);
Collection<Contents> contents = cat.getContentsCollection();
contents.size();
When I debug the source code before
contents.size()
the contents variable tooltip tell me:
contents = (oracle.toplink.essentials.indirection.IndirectList) { IndirectList: not instantiated}
[Message sent by forum member 'peppeme' (peppeme)]
http://forums.java.net/jive/thread.jspa?messageID=249956