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.
Build: NetBeans IDE 6.7.1 (Build 200907230233) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux, 2.6.28-15-generic, i386 Stacktrace: java.lang.ClassNotFoundException: org.netbeans.modules.websvc.jaxrpc.project.AntJaxRpcServicesProvider at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.tools.ant.module.bridge.AntBridge$MainClassLoader.findClass(AntBridge.java:622) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Created attachment 86282 [details] stacktrace
module system related I guess
Nothing to do with module system. Initial problem is the call to FS.refresh from compapp.projects.jbi.anttasks.BuildServiceAssembly.execute, which triggers various events inside the Ant process thread, which is set to use a different context class loader than the rest of the IDE. Probably try { FileObject baseDirFO = FileUtil.toFileObject(p.getBaseDir()); if (baseDirFO != null) { FileSystem fs = baseDirFO.getFileSystem(); fs.refresh(true); } } catch (Exception ex) { Exceptions.printStackTrace(ex); } can all be deleted, since surrounding code does not appear to use the Filesystems API at all. I will anyway make LazyLookupProviders more robust by not relying on the CCL except in unit tests: core-main #671451f4881f
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/671451f4881f User: Jesse Glick <jglick@netbeans.org> Log: One part of #170426: prefer ClassLoader from lookup to CCL.
671451f4881f can and should be backported to 6.7.
*** Issue 170094 has been marked as a duplicate of this issue. ***
*** Bug 181754 has been marked as a duplicate of this bug. ***
For better tracking, filing SOA part separately and marking projectapi part fixed.
*** Bug 171846 has been marked as a duplicate of this bug. ***
*** Bug 181785 has been marked as a duplicate of this bug. ***
*** Bug 181857 has been marked as a duplicate of this bug. ***
*** Bug 190034 has been marked as a duplicate of this bug. ***