You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Michael Homeijer <M....@devote.nl> on 2001/11/12 14:55:03 UTC
Bug in code formatter?
Hi,
Just spent one hour on a typo :-(
The problem was on ) to many in a logicsheet. This resulted in a problem in
JStyleformatter.java, ie. a nullpointerexception in the exception handling
code.
Am I right that either in getCodeFormatter in
AbstractProgrammingLanguage.java or in ProgramGeneratorImpl something like
the following line should be:
codeFormatter.setLogger(this.getLogger())?
TIA,
Michael Homeijer
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: Bug in code formatter?
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Hi Michael,
thanks for your hint! I added a similar line to the
AbstractProgrammingLanguage, so this should be fixed now.
Carsten
> -----Original Message-----
> From: Michael Homeijer [mailto:M.Homeijer@devote.nl]
> Sent: Monday, November 12, 2001 2:55 PM
> To: 'cocoon-dev@xml.apache.org'
> Subject: Bug in code formatter?
>
>
> Hi,
>
> Just spent one hour on a typo :-(
> The problem was on ) to many in a logicsheet. This resulted in a
> problem in
> JStyleformatter.java, ie. a nullpointerexception in the exception handling
> code.
>
> Am I right that either in getCodeFormatter in
> AbstractProgrammingLanguage.java or in ProgramGeneratorImpl something like
> the following line should be:
> codeFormatter.setLogger(this.getLogger())?
>
> TIA,
> Michael Homeijer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org