You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "James Song (JIRA)" <be...@incubator.apache.org> on 2004/12/17 01:46:22 UTC

[jira] Created: (BEEHIVE-144) runtime exception if a primitive property reset at time of instantiate

runtime exception if a primitive property reset at time of instantiate
----------------------------------------------------------------------

         Key: BEEHIVE-144
         URL: http://nagoya.apache.org/jira/browse/BEEHIVE-144
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: V1Beta    
    Reporter: James Song
 Assigned to: Kenneth Tam 
     Fix For: V1Beta


Stacktrace:
org.apache.beehive.controls.api.ControlException: ControlBean constructor exception: java.lang.IllegalArgumentException, The delegate map is an incompatible type
	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:81)
	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:48)
	at org.apache.beehive.controls.test.java.instantiate.TestInstantiate.testProgramWithExtProperty(TestInstantiate.java:166)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)


Repro: from trunk/controls/test ant detailed.tests
Test report: trunk/controls/test/tch.html
Test code: controls\test\src\units\org\apache\beehive\controls\test\java\instantiate\TestInstantiate.java
Test method: testProgramWithExtProperty


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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-144) runtime exception if a primitive property reset at time of instantiate

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

    Resolution: Fixed

> runtime exception if a primitive property reset at time of instantiate
> ----------------------------------------------------------------------
>
>          Key: BEEHIVE-144
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-144
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: Kenneth Tam
>      Fix For: V1Beta

>
> Stacktrace:
> org.apache.beehive.controls.api.ControlException: ControlBean constructor exception: java.lang.IllegalArgumentException, The delegate map is an incompatible type
> 	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:81)
> 	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:48)
> 	at org.apache.beehive.controls.test.java.instantiate.TestInstantiate.testProgramWithExtProperty(TestInstantiate.java:166)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> Repro: from trunk/controls/test ant detailed.tests
> Test report: trunk/controls/test/tch.html
> Test code: controls\test\src\units\org\apache\beehive\controls\test\java\instantiate\TestInstantiate.java
> Test method: testProgramWithExtProperty

-- 
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-144) runtime exception if a primitive property reset at time of instantiate

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-144?page=all ]
     
James Song closed BEEHIVE-144:
------------------------------


The test has been running and passing. close this.

> runtime exception if a primitive property reset at time of instantiate
> ----------------------------------------------------------------------
>
>          Key: BEEHIVE-144
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-144
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: James Song
>      Fix For: V1Beta

>
> Stacktrace:
> org.apache.beehive.controls.api.ControlException: ControlBean constructor exception: java.lang.IllegalArgumentException, The delegate map is an incompatible type
> 	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:81)
> 	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:48)
> 	at org.apache.beehive.controls.test.java.instantiate.TestInstantiate.testProgramWithExtProperty(TestInstantiate.java:166)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> Repro: from trunk/controls/test ant detailed.tests
> Test report: trunk/controls/test/tch.html
> Test code: controls\test\src\units\org\apache\beehive\controls\test\java\instantiate\TestInstantiate.java
> Test method: testProgramWithExtProperty

-- 
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] Assigned: (BEEHIVE-144) runtime exception if a primitive property reset at time of instantiate

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

Zach Smith reassigned BEEHIVE-144:
----------------------------------

    Assign To: James Song  (was: Kenneth Tam)

moving this over to you james.

> runtime exception if a primitive property reset at time of instantiate
> ----------------------------------------------------------------------
>
>          Key: BEEHIVE-144
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-144
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: James Song
>      Fix For: V1Beta

>
> Stacktrace:
> org.apache.beehive.controls.api.ControlException: ControlBean constructor exception: java.lang.IllegalArgumentException, The delegate map is an incompatible type
> 	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:81)
> 	at org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:48)
> 	at org.apache.beehive.controls.test.java.instantiate.TestInstantiate.testProgramWithExtProperty(TestInstantiate.java:166)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> Repro: from trunk/controls/test ant detailed.tests
> Test report: trunk/controls/test/tch.html
> Test code: controls\test\src\units\org\apache\beehive\controls\test\java\instantiate\TestInstantiate.java
> Test method: testProgramWithExtProperty

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