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 199607 - Cannot install C++ plugin
Summary: Cannot install C++ plugin
Status: RESOLVED DUPLICATE of bug 198085
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 07:41 UTC by Peter Nabbefeld
Modified: 2011-09-09 07:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message.log (392.74 KB, text/plain)
2011-06-22 14:41 UTC, Peter Nabbefeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2011-06-22 07:41:11 UTC
After uninstalling CND modules because of some problems, cannot re-install it. Seems, the modules contain illegal dependencies, e.g.:
(1) C/C++ Make Projects (org.netbeans.modules.cnd.makeproject/2) depends on:
        C/C++ Remote Development API
        C/C++ Core
        C/C++ Tool Collection

(2) C/C++ Remote Development API depens on:
        org.netbeans.modules.cnd.remote.spi.RemoteProviderToken

(3) C/C++ Remote Development (provides org.netbeans.modules.cnd.remote.spi.RemoteProviderToken) depends on:
        org.netbeans.modules.cnd.makeproject/1

1. The dependencies are circular (1 -> 2 -> 3 ->1).
2. Different versions needed than provided (see 3 and 1).

Using a Dev build (which I cannot choose for "Version"). Probably some updates are forwarded to UC, while others are not?
Comment 1 Vladimir Voskresensky 2011-06-22 14:00:07 UTC
could you, please, attach userdir/var/log/message.log file?

Btw, what if you clean userdir?

The issue can be caused by changing spec versions of some modules, but leaving C/C++ Remote Development spec version unchanged
Comment 2 Peter Nabbefeld 2011-06-22 14:10:00 UTC
(In reply to comment #1)
> could you, please, attach userdir/var/log/message.log file?
> 
> Btw, what if you clean userdir?
> 
> The issue can be caused by changing spec versions of some modules, but leaving
> C/C++ Remote Development spec version unchanged

I've reloaded "C/C++ Remote Development" manually using module manager, works. So, yes, You're correct, the problem results from not upgrading the spec version for this single module.
Comment 3 Peter Nabbefeld 2011-06-22 14:18:28 UTC
BTW, "C/C++ Debugger GDB" has been installed in two different versions:
Version	1.11.0.2 & 1.3.1.1

Code base is different, so no chance that one replaces the other - one will stay forever, while never being removed by any update.
Comment 4 Vladimir Voskresensky 2011-06-22 14:34:26 UTC
1.3.1.1 should not be loaded anymore, so it should not make any issues. Could you check, please, message.log to see the list of loaded modules and confirm about debugger?

Btw, I'm still waiting for message.log file to see versions of loaded modules
Comment 5 Peter Nabbefeld 2011-06-22 14:41:46 UTC
Created attachment 109056 [details]
message.log

IMO, You already don't need the log, as the bug is caused by the spec version, as discussed. The outdated module does not cause problems directly. The only issues with it are about
1. if there're many such modules, they'll waste HDD space
2. it's not nice to have modules marked as corrupted in the module manager - which I'm using sometimes to check what is wrong with some modules, as You can see from the discussion.
Comment 6 Vladimir Voskresensky 2011-09-09 07:19:52 UTC
Looks like issue #198085

*** This bug has been marked as a duplicate of bug 198085 ***