xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Glavassevich (JIRA)" <xerces-j-...@xml.apache.org>
Subject [jira] Resolved: (XERCESJ-1084) Null pointer thrown when PARSER_SETTINGS is false for XMLSchemaValidator
Date Thu, 23 Jun 2005 18:01:21 GMT
     [ http://issues.apache.org/jira/browse/XERCESJ-1084?page=all ]
Michael Glavassevich resolved XERCESJ-1084:

    Resolution: Invalid

If the component manager is working correctly this condition can never happen. The very first
time a component is reset the value of PARSER_SETTINGS should be true.  This is an internal
feature that components read which indicates whether the configuration has changed between
resets, allowing them to avoid reading features and properties from the configuration which
they already have.

> Null pointer thrown when PARSER_SETTINGS is false for XMLSchemaValidator
> ------------------------------------------------------------------------
>          Key: XERCESJ-1084
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1084
>      Project: Xerces2-J
>         Type: Bug
>     Reporter: Alex Milowski
>  Attachments: XMLSchemaValidator.java.diff
> A null pointer exception is thrown when the PARSER_SETTINGS feature is false.   On line
> 1279, inside the reset() method, when the parser_setting local is false, the code uses
the fValidationManager
> member.  That member is not set till later.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org

View raw message