beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Created: (BEEHIVE-613) ControlReferences annotation causes apt exception with default value
Date Fri, 06 May 2005 21:03:09 GMT
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
    Priority: Minor


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


Mime
View raw message