You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Joe Pemberton (JIRA)" <be...@incubator.apache.org> on 2005/02/11 01:03:18 UTC

[jira] Created: (BEEHIVE-277) Passing a control interface in a driver causes Milton to fail

Passing a control interface in a driver causes Milton to fail
-------------------------------------------------------------

         Key: BEEHIVE-277
         URL: http://issues.apache.org/jira/browse/BEEHIVE-277
     Project: Beehive
        Type: Bug
  Components: Controls  
    Reporter: Joe Pemberton
 Assigned to: Zach Smith 
    Priority: Minor


Milton should be able to handle driver methods whose parameters are either control interfaces or beans.  Currently, only beans work.  If this is by design, then Milton should fail gracefully with a useful error message.  Right now, the user only gets "java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl" when using an interface.

@Milton.Test
public Report testTypeParameter(DriverManagerConnectionCtrlBean control){
 ..........
}



//Fails with obscure exception
//java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl
@Milton.Test
public Report testTypeParameter(DriverManagerConnectionCtrl control){
 ..........
}

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-277) Passing a control interface in a driver causes Milton to fail

Posted by "Zach Smith (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-277?page=history ]

Zach Smith updated BEEHIVE-277:
-------------------------------

    Version: V1

> Passing a control interface in a driver causes Milton to fail
> -------------------------------------------------------------
>
>          Key: BEEHIVE-277
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-277
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Joe Pemberton
>     Assignee: Zach Smith
>     Priority: Minor

>
> Milton should be able to handle driver methods whose parameters are either control interfaces or beans.  Currently, only beans work.  If this is by design, then Milton should fail gracefully with a useful error message.  Right now, the user only gets "java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl" when using an interface.
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrlBean control){
>  ..........
> }
> //Fails with obscure exception
> //java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrl control){
>  ..........
> }

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-277) Passing a control interface in a driver causes Milton to fail

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-277?page=all ]
     
Eddie O'Neil closed BEEHIVE-277:
--------------------------------


Closing as Zach's comment implies that this has been fixed.

> Passing a control interface in a driver causes Milton to fail
> -------------------------------------------------------------
>
>          Key: BEEHIVE-277
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-277
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: v1m1
>     Reporter: Joe Pemberton
>     Assignee: Zach Smith
>     Priority: Minor
>      Fix For: v1m1

>
> Milton should be able to handle driver methods whose parameters are either control interfaces or beans.  Currently, only beans work.  If this is by design, then Milton should fail gracefully with a useful error message.  Right now, the user only gets "java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl" when using an interface.
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrlBean control){
>  ..........
> }
> //Fails with obscure exception
> //java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrl control){
>  ..........
> }

-- 
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] Updated: (BEEHIVE-277) Passing a control interface in a driver causes Milton to fail

Posted by "Steve Tocco (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-277?page=history ]

Steve Tocco updated BEEHIVE-277:
--------------------------------

    Fix Version: V1

moving to v1 (if not needed for ship, please move to Fix For = TBD)

> Passing a control interface in a driver causes Milton to fail
> -------------------------------------------------------------
>
>          Key: BEEHIVE-277
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-277
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Joe Pemberton
>     Assignee: Zach Smith
>     Priority: Minor
>      Fix For: V1

>
> Milton should be able to handle driver methods whose parameters are either control interfaces or beans.  Currently, only beans work.  If this is by design, then Milton should fail gracefully with a useful error message.  Right now, the user only gets "java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl" when using an interface.
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrlBean control){
>  ..........
> }
> //Fails with obscure exception
> //java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrl control){
>  ..........
> }

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-277) Passing a control interface in a driver causes Milton to fail

Posted by "Zach Smith (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-277?page=all ]
     
Zach Smith resolved BEEHIVE-277:
--------------------------------

    Resolution: Fixed

Fixed as of 165069

> Passing a control interface in a driver causes Milton to fail
> -------------------------------------------------------------
>
>          Key: BEEHIVE-277
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-277
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Joe Pemberton
>     Assignee: Zach Smith
>     Priority: Minor
>      Fix For: V1

>
> Milton should be able to handle driver methods whose parameters are either control interfaces or beans.  Currently, only beans work.  If this is by design, then Milton should fail gracefully with a useful error message.  Right now, the user only gets "java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl" when using an interface.
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrlBean control){
>  ..........
> }
> //Fails with obscure exception
> //java.lang.ClassCastException: com.sun.tools.apt.mirror.type.InterfaceTypeImpl
> @Milton.Test
> public Report testTypeParameter(DriverManagerConnectionCtrl control){
>  ..........
> }

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