Bug 818919
Summary: | NPE occurs in BaseServerComponent.installManagementUser() | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Charles Crouch <ccrouch> |
Component: | Tests | Assignee: | Charles Crouch <ccrouch> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.3 | CC: | hbrock, hrupp |
Target Milestone: | --- | ||
Target Release: | RHQ 4.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-01 10:06:53 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: | 707223, 818673, 830865 |
Description
Charles Crouch
2012-05-04 11:01:16 UTC
Looks related (4:59:41 AM) pilhuhn: IpsOne of yur checkins for master build 1465 is bogus (5:00:14 AM) pilhuhn: ====== Error occurred during invocation of operation [installRhqUser] with parameters [Configuration[id=0, properties[user=test, password=test], rawConfigurations[]]] on Resource[id=2, uuid=e6115be0-80af-4e5c-9be2-203ecc063d11, type={jboss-as-7}JBossAS7 Host Controller, key=/tmp/jboss-as-6.0.0.ER6/domain, name=EAP Domain Controller (127.0.0.1:59990), parent=pc, version=EAP 6.0.0.ER6]: java.lang.NullPointerException (5:35:53 AM) pilhuhn: probably because in File baseDir = serverPluginConfig.getBaseDir(); the serverPluginConfig is null as the component is not yet started In org.rhq.modules.plugins.jbossas7.BaseServerComponent#installManagementUser serverPluginConfig is ok, but this returns null: case DOMAIN: configFileName = pluginConfig.getSimpleValue("hostConfig"); which makes this NPE: File configFile = new File(configDir, configFileName); This seems to have been introduced by the changes of Bug 817631 This was a regression introduced by the fix for https://bugzilla.redhat.com/show_bug.cgi?id=817631. It's fixed now. http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=830da7e Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since. |