Bug 576155 - [apache] NPE during configuration update check in ApacheDirectoryComponent
Summary: [apache] NPE during configuration update check in ApacheDirectoryComponent
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 3.0.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Filip Drabek
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: jon24-apache
TreeView+ depends on / blocked
 
Reported: 2010-03-23 12:31 UTC by Lukas Krejci
Modified: 2010-08-12 16:58 UTC (History)
1 user (show)

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-08-12 16:58:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Lukas Krejci 2010-03-23 12:31:09 UTC
Seen in the agent log:

2010-03-23 13:21:56,220 WARN  [ConfigurationManager.threadpool-1] (rhq.core.pc.configuration.ConfigurationCheckExecutor)- Unable to check for updated configuration
java.lang.NullPointerException
        at org.rhq.plugins.apache.mapping.ApacheAugeasMapping.updateConfiguration(ApacheAugeasMapping.java:58)
        at org.rhq.plugins.apache.ApacheDirectoryComponent.loadResourceConfiguration(ApacheDirectoryComponent.java:91)
        at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)

Comment 1 Corey Welton 2010-04-22 18:40:43 UTC
Repro steps?

Comment 2 Charles Crouch 2010-04-23 13:08:02 UTC
Filip to add repro steps

Comment 3 Filip Drabek 2010-05-11 19:59:15 UTC
1. Login to RHQ.
2. Navigate to an any Apache Directory resource
3. Navigate to the 'Configuration' tab of that resource
4. Click on 'Change Properties' button
5. Change any property of the configuration.
6. Click on 'Save' button.
7. Check if the value is saved or not.

Comment 4 Corey Welton 2010-05-13 13:09:49 UTC
QA Verified.  Tried adding/removing/setting these props, and they all get appropriately added to file.

Comment 5 Corey Welton 2010-08-12 16:58:33 UTC
Mass-closure of verified bugs against JON.


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