Hello All:

Just an FYI about a potential pitfall for those using JBuilder7 to create Cocoon Generators... (C2.0.3).

When extending org.apache.cocoon.generation.AbstractGenerator using the New Class function in JB7, JB7 will automatically import org.apache.cocoon.xml.*; into the class. This leads to a NullPointerException in YourGeneratorClass.generate() method at the

contentHandler.startDocument();

method at runtime.

(at least it does on my machine... just qualifying my statements to CMA where needed...)

Hope this helps all you JBuilder users out there.

Cheers :-)

Reply via email to