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.
Build: NetBeans IDE Dev (Build 200807040101) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows XP, 5.1, x86 User comments: 1) duplicated a file template for PHP (the original also doesn't work) 2) creating a new file using the wizard and this template 3) wizard says "unmatched braces in the pattern at position 13" 4) exception pops up the created file stops before this line from template: " function __construct()" There aren't any replacements made at this time. The template isn't using any placeholders except some ${name} tags. I also can't find mismatched braces. STACKTRACE: (first 10 lines) java.lang.IllegalArgumentException: unmatched braces in the pattern at position 13 at org.openide.util.MapFormat.processPattern(MapFormat.java:213) at org.openide.util.MapFormat.format(MapFormat.java:262) at java.text.Format.format(Format.java:140) at org.openide.loaders.FileEntry$Format.createFromTemplate(FileEntry.java:243) at org.openide.loaders.MultiDataObject.handleCreateFromTemplate(MultiDataObject.java:707) at org.netbeans.modules.gsf.GsfDataObject.handleCreateFromTemplate(GsfDataObject.java:117) at org.openide.loaders.DataObject$CreateAction.run(DataObject.java:1277) at org.openide.loaders.DataObjectPool$1WrapAtomicAction.run(DataObjectPool.java:258) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499)
*** This issue has been marked as a duplicate of 136961 ***