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.
I cannot run PHPUnit for my project any longer. After upgrading to 8.0.1, PHP Tools all seemed disabled/removed. I was able to reenable them for the project and I have PHPUnit selected as the test runner, but when I try to run a directory or file, the project properties just opens instead. Is there a resolution for this or do I have to wait for a new version to fix the issue? This is a critical issue for me and has broken my workflow. Product Version = NetBeans IDE 8.0.1 (Build 201408251540) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_45 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Created attachment 149268 [details] IDE log
Will try it asap.
From the IDE log: java.lang.ArrayIndexOutOfBoundsException: 0 at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:368) at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:377) at org.netbeans.modules.php.api.ui.options.FrameworksPanel.getSelectedOption(FrameworksPanel.java:208) Will fix it. Not sure this is related to NB 8.0.1... Is it broken for all your PHP projects? Thanks.
The exception is weird, seems like your NB installation is somehow broken... I suggest: - delete your NB cachedir [1]; - start NB with a new/clean usedir [2]; - open your existing PHP project; - run its test. Please, let us know if it works for you or not. Thanks. [1] http://wiki.netbeans.org/FaqWhatIsUserdir [2] http://wiki.netbeans.org/FaqAlternateUserdir
I had downloaded and installed 8.0.1 fresh and now the old installation (8.0 updated to 8.0.1) also works, so I'm guessing it was likely related to Tomas's comments.
Thanks @pdelre for confirmation. I'm sorry for delay, I've tried to update 8.0 to 8.0.1 and haven't been able to reproduce it. Product Version: NetBeans IDE 8.0.1 (Build 201408251540) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Windows 8 version 6.2 running on amd64; Cp1252; en_US (nb)
Thanks a lot for letting us know! And great to hear that it works for you now!