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 217659 - Cannot find relative path in test on Windows with space in path
Summary: Cannot find relative path in test on Windows with space in path
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: SPACE_IN_PATH, TEST
Depends on:
Blocks:
 
Reported: 2012-08-31 06:33 UTC by Jaroslav Tulach
Modified: 2012-09-21 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2012-08-31 06:33:14 UTC
[junit] FINE [org.netbeans.Stamps]: Cannot find relative path for C:\space\hudson\workspace\platform-netigso\jdk\JDK%201.6\label\Microsoft\netbeans\platform\modules\org-netbeans-modules-javahelp.jar
    [junit] FINE [org.netbeans.Stamps]: Cannot find relative path for C:\space\hudson\workspace\platform-netigso\jdk\JDK%201.6\label\Microsoft\netbeans\platform\modules\ext\jhall-2.0_05.jar
    [junit] FINE [org.netbeans.Stamps]: Cannot find relative path for C:\space\hudson\workspace\platform-netigso\jdk\JDK%201.6\label\Microsoft\netbeans\platform\core\core.jar
    [junit] FINE [org.netbeans.Stamps]: Cannot find relative path for C:\space\hudson\workspace\platform-netigso\jdk\JDK%201.6\label\Microsoft\netbeans\platform\core\core.jar
    [junit] FINE [org.netbeans.Stamps]: Cannot find relative path for C:\space\hudson\workspace\platform-netigso\jdk\JDK%201.6\label\Microsoft\netbeans\platform\modules\org-netbeans-modules-masterfs.jar
Build timed out. Aborting
Build was aborted
Archiving artifacts
    [junit] FINE [org.netbeans.Stamps]: Cannot find relative path for C:\space\hudson\workspace\platform-netigso\jdk\JDK%201.6\label\Microsoft\njava.io.IOException: mkdir: C:\space\hudson\workspace\platform-netigso\jdk\JDK 1.6\label\Microsoft\testdistribution\unit\work\org-netbeans-modules-netbinox\o.n.m.n.C\ra-FAILED
    [junit] 	at org.netbeans.junit.NbTestCase.copytree(NbTestCase.java:488)
    [junit] 	at org.netbeans.junit.NbTestCase.noteWorkDir(NbTestCase.java:474)
    [junit] 	at org.netbeans.junit.NbTestCase.access$400(NbTestCase.java:97)
    [junit] 	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:415)
    [junit] 	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:339)
    [junit] 	at java.lang.Thread.run(Unknown Source)
Recording test results
Finished: ABORTED
Comment 1 Jaroslav Tulach 2012-08-31 06:34:08 UTC
The file one is looking for should probably not contain "%20"...
Comment 2 Jaroslav Tulach 2012-08-31 06:37:27 UTC
Seems to happen also on Solaris:

System class loader patches: /space/hudson/workspace/platform-netigso/jdk/JDK 1.6/label/solaris/testdistribution/unit/platform/org-netbeans-core-netigso/tests.jar:/space/hudson/workspace/platform-netigso/jdk/JDK 1.6/label/solaris/testdistribution/unit/classes
FINE [org.netbeans.Stamps]: Cannot find relative path for /space/hudson/workspace/platform-netigso/jdk/JDK%201.6/label/solaris/netbeans/platform/core/core.jar
FINE [org.netbeans.Stamps]: Cannot find relative path for /space/hudson/workspace/platform-netigso/jdk/JDK%201.6/label/solaris/netbeans/platform/core/core.jar
FINE [org.netbeans.Stamps]: Cannot find relative path for /space/hudson/workspace/platform-netigso/jdk/JDK%201.6/label/solaris/netbeans/platform/core/core.jar
FINE [org.netbeans.Stamps]: Cannot find relative path for /space/hudson/workspace/platform-netigso/jdk/JDK%201.6/label/solaris/netbeans/platform/core/org-openide-filesystems.jar
FINE [org.netbeans.Stamps]: Cannot find relative path for /space/hudson/workspace/platform-netigso/jdk/JDK%201.6/label/solaris/netbeans/platform/core/locale/org-openide-filesystems_pt_BR.jar
FINE [org.netbeans.Stamps]: Cannot find relative path for /space/hudson/workspace/platform-netigso/jdk/JDK%201.6/label/solaris/netbeans/platform/core/locale/core_ru.jar
Comment 3 Jaroslav Tulach 2012-09-17 08:14:52 UTC
ergonomics#63695dd601ab
Comment 4 Quality Engineering 2012-09-21 02:29:12 UTC
Integrated into 'main-golden', will be available in build *201209210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/63695dd601ab
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #217659: Cannot find relative path in test on Windows with space in path
Convert %20 to space