Bug 814280 - Spurious message when deploying a plugin with a bad descriptor
Spurious message when deploying a plugin with a bad descriptor
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core Server (Show other bugs)
4.3
Unspecified Unspecified
medium Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-19 10:20 EDT by Heiko W. Rupp
Modified: 2012-04-23 12:11 EDT (History)
1 user (show)

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
Description Heiko W. Rupp 2012-04-19 10:20:14 EDT
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 12:11:05 EDT
setting priority to medium per BZ triage 4/23 (crouch, santos, oleary, foley)

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