dev@jsftemplating.java.net

Re: JSFTemplating: Java Doc required for handler

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Tue, 24 Oct 2006 13:59:13 -0700

Hi Anissa,

I'm pretty sure I did. ;) However, the build env in GlassFish (as we
found out earlier today) has its own local copy of jfstemplating-dt.jar
(which is used to process @annotations). This older copy was very old
-- I updated it to a new copy. This copy will need to be updated to see
updated changes. ;) jfstemplating-dt.jar doesn't change often (although
I *did* just add incremental support today).

Ken

Anissa Lam wrote:
>
> Hi Ken,
> I thought you fixed that quite some time ago. I still see that
> javadoc comment is required for any handler.
> I accidentally use /* instead of /** for the comment and get the
> null pointer exception. Same happens if i don't have any comment at
> all.
>
> compile:
> [echo] JSFTEMP = lib/jsftemplating-dt.jar
> [apt] Compiling 62 source files to
> /Users/anilam/as91/glassfish/admin-gui/admin-jsf/src/docroot/WEB-INF/classes
>
> [apt] Problem encountered during annotation processing;
> [apt] see stacktrace below for more information.
> [apt] java.lang.NullPointerException
> [apt] at
> com.sun.jsftemplating.annotation.HandlerAP.formatComment(HandlerAP.java:205)
>
> [apt] at
> com.sun.jsftemplating.annotation.HandlerAP.process(HandlerAP.java:126)
> [apt] at
> com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
>
> [apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:450)
> thanks
> Anissa.