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.
Summary: | NullPointerException at org.netbeans.modules.projectapi.nb.NbProjectInformationProvider.getProjectInformation | ||
---|---|---|---|
Product: | cnd | Reporter: | petrk |
Component: | Debugger | Assignee: | Maria Tishkova <mromashova> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 225390 |
Attachments: | stacktrace |
Description
petrk
2016-08-17 14:00:39 UTC
Created attachment 161699 [details]
stacktrace
it looks like regression after fixing the bug #262196 as Alexander said it is a regression. ATTACH action is now considered as Debug action but in case "no project" is selected when attached to the process pae,getProject() will return null, as DebugTarget put in the Lookup instead of Project. As DebugTarget is not accessible in ProjectActionSupport new interface has to be introduce, but I have decided to just check for null at this time. changeset: 300288:59d03b1b45da tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Wed Aug 31 19:58:08 2016 +0300 summary: fixed bz#267620 - NullPointerException at org.netbeans.modules.projectapi.nb.NbProjectInformationProvider.getProjectInformation Integrated into 'main-silver', will be available in build *201609010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/59d03b1b45da User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#267620 - NullPointerException at org.netbeans.modules.projectapi.nb.NbProjectInformationProvider.getProjectInformation Integrated into 'main-silver', will be available in build *201609020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cdc38ca8ec11 User: Maria Dalmatova <mromashova@netbeans.org> Log: added fix to bz#267620 - NullPointerException at org.netbeans.modules.projectapi.nb.NbProjectInformationProvider.getProjectInformation |