cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liam Morley <lmor...@WPI.EDU>
Subject solution for SOME sitemap compilation errors
Date Thu, 02 Aug 2001 10:57:08 GMT
After spending weeks looking through Cocoon's java code, I finally fixed
my problem. As it didn't jump out at me, I thought I might mention it to
the list, so that it might help someone else out there.

Simply, VisualCafe is not compatible with Cocoon. This is because
VisualCafe changes your classpath. As this wouldn't make much of a
difference in most cases, it does for Cocoon as Cocoon has to compile
classes at runtime. So when Cocoon looks for, it
doesn't find it; instead, it finds VisualCafe's compiler. It attempts to
use a 'classic' compiler, but this doesn't work with VisualCafe either.
You wind up with a NullPointerException: because the compile didn't work,
Cocoon tries to return a list of errors, but there aren't any, resulting
in the error list being returned as null.

I can't say for sure, but I'd guess that this is a bug in

The quick solution is to clear the CLASSPATH before starting Tomcat:


I hope this helps SOMEBODY out there.. if not, I hope the developers see
this and try to tie up a loose end.

Liam Morley

"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message