Bug 625752 - NPE in Resource Config update
NPE in Resource Config update
Product: RHQ Project
Classification: Other
Component: Core Server (Show other bugs)
All Linux
low Severity high (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
Depends On:
  Show dependency treegraph
Reported: 2010-08-20 06:49 EDT by Heiko W. Rupp
Modified: 2014-06-19 11:10 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-06-19 11:10:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Heiko W. Rupp 2010-08-20 06:49:06 EDT
I can't exactly tell, what I did other than trying to set the connection properties (credentials) for a JBAS. This was on a slow and loaded box, so I probably have clicked the "save" button multiple times in the GWT UI.

Caused by: java.lang.NullPointerException
        at org.rhq.core.domain.configuration.AbstractResourceConfigurationUpdate.<init>(AbstractResourceConfigurationUpdate.java:73)
        at org.rhq.core.domain.configuration.PluginConfigurationUpdate.<init>(PluginConfigurationUpdate.java:153)
        at org.rhq.enterprise.server.configuration.ConfigurationManagerBean.updatePluginConfiguration(ConfigurationManagerBean.java:252)

This can happen if no config to deepCopy is passed into the constructor.

- we should guard the UI from double submissions
- the AbstractResourceConfigurationUpdate() should check for null.

Note You need to log in before you can comment on or make changes to this bug.