Bug 811507 - NPE on plugin update
NPE on plugin update
Status: CLOSED CURRENTRELEASE
Product: RHQ Project
Classification: Other
Component: Core Server (Show other bugs)
4.3
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: Stefan Negrea
Mike Foley
:
Depends On: 811525
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-11 05:51 EDT by Heiko W. Rupp
Modified: 2013-09-01 15:21 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-01 15:21:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Stack trace from console (19.63 KB, text/plain)
2012-04-11 05:52 EDT, Heiko W. Rupp
no flags Details

  None (edit)
Description Heiko W. Rupp 2012-04-11 05:51:17 EDT
Trying to update the as7 plugin in the server

Get a NPE and many of the new /changed types are not persisted

Caused by: java.lang.NullPointerException
	at org.rhq.enterprise.server.resource.metadata.PluginConfigurationMetadataManagerBean.updatePluginConfigurationDefinition(PluginConfigurationMetadataManagerBean.java:55)

Full stack trace is attached.
Comment 1 Heiko W. Rupp 2012-04-11 05:52:14 EDT
Created attachment 576732 [details]
Stack trace from console
Comment 2 Stefan Negrea 2012-04-11 11:12:08 EDT
This error has been fixed by bug 811525. 

The error reported here is not identical to the one fixed in bug 811525 but it has the same root cause. The cause is improper hierarchical import of resources. With that being fixed, resources are imported in the correct order and thus the errors from the attached logs are fixed.
Comment 3 Heiko W. Rupp 2013-09-01 15:21:09 EDT
Bulk closing of BZs that have no target version set, but which are ON_QA for more than a year and thus are in production for a long time.

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