Bug 1213782
Summary: | Could not complete storage cluster schema installation: java.lang.NullPointerException | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Filip Brychta <fbrychta> |
Component: | Installer, Storage Node | Assignee: | Libor Zoubek <lzoubek> |
Status: | CLOSED ERRATA | QA Contact: | Filip Brychta <fbrychta> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | JON 3.3.0 | CC: | lzoubek, miburman, theute |
Target Milestone: | ER01 | Keywords: | Triaged |
Target Release: | JON 3.3.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-30 16:42:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1213366 |
Description
Filip Brychta
2015-04-21 09:38:41 UTC
This is more than strange. I don't understand that NPE, especially when there are log messages from org.rhq.cassandra.schema.KeyScanner (which seams to be null according to stack trace) The only fix I can think of now is detecting the NPE, safely exit migration and print warning message suggesting to repeat the migration. I found a potential issue in KeyScanner constructor, which may happen, if we fail loading tokens from any node in cluster. If it fails (which does seem to be above stacktrace) exception being thrown was ignored and finally block was executed. branch: master link: https://github.com/rhq-project/rhq/commit/2d173cd61 time: 2015-06-15 12:19:33 +0200 commit: 2d173cd61f7d0e9eb3eaf8e86f9ed72eb3f6272a author: Libor Zoubek - lzoubek message: Bug 1213782 - Could not complete storage cluster schema installation: java.lang.NullPointerException Correctly handle errors which might occur in KeyScanner constructor Cherry-picked to release/jon3.3.x: commit b5b3684f4d65cd86a20e14c0cde847c9b3d1fd41 Author: Libor Zoubek <lzoubek> Date: Mon Jun 15 12:19:33 2015 +0200 Bug 1213782 - Could not complete storage cluster schema installation: java.lang.NullPointerException Correctly handle errors which might occur in KeyScanner constructor (cherry picked from commit 2d173cd61f7d0e9eb3eaf8e86f9ed72eb3f6272a) Available for test with 3.3.3 ER01 build: https://brewweb.devel.redhat.com/buildinfo?buildID=446732 *Note: jon-server-patch-3.3.0.GA.zip maps to ER01 build of jon-server-3.3.0.GA-update-03.zip. Verified on Version : 3.3.0.GA Update 03 Build Number : e4b348a:2f80c8c Upgrade was canceled and correct msg was shown "Failed to load tokens....". Second invocation worked. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1525.html |