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 29353

Summary: NPE from JavaLineBreakpointEvent after FS is converted to Web module
Product: debugger Reporter: Jiri Skrivanek <jskrivanek>
Component: CodeAssignee: issues@debugger <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: -S1S-   
Hardware: Sun   
OS: SunOS   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2002-12-06 13:09:06 UTC
Tested in build 200212060100, JDK1.4.1.

Steps to reporoduce:

- run IDE
- create a new class and set one breakpoint there
- create a new JSP file
- execute JSP
- approve dialog to change FS to Web module
- following NPE is thrown:


java.lang.NullPointerException
	at
org.netbeans.modules.debugger.support.java.JavaLineBreakpointEvent$LineBreakpointUpdater.fileSystemsRemoved(JavaLineBreakpointEvent.java:622)
	at
org.netbeans.modules.debugger.support.java.BreakpointUpdater$LazyRepositoryListener.run(BreakpointUpdater.java:521)
	at org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:629)
Comment 1 Marek Grummich 2003-01-06 10:27:48 UTC
I have changed version from 4.0 dev to S1S 4.2 (Nevada)
Note: No exception is thrown in build 200301060100, but I don't know
why source editor is closed during filesystem is changed to the web
module.
Comment 2 Marian Petras 2003-01-06 15:57:24 UTC
This bug is related to bug #29357 ("NPE on unmounting filesystem").
Comment 3 Jan Jancura 2003-01-09 14:56:25 UTC
fixed in the main trunk
Comment 4 Jiri Skrivanek 2003-01-09 15:17:57 UTC
Verified in build 200301080100.