NPE when doing document type validation with invalid xsd

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Patrik
Posts: 280
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

NPE when doing document type validation with invalid xsd

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: NPE when doing document type validation with invalid xsd

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Patrik
Posts: 280
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

Re: NPE when doing document type validation with invalid xsd

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: NPE when doing document type validation with invalid xsd

Post by adrian »

Hi,

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

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply