You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2006/02/14 19:06:09 UTC

[jira] Created: (BEEHIVE-1067) Invalid value for @ControlReferences annotation causes assertion error in apt

Invalid value for @ControlReferences annotation causes assertion error in apt
-----------------------------------------------------------------------------

         Key: BEEHIVE-1067
         URL: http://issues.apache.org/jira/browse/BEEHIVE-1067
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: v1m1    
    Reporter: Chad Schoettger
 Assigned to: Chad Schoettger 
    Priority: Minor


If an invalid value is used in a ControlReferences annotation an assertion error is throw during apt processing.  Should report error in a compiler friendly manner.

For example:

@ControlReferences(value={java.lang.String.class})

causes:

java.lang.AssertionError
    at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.getControlInterfaceOrExtension(ControlClientAnnotationProcessor.java:520)
    at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.generate(ControlClientAnnotationProcessor.java:221)
    at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:90)

-- 
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


[jira] Resolved: (BEEHIVE-1067) Invalid value for @ControlReferences annotation causes assertion error in apt

Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1067?page=all ]
     
Chad Schoettger resolved BEEHIVE-1067:
--------------------------------------

    Fix Version: v.next
     Resolution: Fixed
      Assign To: Jacob Danner  (was: Chad Schoettger)

Fixed svn rev 377800, added additional check for ControlReferences type values.

> Invalid value for @ControlReferences annotation causes assertion error in apt
> -----------------------------------------------------------------------------
>
>          Key: BEEHIVE-1067
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1067
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: v1m1
>     Reporter: Chad Schoettger
>     Assignee: Jacob Danner
>     Priority: Minor
>      Fix For: v.next

>
> If an invalid value is used in a ControlReferences annotation an assertion error is throw during apt processing.  Should report error in a compiler friendly manner.
> For example:
> @ControlReferences(value={java.lang.String.class})
> causes:
> java.lang.AssertionError
>     at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.getControlInterfaceOrExtension(ControlClientAnnotationProcessor.java:520)
>     at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.generate(ControlClientAnnotationProcessor.java:221)
>     at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:90)

-- 
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