Uploaded image for project: 'OJB'
  1. OJB
  2. OJB-15

Randomly concurrency problem in Identity class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 1.0.x CVS, 1.1 CVS
    • 1.0.5
    • JDO-API, ODMG-API, OTM-API, PB-API
    • None
    • all

    Description

      Seems that randomly a concurrency problem occur in Identity class. The stack trace look like this:
      <snip>
      testLockingOfObject Error OJB needs at least one primary key attribute for class
      OJB needs at least one primary key attribute for class:
      objectTopLevelClass=org.apache.ojb.odmg.LockingMultithreadedTest$LockObjectobjectRealClass=org.apache.ojb.odmg.LockingMultithreadedTest$LockObjectpkValues=null
      object to identify: org.apache.ojb.odmg.LockingMultithreadedTest$LockObject@ad339b at org.apache.ojb.broker.Identity.createException(Identity.java:391)
      </snip>

      If this happen again, please post your stack trace as comment. Maybe it is possible to isolate the problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arminw Armin Waibel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: