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 193139 - NullPointerException at org.netbeans.modules.cnd.makeproject.api.RunDialogPanel.getSelectedProject
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.api.RunDialogPan...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 194493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-09 12:53 UTC by Exceptions Reporter
Modified: 2011-01-20 11:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 72018


Attachments
stacktrace (1.14 KB, text/plain)
2010-12-09 12:53 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-12-09 12:53:44 UTC
This issue was reported manually by vv159170.
It already has 12 duplicates 


Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows XP

User Comments:
GUEST: trate de ejecutar un lib.so, seleccionando un proyecto asociado, debido a que necesito debugear la libreria.

GUEST: running a C executable




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.api.RunDialogPanel.getSelectedProject(RunDialogPanel.java:536)
   at org.netbeans.modules.cnd.makeproject.api.actions.RunDialogAction.perform(RunDialogAction.java:125)
   at org.netbeans.modules.cnd.makeproject.api.actions.RunDialogAction.perform(RunDialogAction.java:107)
   at org.netbeans.modules.cnd.makeproject.api.actions.RunDialogAction.performAction(RunDialogAction.java:91)
   at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
   at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:111)
Comment 1 Exceptions Reporter 2010-12-09 12:53:46 UTC
Created attachment 103846 [details]
stacktrace
Comment 2 Alexander Simon 2010-12-09 19:25:09 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/53a72f9de146

By the way, possible steps to reproduce bug are:
- create java application
- create c++ application
- build c++ application
- copy produced binary in java project package
- right click on coped binary
IDE allows to select java application as project. It results in NPE.
Comment 3 Alexander Simon 2010-12-09 21:51:44 UTC
(In reply to comment #2)
> - right click on coped binary
- of couse select run or debug
Comment 4 Quality Engineering 2010-12-10 06:18:37 UTC
Integrated into 'main-golden', will be available in build *201012100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/53a72f9de146
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #193139 NullPointerException at org.netbeans.modules.cnd.makeproject.api.RunDialogPanel.getSelectedProject
Comment 5 Alexander Simon 2011-01-20 11:00:08 UTC
*** Bug 194493 has been marked as a duplicate of this bug. ***