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 170239 - Exception occurs to start V3 Server if download directory has blank space
Summary: Exception occurs to start V3 Server if download directory has blank space
Status: RESOLVED DUPLICATE of bug 171365
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Windows XP x64
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 00:31 UTC by davisn
Modified: 2009-09-09 22:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (42.82 KB, text/plain)
2009-08-12 00:31 UTC, davisn
Details
Error dialog (64.03 KB, image/png)
2009-08-12 00:32 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-08-12 00:31:22 UTC
If the download directory V3 server has a blank space, FileNotFoundException occurs when start the server

Steps To Reproduce:
1. Install NB 6.8 build 08/11/2009 on winXP with jdk 1.6.0
2. Start NB IDE -> register a new V3 server by select to download it -> give the download directory a blank space
     (eg, E:\Program Files (x86)\glassfish-v3-b58-download     TestCase6)
Note:
  The new server was registered successfully
3. Right-click on the Server, select to start the server

BUG
java.io.FileNotFoundException: E:\Program Files (x86)\glassfish-v3-b58-downooad1    
TestCase6\glassfish\domains\domain2\config\domain.xml (The system cannot find the path specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.netbeans.modules.glassfish.spi.TreeParser.readXml(TreeParser.java:87)
Caused: java.lang.IllegalStateException
	at org.netbeans.modules.glassfish.spi.TreeParser.readXml(TreeParser.java:95)
	at org.netbeans.modules.glassfish.common.StartTask.readJvmArgs(StartTask.java:605)
	at org.netbeans.modules.glassfish.common.StartTask.createProcessDescriptor(StartTask.java:388)
	at org.netbeans.modules.glassfish.common.StartTask.createProcess(StartTask.java:569)
	at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:207)
	at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:87)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Comment 1 davisn 2009-08-12 00:31:59 UTC
Created attachment 86128 [details]
messages.log
Comment 2 davisn 2009-08-12 00:32:46 UTC
Created attachment 86129 [details]
Error dialog
Comment 3 Rochelle Raccah 2009-08-18 20:53:58 UTC
similar code is in eclipse plugin, so will need to port the fix when it is available
Comment 4 Vince Kraemer 2009-09-09 22:22:49 UTC

*** This issue has been marked as a duplicate of 171365 ***