You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Zach Smith (JIRA)" <de...@beehive.apache.org> on 2005/08/23 00:59:09 UTC

[jira] Closed: (BEEHIVE-613) ControlReferences annotation causes apt exception with default value

     [ http://issues.apache.org/jira/browse/BEEHIVE-613?page=all ]
     
Zach Smith closed BEEHIVE-613:
------------------------------


 verified that having an @ControlReference with default value does not fail to build

> ControlReferences annotation causes apt exception with default value
> --------------------------------------------------------------------
>
>          Key: BEEHIVE-613
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-613
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: TBD
>     Reporter: Chad Schoettger
>     Assignee: Zach Smith
>      Fix For: v1m1

>
> If the @ControlReferences annotation is used and value is not set, apt excepts with a null pointer exception.  It seems like there should not be a default value for this annotation.
> build:
>       [apt] Compiling 2 source files to D:\beehive_alt\trunk\build\dist\apache-beehive-inc
> ubating-svn-snapshot\samples\controls-blank\build\classes
>       [apt] Problem encountered during annotation processing;
>       [apt] see stacktrace below for more information.
>       [apt] java.lang.NullPointerException
>       [apt]     at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotati
> onProcessor.checkControlClientType(ControlClientAnnotationProcessor.java:411)
>       [apt]     at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotati
> onProcessor.check(ControlClientAnnotationProcessor.java:60)
>       [apt]     at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationPro
> cessor.check(TwoPhaseAnnotationProcessor.java:104)
>       [apt]     at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationPro
> cessor.process(TwoPhaseAnnotationProcessor.java:86)
>       [apt]     at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.pr
> ocess(AnnotationProcessors.java:60)
>       [apt]     at com.sun.tools.apt.comp.Apt.main(Apt.java:404)
>       [apt]     at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:440)
>       [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:1017)
>       [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:907)
>       [apt]     at com.sun.tools.apt.Main.compile(Main.java:41)
>       [apt]     at com.sun.tools.apt.Main.main(Main.java:32)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira