[Geoserver-devel] [jira] Created: (GEOS-4715) Problems running WorkspaceNamespaceConstencyTest

Problems running WorkspaceNamespaceConstencyTest
------------------------------------------------

                 Key: GEOS-4715
                 URL: https://jira.codehaus.org/browse/GEOS-4715
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1.1
         Environment: Windows 7, git svn checkout, mvn
            Reporter: Walter Deane
            Assignee: Andrea Aime

testChangeWorkspace has an error. A warning is output to console that says: WARNING: Could not delete C:\Users\wdeane\git\geoserver\src\main\.\target\mock2896908706445719443data\catalog.xml

The output copied from eclipse for the error is:

testChangeWorkspace(org.geoserver.catalog.impl.WorkspaceNamespaceConstencyTest)
java.io.FileNotFoundException: .\target\mock3033434871127789817data\styles\Default.sld (The system cannot find the path specified)
  at java.io.FileOutputStream.open(Native Method)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
  at org.geoserver.data.util.IOUtils.copy(IOUtils.java:51)
  at org.geoserver.data.test.MockData.<init>(MockData.java:327)
  at org.geoserver.test.GeoServerTestSupport.buildTestData(GeoServerTestSupport.java:35)
  at org.geoserver.test.GeoServerTestSupport.buildTestData(GeoServerTestSupport.java:29)
  at org.geoserver.test.GeoServerAbstractTestSupport.oneTimeSetUp(GeoServerAbstractTestSupport.java:173)
  at org.geoserver.test.OneTimeSetupTest.setUp(OneTimeSetupTest.java:89)
  at junit.framework.TestCase.runBare(TestCase.java:128)
  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:120)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
  at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira