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.
Summary: | [i18n] Unable to launch IDE in a folder with non-ascii characters | ||
---|---|---|---|
Product: | platform | Reporter: | jgodboldsmith |
Component: | Launchers&CLI | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, jrechtacek, jtulach, mmirilovic |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 223721 | ||
Attachments: |
NB IDE launch error when in a folder with non-ascii characters
trace file for application launch ubuntu log |
Description
jgodboldsmith
2012-11-27 16:53:08 UTC
Please attach the messages.log from the IDE startup: http://wiki.netbeans.org/FaqLogMessagesFile unfortunately there is no log available, I don't think NB is getting far enough to be able to output anything to a log file. Only message, on screen, is: 'Cannot open file "C:\Temp\??\Netbeans7.2.1\etc\netbeans.clusters" for reading. The filename, directory name, or volume syntax is incorrect. (123)" In the above message the ?? is the name of the folder containing the non-ascii characters. I would suggest you copy the NB IDE into a folder containing the same characters and try yourself, e.g.: C:\Temp\Съ Thanks libore, windows launcher has a switch to enable output to a file, i just don't remember the switch. (In reply to comment #2) > unfortunately there is no log available, I don't think NB is getting far enough > to be able to output anything to a log file. Only message, on screen, is: You are right NB don't start at all. The problem is, as I suppose, with Windows command prompt. CMD cannot deal with non-ascii folder names - generally withn non-ascii chars... I would ask you for launcher log which could be very useful for us. Just run your app with --trace switch: app.exe --trace trace.log If there was some problem with it try to redirect log to some other folder without ascii chars: app.exe --trace C:\Users\<username>\Documents\trace.log Did you tried to launch app directly from bin folder or only via shortcut? Created attachment 128621 [details]
trace file for application launch
Trace log file as per requested. This was created by executing shortcut (outside of the folder with the non-ascii characters) with the switch specified.
Created attachment 128994 [details]
ubuntu log
Confirmed on Ubuntu too I cannot start NetBeans by /tmp/žádný_netbeans/bin/netbeans
Caused by: While parsing jar:file:/tmp/žádný_netbeans/java/modules/org-netbeans-modules-java-editor.jar!/org/netbeans/modules/java/editor/resources/layer.xml
While parsing jar:file:/tmp/žádný_netbeans/ide/modules/org-netbeans-modules-defaults.jar!/org/netbeans/modules/defaults/mf-layer.xml
Caused: com.sun.org.apache.xerces.internal.util.URI$MalformedURIException: Opaque part contains invalid character: ž
(In reply to comment #6) > Created attachment 128994 [details] > ubuntu log > > Confirmed on Ubuntu too I cannot start NetBeans by > /tmp/žádný_netbeans/bin/netbeans > > Caused by: While parsing > jar:file:/tmp/žádný_netbeans/java/modules/org-netbeans-modules-java-editor.jar!/org/netbeans/modules/java/editor/resources/layer.xml > While parsing > jar:file:/tmp/žádný_netbeans/ide/modules/org-netbeans-modules-defaults.jar!/org/netbeans/modules/defaults/mf-layer.xml > Caused: com.sun.org.apache.xerces.internal.util.URI$MalformedURIException: > Opaque part contains invalid character: ž This issue is not related to problem of this bug. This bug is related to launcher and the problem on Ubuntu is related to Module System - Jirka will create new bug. Also there is an umbrella task for all non-ascii related bugs - issue 223721 Decreasing priority. Fixed in: http://hg.netbeans.org/core-main/rev/50a5e3d432ba NetBeans IDE or platform app cannot be run from folder that contains non-ASCII chars in path. The user gets error msg box and IDE won't start. (In reply to comment #8) > Fixed in: http://hg.netbeans.org/core-main/rev/50a5e3d432ba > > NetBeans IDE or platform app cannot be run from folder that contains non-ASCII > chars in path. > > The user gets error msg box and IDE won't start. Additional fix: http://hg.netbeans.org/core-main/rev/935c64685a2b I missed space char... Integrated into 'main-golden', will be available in build *201302020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/50a5e3d432ba User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #222850: [i18n] Unable to launch IDE in a folder with non-ascii characters |