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 248704 - NullPointerException at org.netbeans.modules.cnd.makeproject.ui.SelectExecutablePanel.validateExe
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.ui.SelectExecuta...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 21:04 UTC by Exceptions Reporter
Modified: 2015-08-20 01:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 213466


Attachments
stacktrace (5.42 KB, text/plain)
2014-11-17 21:04 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-11-17 21:04:10 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13
OS: Windows 8

User Comments:
GUEST: Create a C++ project, build it and then hit run.  The selection of a project executable to run usually crashes.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.ui.SelectExecutablePanel.validateExe(SelectExecutablePanel.java:195)
   at org.netbeans.modules.cnd.makeproject.ui.SelectExecutablePanel.access$100(SelectExecutablePanel.java:79)
   at org.netbeans.modules.cnd.makeproject.ui.SelectExecutablePanel$1.removeUpdate(SelectExecutablePanel.java:123)
   at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:260)
   at javax.swing.text.AbstractDocument.handleRemove(AbstractDocument.java:623)
   at javax.swing.text.AbstractDocument.remove(AbstractDocument.java:591)
Comment 1 Exceptions Reporter 2014-11-17 21:04:12 UTC
Created attachment 150537 [details]
stacktrace
Comment 2 ilia 2015-08-18 14:00:58 UTC
Steps to reproduce:
  1) Create a remote project with existing sources
  2) Set Build | Make | Working directory variable to "/asdasd"
  3) Set Run | Run Command to ""
  4) Run project  
  -------------
     NPE occurs
Comment 3 ilia 2015-08-18 14:15:29 UTC
Fixed in:
  http://hg.netbeans.org/cnd-main/rev/692f2edf584b
Comment 4 Quality Engineering 2015-08-20 01:26:33 UTC
Integrated into 'main-silver', will be available in build *201508200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/692f2edf584b
User: Ilia Gromov <ilia@netbeans.org>
Log: fixed Bug #248704 - NullPointerException at org.netbeans.modules.cnd.makeproject.ui.SelectExecutablePanel.validateExe