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.
1. Connect to "travel" Java DB. 2. Rightclick "person" table and choose "View Data". 3. Click "File > Save As" in main menu and save content as SQL file. Result: "Confirm Replace File" dialog appears with message that file already exists, but it didn't exist before. So probably it was created right after name for it was typed and this fact wasn't treated correctly.
I used FileUtil.create(...) but this will create not only a FileObject but also a file on disk I have a fix
59806067f9e4
Verified with build 081209.
Integrated into 'main-golden', will be available in build *200812091520* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/59806067f9e4 User: John Baker <jbaker@netbeans.org> Log: #154853 fix