Bug 811507 - NPE on plugin update
Summary: NPE on plugin update
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 811525
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-11 09:51 UTC by Heiko W. Rupp
Modified: 2013-09-01 19:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-01 19:21:09 UTC
Embargoed:


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

Description Heiko W. Rupp 2012-04-11 09:51:17 UTC
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 09:52:14 UTC
Created attachment 576732 [details]
Stack trace from console

Comment 2 Stefan Negrea 2012-04-11 15:12:08 UTC
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 19:21:09 UTC
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.