[ https://issues.apache.org/jira/browse/DERBY-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002181#comment-13002181 ]
Lily Wei commented on DERBY-5088: --------------------------------- Thanks, Kristian!! From looking at the code, I don't see much. When running the repro script, if I use the same db and get error and harmless telling me database exist and view already there, the script will hang. I understand this is a negative test. However, is this the expect behavior for the fix? Hope this help! > ShutdownException raised in istat thread during factory call > ------------------------------------------------------------ > > Key: DERBY-5088 > URL: https://issues.apache.org/jira/browse/DERBY-5088 > Project: Derby > Issue Type: Bug > Components: Services, Store > Affects Versions: 10.8.0.0 > Reporter: Knut Anders Hatlen > Assignee: Kristian Waagan > Priority: Minor > Attachments: derby-5088-1a-shutdownexception_refactor.diff > > > 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. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira