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.
Using Orion ML Build 020624 on Solaris or linux, the problem of the following character garbage occurs. To reproduce: 1) Open [Runtime] tab in [Enplorer] 2) Open [JNDI] and [Providers] ¡¡¡¡3) Right-click any factory such as 'RegistryContectFactory' and select [Connect Using ...] At this point, "New JIDI Context" dialog appears. ¡¡¡¡4) Enter any characters such as 'test' to [Context Label] ¡¡¡¡5) Click [OK] button At this point, "Exception" dialog appears, but the messages look garbage. java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused --- grabage ------ The message is displayed in English on Windows, so this problem do not occurs.
Created attachment 6689 [details] Snap-shot on Solaris
Created attachment 6690 [details] Snap-shot on linux
Set target milestone to TBD
The problem is in the nested exception. The dialog displays the catched exception (thrown by JNDI) and this exception contains nested one (possibly thrown by the remote service). The problem is that the JNDI exception is not localized and the remote exception is probably localized. This problem can not be solved in the JNDI module, the only one solution in the JNDI module is not to display the exception to the user and display just information like "Can not set up connection to service", but this is not good way to go. Could you send me the version of JDK and provider used, I will report it as an issue to JDK.
Consistent use of the I18N keyword.
See comment above.
This issue does not occur on the following environment. OS: Win2K, RedHat 7.2ja, Sol8 (ja locale) J2SDK: 1.4.0_02 or 1.4.2 IDE: NetBeans 3.5.1 ML-JA (build 030725) or Sun ONE Studio 5