Bugs item #682109, was opened at 2003-02-07 06:44 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=682109&group_id=40712
Category: None Group: None Status: Open Resolution: None 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: lomeo (lomeo) Date: 2003-02-07 17: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: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel