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.
i constantly get this exception when trying to run unit test (maven 2 projet). Was working well until yesterday. The mentionned class in exception is random, but it's systematic. After error, netbean consume constantly one CPU core. Moreover, it seems impossible to send an automatic error report from netbeans (it doesn't appear in tracker) java.lang.ClassNotFoundException: org.apache.tools.ant.module.api.IntrospectedInfo$IntrospectedClass at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:259) Caused: java.lang.ClassNotFoundException: org.apache.tools.ant.module.api.IntrospectedInfo$IntrospectedClass starting from ModuleCL@5b5a5cf[org.apache.tools.ant.module] with possible defining loaders [ModuleCL@5b5a5cf[org.apache.tools.ant.module]] and declared parents [ModuleCL@f786a3c[org.openide.awt], ModuleCL@689e8c34[org.jdesktop.layout], ModuleCL@106df95[org.openide.dialogs], ModuleCL@79ca209e[org.netbeans.api.xml], ModuleCL@594ab51b[org.netbeans.modules.projectuiapi], ModuleCL@3cd0d12e[org.openide.windows], ModuleCL@2a63b2e6[org.openide.actions], ModuleCL@4523a389[org.netbeans.spi.navigator], ModuleCL@53706eb7[org.openide.execution], ModuleCL@75d709a5[org.netbeans.modules.options.api], ...8 more] at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:261) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Caused: java.lang.NoClassDefFoundError: org/apache/tools/ant/module/api/IntrospectedInfo$IntrospectedClass at org.apache.tools.ant.module.api.IntrospectedInfo$3.assureDefined(IntrospectedInfo.java:761) at org.apache.tools.ant.module.api.IntrospectedInfo$3.load(IntrospectedInfo.java:717) at org.apache.tools.ant.module.AntSettings.getCustomDefs(AntSettings.java:138) at org.apache.tools.ant.module.bridge.impl.BridgeImpl$1.run(BridgeImpl.java:303) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
a workaround was to remove /var/cache in my netbean user profile, very curious bug
I have a problem like this at least once/day... closing netbeans and deleting the ~/.netbeans/var/cache/index directory fixes it. This is a real pain though. This has been happening for me in the last 2-3+ versions of NetBeans.
Cannot say much without your log file, but most likely you ran out of file handles. See blocking issue for instructions on increasing your ulimit.