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.

Bug 117135 - I18N - Downloaded plugin cannot be installed if the nbm file is in a folder with chinese characters in it's name.
Summary: I18N - Downloaded plugin cannot be installed if the nbm file is in a folder w...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://statistics.netbeans.org/except...
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-09-30 03:36 UTC by gtlang
Modified: 2008-02-17 17:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 5765


Attachments
stacktrace (6.04 KB, text/plain)
2007-09-30 03:36 UTC, gtlang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gtlang 2007-09-30 03:36:02 UTC
Build: NetBeans IDE 6.0 Beta 1 (Build 200709141330)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Windows XP, 5.1, x86

User Comments: 
1. Downloaded a plugin and save the nbm file "org-netbeans-modules-pathtools.nbm" in a folder named "C:\??\"
2. Open "Plugin" dialog, select "Downloaded" tab, click "Add Plugins..."
3. Choose the file "C:\??\org-netbeans-modules-pathtools.nbm" with filechooser.
4. Click "Install" button, and an error message dialog poped up, says "Broken NBM org-netbeans-modules-pathtools.nbm cannnot be read.".
5. Works fine if the nbm file is in a folder with english name.
Comment 1 gtlang 2007-09-30 03:36:09 UTC
Created attachment 49816 [details]
stacktrace
Comment 2 Jaromir Uhrik 2007-10-04 13:49:34 UTC
gtlang, could you please explain how did you create folder with name "??" in Windows? It is not possible to create
folders containing characters \/:*?"<>| in Windows XP. Please provide the required information to be able to reproduce.
Thanks.
Comment 3 gtlang 2007-10-04 14:41:55 UTC
The ?? are actually two chinese characters. Maybe they are displayed as ?? because of some encoding problem?
Anyway, you can create the folder with this program.

import java.io.File;

public class Test {
	public static void main(String[] args)
	{
		new File("C:\\\u6d4b\u8bd5").mkdir();
	}
}

\u6d4b\u8bd5 is a chinese word means "test".
Comment 4 Ken Frank 2008-02-14 20:45:18 UTC
gtlang,

does this happen using nb6.0 or 6.0.1 ?

ken.frank@sun.com
Comment 5 Ken Frank 2008-02-17 17:14:30 UTC
based on report from gtlang, who filed this, its fixed in nb6 and 6.0.1
thus am resolving and verifying it since version here is 6.0.

ken.frank@sun.com
Comment 6 Ken Frank 2008-02-17 17:14:51 UTC
v