Hide Forgot
[11:56:15] <pilhuhn> Configuration conf = report.getConfiguration(); // From a config update report in the agent [11:56:29] <pilhuhn> this has 38 properties defined [11:56:30] <pilhuhn> for (Property prop : conf.getProperties()) { [11:56:45] <pilhuhn> will NPE, as conf.getProperties() returns null [11:58:32] <lkrejci> do you deserialize this before you use it like this? [11:59:12] <pilhuhn> well... I get the report passed in the agent in the org.rhq.core.pluginapi.configuration.ConfigurationFacet#updateResourceConfiguration method [12:01:08] <pilhuhn> In the debugger i see 38 properties and propertyProxy being null With this issue, updating any resource configuration is likely to fail.
To test this, you need to try and update the resource configuration in AS7 plugin. commit c8dc1d812b5a3dd9c2cd8ffd55f2ec803d6b81e6 Author: Lukas Krejci <lkrejci> Date: Wed Jul 13 12:35:29 2011 +0200 BZ 720944 - lazy init the propertiesProxy to prevent problems after deserialization of a Configuration instance.
This fix works for me.
verified as follows: RHQ 4.1 master, 7/28 build imported AS7 plug-in auto-discovery of my AS7 CR1 "white rabbit" resource configuration ... edit'd and saved values.
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE