Bug 814280

Summary: Spurious message when deploying a plugin with a bad descriptor
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: Core ServerAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.3CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Heiko W. Rupp 2012-04-19 14:20:14 UTC
When trying to deploy a plugin with invalid xml / entities

15:23:35,593 ERROR [AgentPluginDescriptorUtil] Validation fatal error while parsing [rhq-jboss-as-7-plugin-4.4.0-SNAPSHOT.jar:META-INF/rhq-plugin.xml] at line 166, column 2: The markup declarations contained or pointed to by the document type declaration must be well-formed.
15:23:35,635 WARN  [PluginDeploymentScanner] Does not look like [/im/dev-container/plugins/rhq-jboss-as-7-plugin-4.4.0-SNAPSHOT.jar.fixme] is a plugin jar -(Cause: java.lang.NullPointerException:no xml descriptor found in jar). It will be ignored. Please fix that file or remove it.

[15:28:39] <pilhuhn> I am pasting this because of    Cause: java.lang.NullPointerException:no xml descriptor found in jar)
[15:29:09] <pilhuhn> which is a) bad (NPEs are always bad)   and b) because there is a xml descriptor - just a bogus one

Comment 1 Mike Foley 2012-04-23 16:11:05 UTC
setting priority to medium per BZ triage 4/23 (crouch, santos, oleary, foley)