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 224776

Summary: NoGo for plugin phpMD / PHP CodeSniffer Plugin
Product: updatecenters Reporter: carlosqt
Component: PluginportalAssignee: jmglsn
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description carlosqt 2013-01-12 13:27:28 UTC
After instaling or activating the plugin: phpMD / PHP CodeSniffer Plugin it installs a new button in the Main toolbar. This icon called Scan File (with an eye icon) if you click on it it will throw null exception. I tested it couple of times and i was able to reproduce the error. java.lang.NullPointerException

http://plugins.netbeans.org/plugin/40282
Comment 1 jmglsn 2013-01-14 09:20:39 UTC
Thank you, just found the reason, if no php-qa tool is installed at all, the fail over did not work as expected. This is fixed in latest version now.