You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/06/04 11:17:36 UTC
[jira] Commented: (TUSCANY-1323) DBInitializerTestCase failure
after SDO changes to TUSCANY-1233
[ https://issues.apache.org/jira/browse/TUSCANY-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501158 ]
Kelvin Goodson commented on TUSCANY-1323:
-----------------------------------------
It would seem that the error is caused by a resequencing of the initialization of dependencies in the generated factory's init() method, so that the InternalFactory class initialization has moved from the end to the start of the dependency initialization. The InternalFactory initialization has a cyclic dependency on its own singleton instance by virtue of the reference to it in AttributeImpl, which is resolved if some other factory triggers AttributeImpl's initialization first.
// Initialize simple dependencies
SDOUtil.registerStaticTypes(SDOFactory.class);
SDOUtil.registerStaticTypes(ModelFactory.class);
SDOUtil.registerStaticTypes(InternalFactory.class);
Investigating the fix now ...
> DBInitializerTestCase failure after SDO changes to TUSCANY-1233
> ---------------------------------------------------------------
>
> Key: TUSCANY-1323
> URL: https://issues.apache.org/jira/browse/TUSCANY-1323
> Project: Tuscany
> Issue Type: Bug
> Components: Java DAS RDB
> Affects Versions: Java-DAS-beta1
> Reporter: Luciano Resende
> Priority: Blocker
> Fix For: Java-DAS-beta1
>
>
> Failure report : http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg18484.html
> SDO Committ : http://www.mail-archive.com/tuscany-commits%40ws.apache.org/msg08488.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org