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 16225 - Change of debuggertools module (dev -> Pilsen)
Summary: Change of debuggertools module (dev -> Pilsen)
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: debuggertools (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-04 10:55 UTC by Marek Grummich
Modified: 2001-11-05 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (3.76 KB, text/plain)
2001-10-04 10:56 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2001-10-04 10:55:04 UTC
Build 200110030100
Jdk1.3.1
How to reproduce:
1.uninstall a debuggertools module (debugger jpda too)
2.install debuggertools module form Pilsen
3.toogle breakpoint/shift f8 invokes an attached exception
Comment 1 Marek Grummich 2001-10-04 10:56:03 UTC
Created attachment 2844 [details]
Exception
Comment 2 Marian Petras 2001-10-05 02:39:17 UTC
This is cause by incompatible changes in module DebuggerCore.

The code at line 306 of DelegatingDebuggerImpl (see the second thread
dump) tries to call method 'getTypeName' on an object of type
'org.netbeans.modules.debugger.debug.LineBreakpoint'. This class used
to be a superclass of
'org.netbeans.modules.debugger.support.LineBreakpointEvent' which
contained definition of this method (in Pilsen).

In NetBeans 3.3, a new class JavaLineBreakpoint has been added to
class inheritance hierarchy and the method definition has been moved
(from LineBreakpointEvent) to this class. The old (Pilsen)
LineBreakpoint class does not know about the new class and so it does
not take it into account when looking for the method definition. As a
result, it does not find the definition of the method and the
AbstractMethodError is thrown.

Debugger modules compiled for Pilsen cannot be used with the new
Debugger Core, the solution is to declare the Debugger Core's
incompatibility (so that NetBeans denies use of these modules).
Comment 3 Marian Petras 2001-10-05 03:59:23 UTC
Fixed in the main trunk.

Module declaration of module "Debugger Core" has been changed to
reflect the incompatibility with previous version. Manifests of NB
modules that depend on Debugger Core has been updated, too.

Old:
   org.netbeans.modules.debugger.core/2
New:
   org.netbeans.modules.debugger.core/3