cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo (JIRA)" <>
Subject [jira] Commented: (COCOON-1931) Provide more information when compiling a Flowscript fails
Date Mon, 16 Oct 2006 05:22:41 GMT
    [ ] 
Antonio Gallardo commented on COCOON-1931:

Would you test the 2.1.10 branch on subversion. I think it was fixed just few days ago. I
tried to reproduce the issue using the calculator flow sample:

Here is what I did:

1. When I removed the file, I got: /home/agallardo/svn/cocoon-2.1/build/webapp/samples/flow/jxcalc/calc.js
(No such file or directory)

2. When I remove a closing ")" for a funtion call I got:

Missing ")"


Would you try the newest version and try to provide an NPE? If you are not able, please let
us know to close this issue. Many thanks in advance.

> Provide more information when compiling a Flowscript fails
> ----------------------------------------------------------
>                 Key: COCOON-1931
>                 URL:
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: - Flowscript
>    Affects Versions: 2.1.8, 2.1.9, 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>            Reporter: Georg H├╝ttenegger
>            Priority: Minor
>         Attachments:
> When a flowscript defined in the sitemap cannot be loaded a NullPointerException is thrown
without telling the developer the real cause of the issue.
> The same is true for certain Javascript coding errors (at least missing closing bracket
of a for loop).
> The provided patch throws a CascadingRuntimeException with the name of the flowscript
instead of just a simple NullPointerException. In that way the developer is lead directly
to the cause of the problem instead of wondering what the real issue might be.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message