You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2011/03/02 23:04:37 UTC
[jira] Created: (DERBY-5087) NPE in istat daemon when encountering
critical exception during shutdown
NPE in istat daemon when encountering critical exception during shutdown
------------------------------------------------------------------------
Key: DERBY-5087
URL: https://issues.apache.org/jira/browse/DERBY-5087
Project: Derby
Issue Type: Bug
Components: Services, Store
Affects Versions: 10.8.0.0
Reporter: Kristian Waagan
Assignee: Kristian Waagan
Priority: Minor
If the istat daemon encounters a critical error during shutdown and the data dictionary module has been stopped, it will run into a NPE.
This bug is highly timing-dependent in two ways: the data dictionary module must have been stopped first, and then the istat daemon must encounter a critical error "at the right time".
I have seen this bug once on my laptop.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-5087) NPE in istat daemon when
encountering critical exception during shutdown
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001733#comment-13001733 ]
Kristian Waagan commented on DERBY-5087:
----------------------------------------
Here's the stacktrace:
Exception in thread "index-stat-thread" java.lang.NullPointerException
at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.disableIndexStatsRefresher(DataDictionaryImpl.java:13745)
at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.handleFatalErrors(IndexStatisticsDaemonImpl.java:896)
at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(IndexStatisticsDaemonImpl.java:761)
> NPE in istat daemon when encountering critical exception during shutdown
> ------------------------------------------------------------------------
>
> Key: DERBY-5087
> URL: https://issues.apache.org/jira/browse/DERBY-5087
> Project: Derby
> Issue Type: Bug
> Components: Services, Store
> Affects Versions: 10.8.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
>
> If the istat daemon encounters a critical error during shutdown and the data dictionary module has been stopped, it will run into a NPE.
> This bug is highly timing-dependent in two ways: the data dictionary module must have been stopped first, and then the istat daemon must encounter a critical error "at the right time".
> I have seen this bug once on my laptop.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (DERBY-5087) NPE in istat daemon when encountering
critical exception during shutdown
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Waagan closed DERBY-5087.
----------------------------------
Resolution: Fixed
Fix Version/s: 10.8.0.0
Closing, no more work expected on this issue.
> NPE in istat daemon when encountering critical exception during shutdown
> ------------------------------------------------------------------------
>
> Key: DERBY-5087
> URL: https://issues.apache.org/jira/browse/DERBY-5087
> Project: Derby
> Issue Type: Bug
> Components: Services, Store
> Affects Versions: 10.8.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
> Fix For: 10.8.0.0
>
> Attachments: derby-5087-1a-npe_on_shutdown.diff
>
>
> If the istat daemon encounters a critical error during shutdown and the data dictionary module has been stopped, it will run into a NPE.
> This bug is highly timing-dependent in two ways: the data dictionary module must have been stopped first, and then the istat daemon must encounter a critical error "at the right time".
> I have seen this bug once on my laptop.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (DERBY-5087) NPE in istat daemon when encountering
critical exception during shutdown
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Waagan updated DERBY-5087:
-----------------------------------
Attachment: derby-5087-1a-npe_on_shutdown.diff
Attaching patch 1a, which removes the possibility of the NPE.
Also removed unnecessary variable 'daemonStopped', replacing it with 'daemonDisabled' where used.
Committed to trunk with revision 1076445.
> NPE in istat daemon when encountering critical exception during shutdown
> ------------------------------------------------------------------------
>
> Key: DERBY-5087
> URL: https://issues.apache.org/jira/browse/DERBY-5087
> Project: Derby
> Issue Type: Bug
> Components: Services, Store
> Affects Versions: 10.8.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
> Attachments: derby-5087-1a-npe_on_shutdown.diff
>
>
> If the istat daemon encounters a critical error during shutdown and the data dictionary module has been stopped, it will run into a NPE.
> This bug is highly timing-dependent in two ways: the data dictionary module must have been stopped first, and then the istat daemon must encounter a critical error "at the right time".
> I have seen this bug once on my laptop.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira