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 7693 - Can't delete watch variable
Summary: Can't delete watch variable
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-18 14:08 UTC by tkellerer
Modified: 2002-07-19 15:17 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 tkellerer 2000-09-18 14:08:15 UTC
When I try to delete a watch variable (either from the explorer or
from the debugger window) I get a null pointer exception. The watch
disappears, but is still there when I restart the IDE.

Here is the ide.log:
-------------------------------------------------------------------------------
>Log Session: Monday, September 18, 2000 2:53:14 PM GMT+02:00
>System Info:
  Product Version          = NetBeans IDE, Development Version (Build 26)
  IDE Versioning           = IDE/1 spec=1.1.1 impl=Build 26
  Operating System         = Windows NT Version 4.0 Running on x86
  Java Version             = 1.3.0
  Java VM Version          = Java HotSpot(TM) Client VM 1.3.0-C
  Java Vendor              = Sun Microsystems Inc.
  Java Vendor URL          = http://java.sun.com/
  Java Home                = E:\jdk1.3\jre
  Java Class Version       = 47.0
  System Locale            = en_US
  JIT                      = unknown or not used
  Home Dir                 = e:\\projects
  Current Directory        = E:\Apps\NetBeans\bin
  IDE Home                 = E:\Apps\NetBeans
  IDE User Home            = E:\Apps\NetBeans
  System Directory         = E:\Apps\NetBeans\system
  CLASSPATH                = E:\Apps\NetBeans\lib;E:\Apps\NetBeans\lib\developer.jar;E:\Apps\NetBeans\lib\openide.jar;E:\Apps\NetBeans\lib\updater.jar;E:\Apps\NetBeans\lib\ext\AbsoluteLayout.jar;E:\Apps\NetBeans\lib\ext\javac.jar;E:\Apps\NetBeans\lib\ext\jaxp.jar;E:\Apps\NetBeans\lib\ext\jh.jar;E:\Apps\NetBeans\lib\ext\nb-editor.jar;E:\Apps\NetBeans\lib\ext\openidex.jar;E:\Apps\NetBeans\lib\ext\parser.jar;E:\Apps\NetBeans\lib\ext\regexp.jar;E:\Apps\NetBeans\lib\ext\servlet.jar;E:\jdk1.3\lib\dt.jar;E:\jdk1.3\lib\tools.jar
-------------------------------------------------------------------------------
[INFO] Loaded modules: org.netbeans.modules.clazz/1 (1.3/26); org.netbeans.modules.html/1 (1.3/26); org.netbeans.modules.httpserver/1 (1.3/26); org.netbeans.modules.icebrowser/1 (1.3/26); org.netbeans.modules.image/1 (1.3/26); org.netbeans.modules.properties/1 (1.3/26); org.netbeans.modules.text/1 (1.3/26); org.netbeans.modules.usersguide/1 (1.3/26); org.openidex.util/1 (1.3/26); org.netbeans.modules.autoupdate/1 (1.3/26); org.netbeans.modules.debugger.core/1 (1.1.5/26); org.netbeans.modules.applet/1 (1.3/26); org.netbeans.modules.debugger.debug/1 (1.5/26); org.netbeans.modules.debugger.jpda/1 (1.5/26); org.netbeans.modules.editor/1 (1.4/26); org.netbeans.modules.jarpackager/1 (1.3/26); org.netbeans.modules.java/1 (1.3/26); org.netbeans.modules.beans/1 (1.3/26); org.netbeans.modules.form/1 (1.3/26); org.netbeans.modules.i18n/1 (1.3/26); org.netbeans.modules.javadoc/1 (1.3/26); org.netbeans.modules.objectbrowser/1 (1.3/26); org.netbeans.modules.projects/1 (1.3/26); org.netbeans.modules.utilities/1 (1.3/26); org.netbeans.modules.vcs.cmdline/1 (1.4/26); org.netbeans.modules.web.core/1 (1.1.3/26); org.netbeans.modules.web.wizard/1 (1.1.3/26); org.netbeans.modules.crosscompile (1.4/dev-16); org.netbeans.modules.sysprops (1.1/dev-16)
path="" :jsp: init
*********** Exception occurred ************
Mon Sep 18 14:53:54 GMT+02:00 2000java.lang.NullPointerException: null
java.lang.NullPointerException
	at org.netbeans.modules.debugger.support.AbstractDebugger$11.run(AbstractDebugger.java:1128)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:317)
	at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Jan Stola 2000-11-03 17:42:59 UTC
Cannot reproduce in build 57. Please send more specific information
(steps to reproduce) if are still able to reproduce this bug, thanks.
Comment 2 Jan Stola 2000-11-08 09:29:59 UTC
Verified in build 65.
Comment 3 Jan Stola 2000-11-09 09:35:59 UTC
I am sorry. I missed something. This bug can be reproduced.
Comment 4 Jan Stola 2000-11-09 09:46:59 UTC
Build 65
--------

Steps to reproduce:
1. Create some watch.
2. Shut down the IDE (the watches have to be serialized).
3. Restart the IDE.
4. Try to delete the watch.
5. NullPointer exception will be thrown.
Comment 5 Jan Stola 2000-11-09 09:47:59 UTC
*** Bug 7694 has been marked as a duplicate of this bug. ***
Comment 6 Daniel Prusa 2000-11-09 12:30:59 UTC
[main trunk, release31]