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.
dev build from Oct 6, 2004, JDK 1.5.0b64, Linux open a project that is checked out from CVS so it does not contain test folder because of pruning (cvs up -d -P) and try to create a test. The action fails with some exceptions.
Created attachment 18169 [details] the exception thrown
fixed by attempting to create the missing folder checked in: http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/wizards/TestSuiteWizardIterator.java.diff?r1=1.8&r2=1.9 http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/OpenTestAction.java.diff?r1=1.14&r2=1.15 http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/CreateTestAction.java.diff?r1=1.31&r2=1.32 http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/Bundle.properties.diff?r1=1.45&r2=1.46
The fix by creating the folder on-line didn't work reliably. I changed it to a mere messagebox about the missing folder. http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/CreateTestAction.java.diff?r1=1.33&r2=1.34 http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/Bundle.properties.diff?r1=1.46&r2=1.47
The fix is working well but the solution with message box is not so confortable. After discussion with Ondra we agreed to try reintroduce the fix with creating the missing folder. Reopened as enhacement.
Final resolution is yet blocked by issue 135145
*** Bug 56660 has been marked as a duplicate of this bug. ***
This is no longer the case. Test creation does not fail if there is no test folder yet, at least in latest build. Closing this one. Thank you for reporting