Bugs item #682109, was opened at 2003-02-07 14:44 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=682109&group_id=40712
Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Van Tu (cyberisys) Assigned to: Nobody/Anonymous (nobody) Summary: XML Parsing Error Initial Comment: When parsing a <hibernate-configuration>...</hibernate-configuration> block, the addProperties( ) method of the net.sf.hibernate.cfg.Configuration class does not handle an empty <property></property> element correctly. For example, if one of the property elements contains an empty user password for connecting to a database, then the property element would look something like <property name="connection.password"></property> which causes an error on line 610 of the Configuration class. ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2003-02-20 00:54 Message: Logged In: YES user_id=384580 This should have already been fixed in the current CVS for Hibernate2. ---------------------------------------------------------------------- Comment By: lomeo (lomeo) Date: 2003-02-08 01:58 Message: Logged In: YES user_id=410388 2 patch it u can just replace node.getFirstChild().getNodeValue() with node.getFirstChild() == null ? "" : node.getFirstChild ().getNodeValue() and rebuild hibernate. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=682109&group_id=40712 ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel