Page 1 of 1

NPE when doing document type validation with invalid xsd

Posted: Wed Apr 08, 2015 10:50 am
by Patrik
Hi,

when I validate an xml document against an invalid schema (xsd) I usually get error messages about the error in the schema, which is what I'd expect.

However, when I'm validating an xml document using a validation scenario configured in a framework that uses an invalid schema, I get a message box with "class java.lang.NullPointerException null".

Regards,
Patrik

Re: NPE when doing document type validation with invalid xsd

Posted: Wed Apr 08, 2015 3:26 pm
by adrian
Hi Patrik,

This looks like the same error you mentioned in the topic NPE when validating during automatic validation, so they are most likely related.
Please send us sample XML and XSD files, so we can investigate and attempt to reproduce the issue.
Please send them to our support email address, support@oxygenxml.com.

Regards,
Adrian

Re: NPE when doing document type validation with invalid xsd

Posted: Thu Apr 09, 2015 9:47 am
by Patrik
Just for the record: It turned out that quite some additional conditions had to be metto produce this error. I sent a sample by email.

Regards,
Patrik

Re: NPE when doing document type validation with invalid xsd

Posted: Fri Apr 10, 2015 3:56 pm
by adrian
Hi,

The issue has been reproduced and logged.
We will also notify this thread when it is resolved.

Regards,
Adrian