[XDoclet-JIRA] Created: (XDT-1491) JBoss XML descriptor XDT throws a NPE with jmx.notification tags
| Newsgroups | gmane.comp.java.xdoclet.devel |
|---|---|
| Message-ID | <[email protected]> |
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1491
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1491
Summary: JBoss XML descriptor XDT throws a NPE with jmx.notification tags
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
JBoss Module
Versions:
1.2.3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Adrian Bigland
Created: Thu, 4 Aug 2005 10:05 AM
Updated: Thu, 4 Aug 2005 10:05 AM
Environment: XP, JDK 1.4.2_03, Ant 1.6.3beta1
Description:
see also existing issue XDT-1326.
I think this is the same problem, but may simply be closely related.
XDoclet throws a null pointer exception when running JMXDoclet JBoss subtasks on beans marked up with @jmx.notification if only the name (and description) are specified in the tag. You need to supply a notificationType attribute for the task to complete successfully.
Also, it looks like the line of failure is being misreported in the NPE. I get the error reported on line 8 but it actually happens much lower down as far as I can see. The part of the XDT that deals with notifications uses a forAllClassTagTokens tag - which at a glance you would expect to just miss out any notifications that didn't have the type set...
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf