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.remote.ui.NewRemoteProjectAction.performAction | ||
---|---|---|---|
Product: | cnd | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Remote | Assignee: | Vladimir Kvashin <vkvashin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 226134 |
Attachments: | stacktrace |
Created attachment 161962 [details]
stacktrace
This can not be reproduced. I checked dev version, pure 8.1 and 9.1 with exactly the same update as user has. I think something was broken in user directory. However sure null check should be added. Fixed in http://hg.netbeans.org/cnd-main/rev/38d095c10863 (In reply to Vladimir Kvashin from comment #2) > ... I checked dev version, pure 8.1 and 9.1 with > exactly the same update as user has..... That's a typo, sure I meant 8.1, not 9.1 :) Integrated into 'main-silver', will be available in build *201609090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/38d095c10863 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #267937 - NullPointerException at org.netbeans.modules.remote.ui.NewRemoteProjectAction.performAction I realized the bug shows up when the C/C++ plugin is not installed in the IDE. However, a proper error message should be displayed to let the developer know how to fix it, instead of producing a dump of the Java stacktrace :) (In reply to ajavier from comment #5) You use 8.1 (IDE log shows: NetBeans IDE 8.1 (Build 20151231-debian-8.1). This bug is fixed in 8.2. Please upgrade to 8.2 (and please allow IDE to get updates since a patch to 8.2 has been done, but this patch is not included into 8.2 distribution, only into the update center). |
Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15 OS: Windows 8 User Comments: GUEST: C/C++ Build Hosts > New C/C++ proyect Stacktrace: java.lang.NullPointerException at org.netbeans.modules.remote.ui.NewRemoteProjectAction.performAction(NewRemoteProjectAction.java:82) at org.netbeans.modules.remote.ui.SingleHostAction.performAction(SingleHostAction.java:103) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95) at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116) at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)