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 - NPE from JavaLineBreakpointEvent after FS is converted to Web module
Summary: NPE from JavaLineBreakpointEvent after FS is converted to Web module
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-06 13:09 UTC by Jiri Skrivanek
Modified: 2003-02-04 10:56 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 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.