Derby
  1. Derby
  2. DERBY-5088

ShutdownException raised in istat thread during factory call

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.1.2
    • Component/s: Services, Store
    • Labels:
      None
    • Issue & fix info:
      Patch Available

      Description

      Reported by Knut Anders in DERBY-5082:

      While running the repro script, I've also seen this exception printed to the console:

      Exception in thread "index-stat-thread" org.apache.derby.iapi.error.ShutdownException:
      at org.apache.derby.iapi.services.context.ContextService.getFactory(ContextService.java:210)
      at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(IndexStatisticsDaemonImpl.java:700)
      at java.lang.Thread.run(Thread.java:619)

      ij didn't error out in that case, though.

      This happens when the database is shut down before the istat worker thread has been initialized.

        Issue Links

          Activity

          Knut Anders Hatlen created issue -
          Kristian Waagan made changes -
          Field Original Value New Value
          Link This issue is depended upon by DERBY-5082 [ DERBY-5082 ]
          Kristian Waagan made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Kristian Waagan made changes -
          Kristian Waagan made changes -
          Issue & fix info [Patch Available]
          Kristian Waagan made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 10.8.0.0 [ 12315561 ]
          Resolution Fixed [ 1 ]
          Kristian Waagan made changes -
          Link This issue is part of DERBY-4939 [ DERBY-4939 ]
          Rick Hillegas made changes -
          Affects Version/s 10.8.1.1 [ 12316356 ]
          Affects Version/s 10.8.1.0 [ 12315561 ]
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Fix Version/s 10.8.1.0 [ 12315561 ]
          Rick Hillegas made changes -
          Affects Version/s 10.8.1.2 [ 12316362 ]
          Affects Version/s 10.8.1.1 [ 12316356 ]
          Fix Version/s 10.8.1.2 [ 12316362 ]
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Workflow jira [ 12600517 ] Default workflow, editable Closed status [ 12801115 ]

            People

            • Assignee:
              Kristian Waagan
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Development