• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DocumentImpl  RSS feed

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am getting following exception while appending child node to the element.

The exception comes only in JRE 1.5 i have tested the code and with JRE 6 Its working fine.

Bellow is the stacktrace





has anybody got the same issue like this before. It seems like there is some issue with JRE 1.5 because the code program works fine with JRE 6

And if its an issue with JRE how can i fix it ?

I have search for the Class com.sun.org.apache.xerces.internal.dom.DocumentImpl And i have figured out that its in

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!