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 250315 - NullPointerException at org.netbeans.modules.php.project.ui.codecoverage.PhpCoverageProvider.getFileCoverageSummary
Summary: NullPointerException at org.netbeans.modules.php.project.ui.codecoverage.PhpC...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 20:45 UTC by Exceptions Reporter
Modified: 2015-04-22 02:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215298


Attachments
stacktrace (3.27 KB, text/plain)
2015-02-09 20:45 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-02-09 20:45:45 UTC
This bug was originally marked as duplicate of bug 172790, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 8

User Comments:
GUEST: run PHPUnit tests




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.php.project.ui.codecoverage.PhpCoverageProvider.getFileCoverageSummary(PhpCoverageProvider.java:233)
   at org.netbeans.modules.php.project.ui.codecoverage.PhpCoverageProvider.getResults(PhpCoverageProvider.java:211)
   at org.netbeans.modules.gsf.codecoverage.CoverageManagerImpl.showReport(CoverageManagerImpl.java:282)
   at org.netbeans.modules.gsf.codecoverage.CoverageSideBar.report(CoverageSideBar.java:318)
   at org.netbeans.modules.gsf.codecoverage.CoverageSideBar.access$300(CoverageSideBar.java:86)
   at org.netbeans.modules.gsf.codecoverage.CoverageSideBar$5.actionPerformed(CoverageSideBar.java:249)
Comment 1 Exceptions Reporter 2015-02-09 20:45:47 UTC
Created attachment 151907 [details]
stacktrace
Comment 2 Tomas Mysik 2015-04-21 14:06:58 UTC
Are there any steps to reproduce? Perhaps you tried to open code coverage of a deleted file? Anyway, trying to work around such situation but please reopen this issue and provide exact steps to reproduce.

Thanks.

http://hg.netbeans.org/web-main/rev/4a6dc1aaa774
Comment 3 Quality Engineering 2015-04-22 02:04:11 UTC
Integrated into 'main-silver', will be available in build *201504220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4a6dc1aaa774
User: Tomas Mysik <tmysik@netbeans.org>
Log: #250315 - NullPointerException at org.netbeans.modules.php.project.ui.codecoverage.PhpCoverageProvider.getFileCoverageSummary