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 6.7 RC1 (Build 200905312038) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows Vista, 6.0, x86 User Comments: neuros_nid: See issue 166551 : In Services->BDD - "execute command" on a BDD - "view data" on a table crash if a SQL Command window is already open. Steps to reproduce : - connect to MySQL - expand Tables node under MySQL database - click "View data..." on a table (it opens a Command SQL window) - click "View data..." on another table : instead of opening a new SQL Command window, it displays the error message It crashes independantly of the table, as well on MySQL tables than on SQL Server tables (tested with Microsoft JDBC SQLServer drivers 1.1, 1.2, 2.0) The fact of cloning the SQL Command window opens a new window into which no SQL request can be executed. Stacktrace: java.lang.IllegalArgumentException: Unmatched braces in the pattern. at java.text.MessageFormat.applyPattern(MessageFormat.java:0) at java.text.MessageFormat.<init>(MessageFormat.java:0) at java.text.MessageFormat.format(MessageFormat.java:0) at org.openide.filesystems.FSException.getLocalizedMessage(FSException.java:78) at org.openide.filesystems.FSException.io(FSException.java:118) at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1077)
Created attachment 83247 [details] stacktrace
Seems to be a problem in translated bundle.properties. Could you look at <NB_INSTALL>/platform10/core/locale/org-openide-filesystems_fr.jar (or something like that)? Then read what is in org/openide/filesystems/Bundle_fr.properties with key EXC_DataAlreadyExist. In English it is # {0} = name of file to create # {1} = filesystem # {2} = full system name of the file EXC_DataAlreadyExist=File {0} already exists in filesystem {1} ({2}).
I've got that : # {0} = name of file to create # {1} = filesystem # {2} = full system name of the file EXC_DataAlreadyExist=Le fichier \{0\ existe d\u00e9j\u00e0 dans le syst\u00e8me de fichiers {1} ({2}). With effectively a strange bracket... Can just a translation problem be the cause of everything?
Yes. Did you install NetBeans from official installers or download French translation from somewhere else?
Great! Changing the locale to 'en' solves the problem!
Yes, the buggy translation comes with the official installer. Thank you guys, you saved the french Netbeans DB users! Should this damned #166549 issue be solved, and the french NetBeans SQLServer users would be saved!
*** Issue 166551 has been marked as a duplicate of this issue. ***
I'll fix it through CTI before FCS.
Fixed (in CTI).