History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: COR-1105
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Patrick Roemer
Reporter: Andy 2003
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
db4o Core

[TA] java.lang.IllegalStateException if unbind is called

Created: 17/Jan/08 07:33 PM   Updated: 23/Jan/08 03:27 PM
Component/s: Java ByteCode Engineering
Affects Version/s: None
Fix Version/s: 7.1.26

Time Tracking:
Not Specified

File Attachments: 1. Text File ta_unbind.patch (2 kb)

Environment: svn version
Issue Links:
Duplicate
 

Order: 3
Resolution Date: 23/Jan/08 03:27 PM
Labels:
Participants: Andy 2003 and Patrick Roemer
Number of Attachments: 1
Number of Comments: 0


 Description  « Hide
an IllegalStateException is thrown if an TA enhanced file is used with the TransparentActivationSupport.unbind() method. chacking the parameter for null solves this issue.

A Patch with TestCase and fix is attached.

Caused by: java.lang.IllegalStateException
at foo.Bar.bind(Bar.java)
at com.db4o.ta.TransparentActivationSupport.bind(TransparentActivationSupport.java:87)
at com.db4o.ta.TransparentActivationSupport.unbind(TransparentActivationSupport.java:74)
at com.db4o.ta.TransparentActivationSupport.access$200(TransparentActivationSupport.java:15)
at com.db4o.ta.TransparentActivationSupport$5.visit(TransparentActivationSupport.java:64)
at com.db4o.internal.ObjectReference.hc_traverse(ObjectReference.java:647)
at com.db4o.internal.ObjectReference.hc_traverse(ObjectReference.java:638)
at com.db4o.internal.ObjectReference.hc_traverse(ObjectReference.java:638)
at com.db4o.internal.ObjectReference.hc_traverse(ObjectReference.java:638)
at com.db4o.internal.HashcodeReferenceSystem.traverseReferences(HashcodeReferenceSystem.java:119)
at com.db4o.internal.TransactionalReferenceSystem.traverseReferences(TransactionalReferenceSystem.java:85)
at com.db4o.ta.TransparentActivationSupport.unbindAll(TransparentActivationSupport.java:62)
at com.db4o.ta.TransparentActivationSupport.access$100(TransparentActivationSupport.java:15)
at com.db4o.ta.TransparentActivationSupport$3.onEvent(TransparentActivationSupport.java:38)
at com.db4o.internal.events.Event4Impl.onEvent(Event4Impl.java:77)

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.