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 57872 - Parameter file1 was not normalized. Was \src\app instead of E:\src\app
Summary: Parameter file1 was not normalized. Was \src\app instead of E:\src\app
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2005-04-14 09:34 UTC by Jaroslav Tulach
Modified: 2005-04-22 13:34 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 2005-04-14 09:34:32 UTC
testRelativizeLocation: 
 
  
      java.lang.IllegalArgumentException: Parameter file1 was not normalized. 
Was \src\app instead of E:\src\app 
        at 
org.netbeans.api.queries.CollocationQuery.areCollocated(CollocationQuery.java:46) 
        at 
org.netbeans.modules.ant.freeform.spi.support.Util.relativizeLocation(Util.java:153) 
        at 
org.netbeans.modules.ant.freeform.spi.support.UtilTest.testRelativizeLocation(UtilTest.java:52) 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
        at java.lang.reflect.Method.invoke(Method.java:585) 
        at junit.framework.TestCase.runTest(TestCase.java:154) 
        at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:135) 
        at junit.framework.TestResult$1.protect(TestResult.java:106) 
        at junit.framework.TestResult.runProtected(TestResult.java:124) 
        at junit.framework.TestResult.run(TestResult.java:109) 
        at junit.framework.TestCase.run(TestCase.java:118) 
        at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122) 
        at junit.framework.TestSuite.runTest(TestSuite.java:208) 
        at junit.framework.TestSuite.run(TestSuite.java:203) 
        at 
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176) 
        at 
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127) 
        at 
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)
Comment 1 Jesse Glick 2005-04-14 16:16:05 UTC
Test just needed a slight variant for Windows path names. Cannot test myself,
hopefully fixed.

UtilTest.java 1.4
Comment 2 Jan Lahoda 2005-04-21 13:15:57 UTC
Unfortunatelly, it seems that the test is still failing. Last fail: 20050420073.
Comment 3 Jesse Glick 2005-04-21 15:24:06 UTC
Jan can you take a look?
Comment 4 Jan Lahoda 2005-04-21 19:21:55 UTC
It seems to me that the test was fixed in the trunk, but the original version is
still in release 4.1 and the fails are from release 4.1. I will take care of it.
Comment 5 Jan Lahoda 2005-04-22 13:34:30 UTC
I have backported the fix of the test to the release41 branch:
Checking in unit/src/org/netbeans/modules/ant/freeform/spi/support/UtilTest.java;
/cvs/ant/freeform/test/unit/src/org/netbeans/modules/ant/freeform/spi/support/UtilTest.java,v
 <--  UtilTest.java
new revision: 1.3.2.1; previous revision: 1.3
done