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.
Description: Name: amR10106 Date: 10/29/2003 Build: M4 on Win2K Attempt to create text file with default options generate exception if file text.txt already exists. Steps to reproduce: 1. Mount empty local filesystem. 2. Invoke New->All Templates.. 3. Select Other->Text File and press Next. 4. Press Finish. 5. Repeat steps from 2 to 4. Result: Annotation: Creation of the object from template failed. Annotation: File text.txt already exists in H:\TestOrion. java.io.SyncFailedException: File text.txt already exists in H:\TestOrion. at org.openide.filesystems.LocalFileSystem.createData(LocalFileSystem.java:211) at org.openide.filesystems.LocalFileSystem$Impl.createData(LocalFileSystem.java :458) at org.openide.filesystems.AbstractFileObject.createData(AbstractFileObject.jav a:388) at org.netbeans.modules.text.TXTWizardIterator.instantiate(TXTWizardIterator.ja va:111) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:517 ) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:442) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:358) at org.openide.actions.NewTemplateAction.doShowWizard(NewTemplateAction.java:32 8) at org.openide.actions.NewTemplateAction.access$300(NewTemplateAction.java:49) at org.openide.actions.NewTemplateAction$MenuWithRecent$Item.actionPerformed(Ne wTemplateAction.java:285) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto n.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4 19) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic MenuItemUI.java:943) at java.awt.Component.processMouseEvent(Component.java:5134) at java.awt.Component.processEvent(Component.java:4931) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja va:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java :150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) ====================================================================== A comment.
Minor problem, who is responsible for TXTWizard should solve it. Not problem is wizard's framework. I'll look on it if time resource allows.
Closing as WONTFIX. The functionality of text module was replaced by new build system and changes in the core and text module was removed from dev build.
v