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 197770 - incorrect major version of modules cause issues when migrating to 7.0 from 6.9
Summary: incorrect major version of modules cause issues when migrating to 7.0 from 6.9
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 199235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-14 19:34 UTC by Exceptions Reporter
Modified: 2017-04-08 03:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178228


Attachments
stacktrace (2.35 KB, text/plain)
2011-04-14 19:34 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-04-14 19:34:20 UTC
This issue was reported manually by vv159170.
It already has 1 duplicates 


Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows Vista

User Comments:
GUEST: Occurred at startup




Stacktrace: 
java.lang.NoSuchFieldError: CHECK_EXECUTABLE
   at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.<clinit>(GdbDebugger.java:151)
   at org.netbeans.modules.cnd.debugger.gdb.disassembly.Disassembly.getCurrent(Disassembly.java:456)
   at org.netbeans.modules.cnd.debugger.gdb.actions.DisassemblyAction.isEnabled(DisassemblyAction.java:15)
   at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1156)
   at org.openide.awt.Actions.connect(Actions.java:197)
   at org.openide.awt.Actions.connect(Actions.java:164)
Comment 1 Exceptions Reporter 2011-04-14 19:34:24 UTC
Created attachment 107759 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-04-16 06:06:09 UTC
message.log shows that old version of gdb debugger is present (probably in user directory):

org.netbeans.modules.cnd.debugger.gdb/1 [1.5.2.2.1 2 200907230233]

The fact that it does not link is probably sign of poor API evolution.
Comment 3 Egor Ushakov 2011-04-18 09:49:28 UTC
org.netbeans.modules.cnd.debugger.gdb is not used in 7.0, we use gdb2!
so the question is why is is loaded at all
Comment 4 Vladimir Voskresensky 2011-06-08 09:52:49 UTC

*** This bug has been marked as a duplicate of bug 198085 ***
Comment 5 Vladimir Voskresensky 2011-06-08 09:54:26 UTC
*** Bug 199235 has been marked as a duplicate of this bug. ***
Comment 6 Vladimir Voskresensky 2011-06-08 10:22:20 UTC
Let's fix it at least for users migrating to 7.0.1
Comment 7 Vladimir Voskresensky 2011-06-08 11:08:23 UTC
changed major version of makeproject to prevent loading old modules
http://hg.netbeans.org/releases/rev/9f212b9ced1c
Comment 8 Quality Engineering 2011-06-09 04:36:42 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/9f212b9ced1c
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #197770 -  incorrect major version of modules
Comment 9 Quality Engineering 2011-06-10 14:46:55 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/dff740ddc709
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #197770 -  incorrect major version of modules
(transplanted from 9f212b9ced1c402c00d5c283ba6b74e58518d708)
Comment 10 Quality Engineering 2017-04-08 03:05:54 UTC
Integrated into 'main-silver', will be available in build *201704080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c85c611c12eb
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: update dependencies after #197770 -  incorrect major version of modules