[hibernate-issues] [Hibernate-JIRA] Updated: (HBX-627) NPE in hibernatetool task when no configuration specifed

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Sep 14 12:06:24 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-627?page=all ]

Max Rydahl Andersen updated HBX-627:
------------------------------------

    Summary: NPE in hibernatetool task when no configuration specifed  (was: NPE in hibernatetool task)

> NPE in hibernatetool task when no configuration specifed
> --------------------------------------------------------
>
>          Key: HBX-627
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-627
>      Project: Hibernate Tools
>         Type: Bug

>     Versions: 3.1beta4
>     Reporter: Miguel Griffa
>      Fix For: 3.2beta8

>
> Original Estimate: 20 minutes
>         Remaining: 20 minutes
>
> this configuration generates a NPE to be thrown
> removing the commented configuration element fixes the problem
> 		<hibernatetool destdir="${basedir}/target">
> 			<classpath refid="full.path"/>
> 			<!--configuration configurationfile="${basedir}/src/main/webapp/WEB-INF/classes/hibernate.cfg.xml">
> 				<fileset dir="${basedir}/src/main/webapp/WEB-INF/classes" includes="**/*hbm.xml" excludes="**/Application.hbm.xml"/>
> 			</configuration-->
> 			<hbm2ddl drop="true" create="true" export="true" outputfilename="generated-schema.sql" delimiter=";" format="true" />
> 			<hbm2doc />

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list