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 219993 - NullPointerException at org.netbeans.modules.cnd.remote.actions.RemoteOpenHelper$5.run
Summary: NullPointerException at org.netbeans.modules.cnd.remote.actions.RemoteOpenHel...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 223590 223594 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-12 11:41 UTC by Alexander Pepin
Modified: 2012-12-10 16:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193468


Attachments
stacktrace (1.81 KB, text/plain)
2012-10-12 11:41 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2012-10-12 11:41:50 UTC
Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Linux

User Comments:
apepin: Steps to reproduce:
- switch on Remote toolba
- add a remote host
- press open Remote project button on Remote toolbar
- in Open Remote Project dialog enter non-existent path to the project folder
- press Open Project
Result: NPE occurs




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.remote.actions.RemoteOpenHelper$5.run(RemoteOpenHelper.java:238)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036)
Comment 1 Alexander Pepin 2012-10-12 11:41:52 UTC
Created attachment 125850 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2012-10-12 14:32:59 UTC
http://hg.netbeans.org/cnd-main/rev/d9da45998f18
Comment 3 Quality Engineering 2012-10-13 02:08:55 UTC
Integrated into 'main-golden', will be available in build *201210130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d9da45998f18
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #219993 - NullPointerException at org.netbeans.modules.cnd.remote.actions.RemoteOpenHelper$5.run
- null check before put into lastUsedDirs
Comment 4 Alexander Simon 2012-12-10 14:16:33 UTC
*** Bug 223594 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Simon 2012-12-10 16:09:08 UTC
*** Bug 223590 has been marked as a duplicate of this bug. ***