[ http://issues.apache.org/jira/browse/XERCESJ-1084?page=all ]

Alex Milowski updated XERCESJ-1084:
-----------------------------------

    Attachment: XMLSchemaValidator.java.diff

Here is a diff that moves the initialization up to before the member is used.

> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to