cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bazeley, John" <>
Subject SOLVED: JavaScript in XSL/Xalan/BSF issue Cocoon 2.1.7
Date Thu, 02 Jun 2005 11:34:27 GMT
Hi All,

If you get NullPointerExceptions from Xalan when trying to call JavaScript code inside a 

<xalan:component ... >
<xalan:script lang="javascript">

block, the fix, as it turns out, is simple. The problem is that the Xalan component expects
to find the BSF component in the package The bsf 2.3.0 component delivered as
part of Cocoon-2.1.7 is in the package org.apache... The quick fix is to download v2.2 of
BSF which still lives in URL for download is

My debugging of the problem was not helped by the fact that the crucial, informative, stack
trace did not appear in error.log or handled-errors.log, but on stderr.

Hope this helps someone,
Cheers, John

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

View raw message