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 57462 - Cannot debug any file
Summary: Cannot debug any file
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 05:15 UTC by pzgyuanf
Modified: 2006-03-24 12:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzgyuanf 2005-04-05 05:15:42 UTC
Try to debug a file, just list this:
----------------
public class Main {
    
    /** Creates a new instance of Main */
    public Main() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        System.out.println("Test"); // breakpoint here
                
    }
    
}
----------------

A java.lang.AbstractMethodError exception has occurred:(when bring up the debug
windows, a.k.a. local variables, watches...)
java.lang.AbstractMethodError:
org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.addModelListener(Lorg/netbeans/spi/viewmodel/ModelListener;)V
	at
org.netbeans.spi.viewmodel.Models$CompoundTreeModel.addModelListener(Models.java:515)
	at
org.netbeans.spi.viewmodel.Models$CompoundModel.addModelListener(Models.java:2106)
	at org.netbeans.modules.viewmodel.TreeModelRoot.<init>(TreeModelRoot.java:53)
	at org.netbeans.modules.viewmodel.TreeTable.setModel(TreeTable.java:127)
[catch] at org.netbeans.spi.viewmodel.Models$1.run(Models.java:114)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
-------------

-------------------------------------------------------------------------------
>Log Session: Tuesday, April 5, 2005 12:00:10 PM CST
>System Info: 
  Product Version       = NetBeans IDE Dev (Build 200504010747)
  Operating System      = Windows 2000 version 5.0 running on x86
  Java; VM; Vendor      = 1.5.0_02; Java HotSpot(TM) Client VM 1.5.0_02-b09; Sun
Microsystems Inc.
  Java Home             = C:\Program Files\Java\jdk1.5.0_02\jre
  System Locale; Encod. = zh_CN (nb); GBK
  Home Dir; Current Dir = C:\Documents and Settings\pprun;
D:\netbeans-4.1dev20050402
  IDE Install; User Dir = D:\netbeans-4.1dev20050402\platform5; C:\Documents and
Settings\pprun\.netbeans\dev
  CLASSPATH             =
D:\netbeans-4.1dev20050402\platform5\lib\boot.jar;C:\Program
Files\Java\jdk1.5.0_02\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_02\lib\tools.jar
  Boot & ext classpath  = C:\Program
Files\Java\jdk1.5.0_02\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\i18n.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\classes;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\ext\sunjce_provider.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\ext\sunpkcs11.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\ext\dnsns.jar;C:\Program
Files\Java\jdk1.5.0_02\jre\lib\ext\localedata.jar
  Dynamic classpath     =
D:\netbeans-4.1dev20050402\platform5\core\core.jar;D:\netbeans-4.1dev20050402\platform5\core\openide-loaders.jar;D:\netbeans-4.1dev20050402\platform5\core\openide.jar;D:\netbeans-4.1dev20050402\platform5\core\org-netbeans-swing-plaf.jar;D:\netbeans-4.1dev20050402\platform5\core\updater.jar;D:\netbeans-4.1dev20050402\nb4.1\core\org-netbeans-upgrade.jar;D:\netbeans-4.1dev20050402\nb4.1\core\locale\core_nb.jar;D:\netbeans-4.1dev20050402\ide5\core\org-netbeans-modules-utilities-cli.jar
-------------------------------------------------------------------------------
Comment 1 Jan Jancura 2005-04-05 09:39:15 UTC
I am not able to reproduce this problem. You have probably broken user home. Can
you try to delete it, and restart?
Comment 2 pzgyuanf 2005-04-05 10:01:10 UTC
Aha, you are right.

Why the user home is so brittle.
(But I just installed some update modules and tuned some appearances of UI)

other strange things against the same reason and haven't hint when error.

Comment 3 Roman Ondruska 2005-04-06 09:58:52 UTC
Thanks for comments.
Comment 4 Jan Jancura 2005-04-06 10:16:53 UTC
I have fixed this issue.
ViewMOdeAPI major number has been increased & all module dependencies updated.
Comment 5 Jan Jancura 2005-04-06 10:18:31 UTC
I have fixed this issue.
ViewMOdeAPI major number has been increased & all module dependencies updated.
Comment 6 Max Sauer 2005-07-08 10:45:56 UTC
nbdev200507061800.