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.
Summary: | ClassNotFoundException: org.netbeans.modules.websvc.jaxrpc.project.AntJaxRpcServicesProvider | ||
---|---|---|---|
Product: | projects | Reporter: | mohhmekk <mohhmekk> |
Component: | Generic Infrastructure | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | alex02, exceptions_reporter, jglick, swpalmer |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=155956 | ||
Issue Type: | DEFECT | Exception Reporter: | 155956 |
Bug Depends on: | 181775 | ||
Bug Blocks: | |||
Attachments: | stacktrace |
Description
mohhmekk
2009-08-16 13:55:57 UTC
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. *** |