[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-589) Null Pointer Exception if output directory does not exist

Antony Stubbs (JIRA) noreply at atlassian.com
Wed Jul 18 23:34:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27554 ] 

Antony Stubbs commented on HBX-589:
-----------------------------------

I am using HibernateTools-3.2.0.beta9a.zip and ran into this exact problem. I assumed the directory would be created if it didn't exist, as I was still able to run the tool. I also got the mysterious null pointer exception. IMO, the tool shouldn't be allowed to run if the folder doesn't exist, or the exception should be caught, and a more meaningful error reported to the user.

> Null Pointer Exception if output directory does not exist
> ---------------------------------------------------------
>
>                 Key: HBX-589
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-589
>             Project: Hibernate Tools
>          Issue Type: Bug
>    Affects Versions: 3.1beta4
>            Reporter: Markus Junginger
>             Fix For: 3.2beta7
>
>         Attachments: Neues Bild.jpg, scrnshot_launcher.jpg
>
>
> It was not possible to generate any artifacts. The given information does not explain anything.
> There should be more information about the exception - no stacktrace, etc. See attachment.

-- 
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