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 - Intermittent problems creating faces-config.xml file
Summary: Intermittent problems creating faces-config.xml file
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 19:47 UTC by davidsalter
Modified: 2013-06-18 14:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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