Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1B1
    • Component/s: Core Library
    • Labels:
      None
    • Environment:
      3.0M3

      Description

      I have gotten this one a couple of times on our production system running 3.0M3. As far as I see, this code has not been improved since 3.0M3, so I register this as a major bug.

      "TP-Processor5" daemon prio=10 tid=0x00002aab798c0400 nid=0xc2e waiting for monitor entry [0x0000000043e64000..0x000000
      0043e66bb0]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.apache.cayenne.access.DataRowStore.getCachedSnapshot(DataRowStore.java:351)

      • waiting to lock <0x00002aaab91a5c40> (a org.apache.cayenne.access.DataRowStore)
        at org.apache.cayenne.access.DataDomainQueryAction.interceptOIDQuery(DataDomainQueryAction.java:174)
        at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:114)
        at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:740)
        at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:296)
        at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:84)
        at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1331)
        at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1320)
        at org.apache.cayenne.DataObjectUtils.objectForQuery(DataObjectUtils.java:275)
        at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:261)
        at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:172)

      "DefaultQuartzScheduler_Worker-10" prio=10 tid=0x00002aab7afedc00 nid=0xc20 waiting for monitor entry [0x0000000043a62000..0x0000000043a62db0]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.apache.cayenne.access.DataRowStore.getCachedSnapshot(DataRowStore.java:351)

      • waiting to lock <0x00002aaab91a5c40> (a org.apache.cayenne.access.DataRowStore)
        at org.apache.cayenne.access.DataDomainQueryAction.interceptOIDQuery(DataDomainQueryAction.java:174)
        at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:114)
        at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:740)
        at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:296)
        at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:84)
        at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1331)
        at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1320)
        at org.apache.cayenne.DataObjectUtils.objectForQuery(DataObjectUtils.java:275)
        at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:261)
        at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:172)

      "DefaultQuartzScheduler_Worker-3" prio=10 tid=0x00002aab7af02c00 nid=0xc19 waiting for monitor entry [0x000000004335b000..0x000000004335be30]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.apache.cayenne.access.DataRowStore.snapshotsUpdatedForObjects(DataRowStore.java:234)

      • waiting to lock <0x00002aaab91a5c40> (a org.apache.cayenne.access.DataRowStore)
        at org.apache.cayenne.access.ObjectResolver.objectsFromDataRows(ObjectResolver.java:125)
        at org.apache.cayenne.access.ObjectResolver.synchronizedObjectsFromDataRows(ObjectResolver.java:101)
      • locked <0x00002aaabb39bb70> (a org.apache.cayenne.access.ObjectStore)
        at org.apache.cayenne.access.DataDomainQueryAction.interceptObjectConversion(DataDomainQueryAction.java:460)
        at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:129)
        at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:740)
        at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:296)
        at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:84)
        at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1331)
        at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1320)

        Issue Links

          Activity

          Tore Halset created issue -
          Tore Halset made changes -
          Field Original Value New Value
          Description I have gotten this one a couple of times on our production system running 3.0M3. As far as I see, this code has not been improved since 3.0M3, so I register this as a major bug.

          "TP-Processor5" daemon prio=10 tid=0x00002aab798c0400 nid=0xc2e waiting for monitor entry [0x0000000043e64000..0x000000
          0043e66bb0]
             java.lang.Thread.State: BLOCKED (on object monitor)
          at org.apache.cayenne.access.DataRowStore.getCachedSnapshot(DataRowStore.java:351)
          - waiting to lock <0x00002aaab91a5c40> (a org.apache.cayenne.access.DataRowStore)
          at org.apache.cayenne.access.DataDomainQueryAction.interceptOIDQuery(DataDomainQueryAction.java:174)
          at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:114)
          at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:740)
          at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:296)
          at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:84)
          at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1331)
          at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1320)
          at org.apache.cayenne.DataObjectUtils.objectForQuery(DataObjectUtils.java:275)
          at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:261)
          at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:172)



          I have gotten this one a couple of times on our production system running 3.0M3. As far as I see, this code has not been improved since 3.0M3, so I register this as a major bug.

          "TP-Processor5" daemon prio=10 tid=0x00002aab798c0400 nid=0xc2e waiting for monitor entry [0x0000000043e64000..0x000000
          0043e66bb0]
             java.lang.Thread.State: BLOCKED (on object monitor)
          at org.apache.cayenne.access.DataRowStore.getCachedSnapshot(DataRowStore.java:351)
          - waiting to lock <0x00002aaab91a5c40> (a org.apache.cayenne.access.DataRowStore)
          at org.apache.cayenne.access.DataDomainQueryAction.interceptOIDQuery(DataDomainQueryAction.java:174)
          at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:114)
          at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:740)
          at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:296)
          at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:84)
          at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1331)
          at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1320)
          at org.apache.cayenne.DataObjectUtils.objectForQuery(DataObjectUtils.java:275)
          at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:261)
          at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:172)

          "DefaultQuartzScheduler_Worker-10" prio=10 tid=0x00002aab7afedc00 nid=0xc20 waiting for monitor entry [0x0000000043a62000..0x0000000043a62db0]
             java.lang.Thread.State: BLOCKED (on object monitor)
                  at org.apache.cayenne.access.DataRowStore.getCachedSnapshot(DataRowStore.java:351)
                  - waiting to lock <0x00002aaab91a5c40> (a org.apache.cayenne.access.DataRowStore)
                  at org.apache.cayenne.access.DataDomainQueryAction.interceptOIDQuery(DataDomainQueryAction.java:174)
                  at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:114)
                  at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:740)
                  at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:296)
                  at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:84)
                  at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1331)
                  at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1320)
                  at org.apache.cayenne.DataObjectUtils.objectForQuery(DataObjectUtils.java:275)
                  at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:261)
                  at org.apache.cayenne.DataObjectUtils.objectForPK(DataObjectUtils.java:172)



          "DefaultQuartzScheduler_Worker-3" prio=10 tid=0x00002aab7af02c00 nid=0xc19 waiting for monitor entry [0x000000004335b000..0x000000004335be30]
             java.lang.Thread.State: BLOCKED (on object monitor)
                  at org.apache.cayenne.access.DataRowStore.snapshotsUpdatedForObjects(DataRowStore.java:234)
                  - waiting to lock <0x00002aaab91a5c40> (a org.apache.cayenne.access.DataRowStore)
                  at org.apache.cayenne.access.ObjectResolver.objectsFromDataRows(ObjectResolver.java:125)
                  at org.apache.cayenne.access.ObjectResolver.synchronizedObjectsFromDataRows(ObjectResolver.java:101)
                  - locked <0x00002aaabb39bb70> (a org.apache.cayenne.access.ObjectStore)
                  at org.apache.cayenne.access.DataDomainQueryAction.interceptObjectConversion(DataDomainQueryAction.java:460)
                  at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:129)
                  at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:740)
                  at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:296)
                  at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:84)
                  at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1331)
                  at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1320)
           

          Ari Maniatis made changes -
          Fix Version/s 3.0 [ 10091 ]
          Fix Version/s Short term future [ 10125 ]
          Henri Yandell made changes -
          Project Import Sat Mar 21 00:51:04 PDT 2009 [ 1237621864637 ]
          Ari Maniatis made changes -
          Workflow jira [ 12456847 ] Cayenne workflow [ 12487521 ]
          Andrus Adamchik made changes -
          Link This issue relates to CAY-1670 [ CAY-1670 ]
          Andrus Adamchik made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 3.1M4 [ 12317958 ]
          Fix Version/s Short term future [ 12313762 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Tore Halset
              Reporter:
              Tore Halset
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development