Jeremy,

I have commited a change which just tests whether "compiler" is null.
EjbcHelper is only concerned if build.compiler is set to Jikes, so there is
no need to set it to a particular value if it is not actually set by the
build file.

Thanks for finding this.

Conor


> -----Original Message-----
> From: Taylor, Jeremy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 17 October 2000 21:48
> To: '[EMAIL PROTECTED]'
> Subject: EjbcHelper null pointer (Again)
>
>
> Please excuse the clumsiness, first time posting to this list. I tried to
> log the bug on the website, really I did try, 4 times.....
>
> I have been getting NullPointer exceptions from the optional WebLogic4.51.
> EjbcHelper class.
>
> My local fix is to insert the following at line 319 of EjbcHelper.java
>
>         if (compiler == null) {
>             if (Project.getJavaVersion().startsWith("1.3")) {
>                 compiler = "modern";
>             } else {
>                 compiler = "classic";
>             }
>         }
>
> This seems to do the trick.
>
> Environment:
>
>       ANT     1.2rc
>       NT      4.5.1
>       Java    JDK1.3
>
> My local version attached below:
>
>  <<EjbcHelper.java>>
>

Reply via email to