-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Parsing problem
PostPosted: Thu Mar 03, 2005 8:08 am 
Newbie

Joined: Fri Jan 21, 2005 12:33 pm
Posts: 5
A Question:
what type of error is the parsing error?

Code:
12:30:17,577 ERROR Configuration:905 - problem parsing configuration/hibernate.cfg.xml
org.dom4j.DocumentException: Error on line 4 of document  : java.lang.NullPointerException Nested exception: java.lang.NullPointerException
   at org.dom4j.io.SAXReader.read(SAXReader.java:355)
   at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:901)
   at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:845)
   at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:831)
   at it.satanet.ILOG.db.dbCluster.main(dbCluster.java:42)
Nested exception:
java.lang.NullPointerException
   at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
   at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
   at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
   at org.dom4j.io.SAXReader.read(SAXReader.java:339)
   at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:901)
   at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:845)
   at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:831)
   at it.satanet.ILOG.db.dbCluster.main(dbCluster.java:42)
Errore: net.sf.hibernate.HibernateException: problem parsing configuration/hibernate.cfg.xml nella lettura da tastiera


where hibernate.cfg.xml begin as:
Code:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration
PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">

<hibernate-configuration>
<session-factory>
...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 09, 2005 6:51 pm 
Beginner
Beginner

Joined: Fri May 21, 2004 12:21 pm
Posts: 22
Location: Sacramento CA, USA
This is a xml parser error. Check your xml file.............


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 10, 2005 6:37 am 
Newbie

Joined: Fri Jan 21, 2005 12:33 pm
Posts: 5
perumal90 wrote:
This is a xml parser error. Check your xml file.............

Ma dai!? Non l'avrei mai detto questo...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.