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 249110 - Easy Import (Create New Project) generates NPE
Summary: Easy Import (Create New Project) generates NPE
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project Discovery (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 14:45 UTC by soldatov
Modified: 2014-12-13 06:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-12-04 14:45:41 UTC
Scenario:
- Create Welcome project (GNU toolchain)
- Build project
- Open Files tab
- Drag&Drop Welcome_1/build/Debug/GNU-Solaris-x86/welcome.o into editor
==> "Create Project" wizard appears
- Press "Create Project" button
===>
java.lang.NullPointerException
	at org.netbeans.modules.cnd.discovery.projectimport.ImportExecutable.discoverScripts(ImportExecutable.java:474)
	at org.netbeans.modules.cnd.discovery.projectimport.ImportExecutable.access$800(ImportExecutable.java:110)
[catch] at org.netbeans.modules.cnd.discovery.projectimport.ImportExecutable$3.run(ImportExecutable.java:371)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:59)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:294)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)
Comment 1 Alexander Simon 2014-12-12 14:33:37 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/a465cc41e114
Comment 2 Quality Engineering 2014-12-13 06:12:52 UTC
Integrated into 'main-silver', will be available in build *201412130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a465cc41e114
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #249110 Easy Import (Create New Project) generates NPE