Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Expert One-on-One J2EE Design and Development
This is the forum to discuss the Wrox book Expert One-on-One J2EE Design and Development by Rod Johnson; ISBN: 9780764543852
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One J2EE Design and Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 23rd, 2010, 09:42 AM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Standalone Commons validator error

I am new to commons validator I have been trying to read the xml file below. But on executing the code below I get an error

InputStream in=this.getClass().getResourceAsStream("validator. xml");
ValidatorResources resources = new ValidatorResources(in);


Error is InputStream to parse is null

On checking the jvm.log the following is dispalyed.
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='leaf_type' ctxk='org/apache/xerces/xni/QName' witness='org/apache/xerces/impl/dv/xs/QNameDV$XQName' stamp='7267.399'/>
<dependency_failed type='unique_concrete_method' ctxk='org/jvnet/hk2/config/types/Property' x='$Proxy55 getName ()Ljava/lang/String;' witness='org/jvnet/h


Please any assistance will be appreciated.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone Commons validator error muraguri2005 BOOK: Expert One-on-One J2EE Design and Development 0 February 23rd, 2010 09:30 AM
validator control error amit.jagtap ASP.NET 1.0 and 1.1 Basics 2 October 1st, 2007 07:07 AM
Error rendering Validator control bmains General .NET 0 July 27th, 2005 03:45 PM
Commons DBCP error !! sherbir Apache Tomcat 1 September 30th, 2004 04:08 AM
URGENT : Jakarta Commons FileUpload error sherbir Servlets 1 August 5th, 2004 06:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.