Bug 814280 - Spurious message when deploying a plugin with a bad descriptor
Summary: Spurious message when deploying a plugin with a bad descriptor
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-19 14:20 UTC by Heiko W. Rupp
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

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)


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