Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Expert One-on-One J2EE Design and Development
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 23rd, 2010, 08:30 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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Give me an explanation : Commons DBCP ! sherbir Servlets 1 September 29th, 2004 05:13 PM
URGENT : Jakarta Commons FileUpload error sherbir Servlets 1 August 5th, 2004 06:56 AM



All times are GMT -4. The time now is 08:56 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.