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.
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
Created attachment 2844 [details] Exception
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).
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