This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 231239

Summary: Intermittent problems creating faces-config.xml file
Product: javaee Reporter: davidsalter <davidsalter>
Component: JSFAssignee: Martin Fousek <marfous>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description davidsalter 2013-06-13 19:47:29 UTC
[ BUILD # : 201306122301 ]
[ JDK VERSION : 1.7.0_21 ]

I'm running the latest build from 201306122301 on OS X and am trying to create
a faces-config.xml from within the New File wizard.

Immediately upon creating the file, I sometimes get the following error message
being displayed,  "Cannot create file faces-config.NavData in folder
/Users/david/NetBeansProjects/WebApplication2/nbproject." .  The file has been
created however but is zero bytes.  I guess this file size is correct because I
haven't created any navigation rules at this point, but the message box is
being shown erroneously.
Comment 1 Martin Fousek 2013-06-17 13:12:19 UTC
Thanks for reporting, it was a timing issue and the IDE sometimes tried to create already existing file which led to the error message (but the file was created correctly). In any case should be fixed now.

web-main #71d8bc4212b7
Comment 2 Quality Engineering 2013-06-18 14:47:50 UTC
Integrated into 'main-golden', will be available in build *201306181109* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/71d8bc4212b7
User: Martin Fousek <marfous@netbeans.org>
Log: #231239 - Intermittent problems creating faces-config.xml file