[ 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