You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Kyle Marvin (JIRA)" <be...@incubator.apache.org> on 2004/12/07 21:22:11 UTC
[jira] Resolved: (BEEHIVE-124) control extension:context on Entensible is NULL
[ http://nagoya.apache.org/jira/browse/BEEHIVE-124?page=history ]
Kyle Marvin resolved BEEHIVE-124:
---------------------------------
Resolution: Fixed
James, I took a look at the specifics of this test and believe it will be resolved by the fix in svn revision 110138
> control extension:context on Entensible is NULL
> -----------------------------------------------
>
> Key: BEEHIVE-124
> URL: http://nagoya.apache.org/jira/browse/BEEHIVE-124
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1Beta
> Reporter: James Song
> Assignee: Kyle Marvin
> Fix For: V1Beta
>
> Problem: I have a detailed test that tries to get property via a method declared on the Extensible control, the test failed because the context on the Extensible is NULL.
> Is this an usage error?
> Repro: run ant detailed.tests from controls/test dir
> in controls/test/tch.html there is an aborted test:
> SubControlTest-testGetReconfiguredPropertyByContext2.testGetReconfiguredPropertyByContext2
> Testcase name SubControlTest.testGetReconfiguredPropertyByContext2
> Test path D:\beehive\controls\test\mantis-cases\org-apache-beehive-controls-test-java-extension.xml:83
> execution output
> ********************************
> Context is NULL
> ********************************
> java.lang.NullPointerException
> at org.apache.beehive.controls.test.controls.extension.ExtensibleControlImpl.getLayerByContext(ExtensibleControlImpl.java:34)
> at org.apache.beehive.controls.test.controls.extension.ExtensibleControlBean.getLayerByContext(ExtensibleControlBean.java:107)
> at org.apache.beehive.controls.test.driver.extension.DriveSubControl.doGetReconfiguredPropertyByContext(DriveSubControl.java:189)
> at org.apache.beehive.controls.test.java.extension.SubControlTest.testGetReconfiguredPropertyByContext2(SubControlTest.java:266)
> 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)
--
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