cancel
Showing results for 
Search instead for 
Did you mean: 

Parser error

Former Member
0 Kudos

I get the following error in the logs when I run Web Dynpro Application

validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 10 errors. Please call the setErrorHandler method to fix this.

Please help me resolve this.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Which code is using this parser, the Web Dynpro runtime or the application?

Armin

Former Member
0 Kudos

I have an Entity DC and Session DC that I use in Web Dynpro.

When Web Dynpro's View gets displayed at runtime the above message is seen in the log.

Former Member
0 Kudos

Could you please post the complete stacktrace?

Armin

Former Member
0 Kudos

Hello Armin,

This is the stack trace that gets printed:

Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 10 errors. Please call the setErrorHandler method to fix this.

Error: URI = "null", Line = "2", : Document is invalid: no grammar found.

Error: URI = "null", Line = "2", : Document root element "ejb-j2ee-engine", must match DOCTYPE root "null".