Bug 725883 - NPE in config masking utility
Summary: NPE in config masking utility
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: rhq41 rhq41-ui
TreeView+ depends on / blocked
 
Reported: 2011-07-26 20:34 UTC by Heiko W. Rupp
Modified: 2014-06-30 12:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-30 12:24:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2011-07-26 20:34:45 UTC
Caused by: java.lang.NullPointerException
        at org.rhq.enterprise.server.configuration.util.ConfigurationMaskingUtility.unmaskProperty(ConfigurationMaskingUtility.java:151)
        at org.rhq.enterprise.server.configuration.util.ConfigurationMaskingUtility.unmaskPropertyMap(ConfigurationMaskingUtility.java:182)

when deploying a plugin with additional entries in the PD.

Comment 1 Ian Springer 2011-08-16 19:53:30 UTC
Heiko, can you clarify what you mean by "deploying a plugin with additional entries in the PD"?

Comment 2 Heiko W. Rupp 2011-08-16 20:13:30 UTC
I think this meant "additional set of properties to what have been there before".
But then I have seen this exactly once so far.

Comment 3 Ian Springer 2011-08-17 14:20:03 UTC
[master d4bf16e] should fix this (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=d4bf16e).

Comment 4 Mike Foley 2011-08-24 18:45:04 UTC
verification steps would be:
1) updating a plugin's descriptor and adding some new props to its plugin config def
2) redeploying the plugin
3) seeing if you can view a plugin config on a resource of that type in the gui w/ no exceptions

Heiko .... as you are already working on the AS7 plug-in, and there is not enough information in this BZ for me to work with, perhaps you can verify?

Comment 5 Charles Crouch 2012-07-09 17:18:03 UTC
With Heiko to verify

Comment 6 Heiko W. Rupp 2014-06-30 12:24:05 UTC
I am closing this, as the code is in production for a long time and is apparently fixed.


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