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.

Bug 114284

Summary: Cannot load C/C++ plugin
Product: cnd Reporter: _ gordonp <gordonp>
Component: -- Other --Assignee: Sergey Grinev <sergius>
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 113798    
Bug Blocks:    

Description _ gordonp 2007-08-30 20:53:53 UTC
If I run the full installer then the C/C++ plugin gets loaded correctly. If I don't load the
plugin at installation time I cannot install it later using the plugin manager.

When I try and install C/C++ from the plugin manager I get the following error, "Plugin C/C++
cannot match its dependencies" and "module org.netbeans.modules.cnd.navigation > 1.0.Jesse
Glick and Pavel Buzek created a cnd/kit module. Perhaps this has something to do with the
dependency mismatch?
Comment 1 novakm 2007-09-03 09:15:21 UTC
Reassigning to cnd for evaluation.
Comment 2 Sergey Grinev 2007-09-03 16:10:31 UTC
Investigated on build 200708160000. Not reproduced on Solaris, on Windows reproduced, but with different log:

> Exception in thread "Thread-8" java.lang.AssertionError: Cannot delete C:\Program Files\NetBeans 6.0
> 200709030000\cnd1\update\download\org-netbeans-modules-cnd-folding.nbm
>	at org.netbeans.updater.ModuleUpdater.unpack(
>	at
> Warning - could not install some modules:
>	C/C++ APT-based Folding - The module named org.netbeans.modules.cnd/1 was needed and not found.
>	C/C++ APT-based Folding - The module named org.netbeans.modules.cnd.antlr was needed and not found.
>	C/C++ APT-based Folding - The module named org.netbeans.modules.cnd.apt was needed and not found.

Probably autoupdater problem, see:
IZ114456 adding Web Applications plugin to Ruby install fails
IZ114091 Plugin installation gives "Warning - could not install some modules:"
IZ112885 "Could not install some modules" warning

Deferred till those bugs would be reviewed by guys working on autoupdater
Comment 3 Sergey Grinev 2007-09-04 11:08:51 UTC
Depends of issue 113798
- locked file while unpacking NBMs which causes early abort of NBM/Unpack.
Comment 4 Jiri Rechtacek 2007-09-05 14:11:22 UTC

*** This issue has been marked as a duplicate of 114456 ***