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 240647 - IllegalArgumentException: Executable name has embedded quote, split the arguments
Summary: IllegalArgumentException: Executable name has embedded quote, split the argum...
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-18 18:40 UTC by Maksim Khramov
Modified: 2015-07-08 12:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206714


Attachments
stacktrace (3.54 KB, text/plain)
2014-01-18 18:40 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2014-01-18 18:40:05 UTC
Build: NetBeans IDE Dev (Build 201401170001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
mkhramov: Product Version: NetBeans IDE Dev (Build 201401170001)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11

Path to browser copied and pasted to IDE Browser path text input




Stacktrace: 
java.lang.IllegalArgumentException: Executable name has embedded quote, split the arguments
   at java.lang.ProcessImpl.isQuoted(ProcessImpl.java:168)
   at java.lang.ProcessImpl.getExecutablePath(ProcessImpl.java:201)
   at java.lang.ProcessImpl.<init>(ProcessImpl.java:242)
   at java.lang.ProcessImpl.start(ProcessImpl.java:133)
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
   at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:202)
Comment 1 Maksim Khramov 2014-01-18 18:40:07 UTC
Created attachment 144108 [details]
stacktrace
Comment 2 Maksim Khramov 2014-01-18 18:41:28 UTC
inserted path is "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
Comment 3 Maksim Khramov 2014-01-18 18:47:42 UTC
Than try to run applicatin on this selected browser
Comment 4 Jan Stola 2015-07-08 12:18:12 UTC
I am not able to reproduce this issue. I tried the following steps:

1. Open Tools > Options from main menu
   => Options dialog is opened.
2. Select General category
3. Press Edit... button next to Web Browser combo-box
   => Web Browsers Manager dialog is opened.
4. Press Add button
5. Paste "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" into Process text-field (including the quotes).
6. Press OK to close the Web Browsers Manager.
7. Press OK to close the Options dialog.
8. Invoke Help > Online Docs and Support from main menu
   => Firefox is opened correctly.

Either I am doing something differently or this issue has been fixed meanwhile.