[ 
https://issues.apache.org/jira/browse/TUSCANY-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485502
 ] 

Caroline Maynard commented on TUSCANY-1147:
-------------------------------------------

Sorry, there's a mistake in the test case I uploaded. The line 

unset($ron);

should not be there. In fact it illustrates the point I was making in 
parentheses at the end of my previous comment - that if the employee is dropped 
first, the AccessViolation does not occur. It must be commented out to see the 
problem. 

> AccessViolation in DataObjectImpl::clearReferences()
> ----------------------------------------------------
>
>                 Key: TUSCANY-1147
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1147
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>         Environment: Win32, PHP 5.2.1
>            Reporter: Caroline Maynard
>            Priority: Critical
>         Attachments: SDOAPITest.php, Tuscany-1147.patch, Tuscany-1147.patch
>
>
> Problem observed when SDO A refers to SDO B.  The reference to SDO A is 
> dropped. Then the reference to SDO B is dropped. An AccessViolation occurs in 
> the SDODataObject destructor, in DataObjectImpl::clearReferences().
> I believe this is because the reference was not properly cleared at the time 
> of A's destruction. 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to