| Summary: | NPE in Java breakpoint properties page with JavaStratumLineBreakpoint | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Morris Kwan <mkwan> | ||||
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | daniel_megert, darin.eclipse, Michael_Rennie, swanj, thatnitind | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.6.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 325264 | ||||||
| Attachments: |
|
||||||
This needs to be fixed in 3.6.2 Created attachment 178836 [details]
patch for HEAD (3.7)
Released to 3.6.2. Fixed. verified in the test build M20110119-0834 |
Build Identifier: This problem is reproduced in RAD. The JSP editor in RAD creates a JavaStratumLineBreakpoint when we double-click on the annotation column. When we open the breakpoint properties page for the JSP breakpoint, we see the following NullPointerException: java.lang.NullPointerException at org.eclipse.jdt.internal.debug.ui.propertypages.JavaBreakpointPage.createTypeSpecificEditors(Unknown Source) at org.eclipse.jdt.internal.debug.ui.propertypages.JavaBreakpointPage.createContents(Unknown Source) at org.eclipse.jface.preference.PreferencePage.createControl(Unknown Source) at org.eclipse.jdt.internal.debug.ui.propertypages.JavaBreakpointPage.createControl(Unknown Source) at org.eclipse.jface.preference.PreferenceDialog.createPageControl(Unknown Source) at org.eclipse.jface.preference.PreferenceDialog$14.run(Unknown Source) ..... That is because there is no code to handle Stratum breakpoint type in JavaBreakpointPage.createTypeSpecificEditors() and the fEditor field is null. Reproducible: Always Steps to Reproduce: 1. Set a breakpoint on a JSP file in RAD 2. Open the breakpoint properties page