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 269749 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: UnitTest Support (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 11:54 UTC by Alex2016
Modified: 2017-04-24 16:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227945


Attachments
stacktrace (586 bytes, text/plain)
2017-02-05 11:54 UTC, Alex2016
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex2016 2017-02-05 11:54:39 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Windows 7

User Comments:
Alex2016: Creatin cppunint tests.




Stacktrace: 
java.lang.NullPointerException
   at java.io.File.<init>(File.java:277)
   at org.netbeans.modules.cnd.cncppunit.LibraryChecker.isLibraryAvailable(LibraryChecker.java:132)
   at org.netbeans.modules.cnd.cncppunit.editor.filecreation.TestLibChecker.run(TestLibChecker.java:93)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Comment 1 Alex2016 2017-02-05 11:54:41 UTC
Created attachment 163571 [details]
stacktrace
Comment 2 Alexander Simon 2017-03-23 10:04:23 UTC
fixed in enum, branch release82, changeset 589191fb1ae1
Comment 3 Alex2016 2017-03-25 18:43:53 UTC
How can I obtain an updated version, please?
Comment 4 Vladimir Voskresensky 2017-03-30 13:29:36 UTC
(In reply to Alex2016 from comment #3)
> How can I obtain an updated version, please?
As soon as changes are propagated into trunk, you will see download link here
Comment 5 Quality Engineering 2017-04-02 02:36:42 UTC
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/79e28b73f148
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #269749 NullPointerException at java.io.File.<init>
(transplanted from 589191fb1ae1cc7f8810005130d08fa7a4ed4046)
Comment 6 ilia 2017-04-13 10:55:08 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=269749 Changesets:
    http://hg.netbeans.org/releases/rev/589191fb1ae1 # fixed Bug #269749 NullPointerException at java.io.File.<init>
Comment 7 Alexander Pepin 2017-04-24 16:38:11 UTC
Do not see such exception in netbeans-8.2-20170421.