Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-213
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-213
Summary: NullPointerException in ContextCommit with locking
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
Cayenne Core Library
Versions:
1.1
Assignee: Andrus Adamchik
Reporter: Bryan Lewis
Created: Fri, 15 Oct 2004 6:20 PM
Updated: Fri, 15 Oct 2004 6:20 PM
Environment: Cayenne 1.1-RC1, Oracle 8i, Windows XP, JBoss+Tomcat, j2sdk1.42_04.
Description:
I made a relatively small test case which I'll attach as jd.zip; it has a ReadMe.txt. In the process of boiling it down, I found one line of my code that causes the exception to happen later at commitChanges time. It modifies the value of an attribute used for locking. It's what I do on almost all my entities -- it's a timestamp for the sake of optimistic locking -- but something goes wrong with this particular entity, leading to:
java.lang.NullPointerException
at org.objectstyle.cayenne.access.ContextCommit.appendOptimisticLockingAttributes(ContextCommit.java:564)
Thanks!
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.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
This archive was generated by hypermail 2.0.0 : Fri Oct 15 2004 - 18:20:48 EDT