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.
Im working with SunOne Studio version 5 and tried to run the sample WholeTest.java which i loaded from your site. I noticed that System.getProperty("netbeans.user") returns null. ( i execute the TestWizard sample and i got the correct value- the forte user dir at this method) I got the following exception: -------------------------------------- .Trace: Start to wait action "No event under 11111110111111111111 event mask during 1000 milliseconds" Trace: "No event under 11111110111111111111 event mask during 1000 milliseconds" action has been produced in 1024 milliseconds with result : Reached! noa netbeans location = null/tmp E Time: 4.253 There was 1 error: 1) testCreateClass(test.testWholeTest)java.lang.NoClassDefFoundError: org/netbeans/JarClassLoader at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at org.netbeans.core.NbTopManager.class$(NbTopManager.java:95) at org.netbeans.core.NbTopManager$Lkp.beforeLookup(NbTopManager.java:859) at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:135) at org.openide.util.NbBundle.getLoader(NbBundle.java:641) at org.openide.util.NbBundle.getBundle(NbBundle.java:304) at org.netbeans.jellytools.Bundle.getBundle(Bundle.java:52) at org.netbeans.jellytools.Bundle.getString(Bundle.java:91) at org.netbeans.jellytools.Bundle.getString(Bundle.java:112) at org.netbeans.jellytools.nodes.Node.<clinit>(Node.java:43) at test.testWholeTest.testCreateClass(testWholeTest.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:108) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:76) at test.testWholeTest.main(testWholeTest.java:34) FAILURES!!! Tests run: 1, Failures: 0, Errors: 1
You need to run test by Internal execution as described here: http://jellytools.netbeans.org/writingJellyTestsGuide.html#execution And also asure that you use jelly2-nb35.jar for S1S version 5.