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.
NPE when trying "Scan File" on a fresh NB install (and plugin not configured) http://plugins.netbeans.org/plugin/40282
On a fresh install of NetBeans, plugin not configured yet. Try to use the "Scan File" button from the toolbar : I get a NPE java.lang.NullPointerException at org.jmgl.php.Batch.escapePath(Batch.java:135) at org.jmgl.php.copypaste.BatchInterface.parse(BatchInterface.java:75) at org.jmgl.php.copypaste.BatchInterface.getTasks(BatchInterface.java:52) at org.jmgl.nb.php.InteractiveScannerManager$1.run(InteractiveScannerManager.java:111) [catch] at java.lang.Thread.run(Thread.java:722) Could you take a look at this ? (e.g. handle this exception with a regular warning/error message) Thx.
Thank you, I love those NPEs, looks like the first install / usage is not testet that good... Hopefully I got it now, it would be very embarrassing if I need another run :(
Sorry, but now I get a NoSuchMethodEception ;) I'll retry with a new clean profile in ~30min.
Confirmed. I get the following exception: java.lang.NoSuchMethodError: java.util.logging.Logger.getGlobal()Ljava/util/logging/Logger; at org.jmgl.php.TaskFinder.attachProvider(TaskFinder.java:83) at org.jmgl.nb.php.ScannerSetupHelper$3.run(ScannerSetupHelper.java:157) [catch] at java.lang.Thread.run(Thread.java:662) But this is strange : I have tested it on two fresh installations => - with JDK6u38: I get the NoSuchMethodError exception, plus the "Plugin not configured" warning message from PhpCS-MD - with JDK7u11: no exception, I have the "Execution problem" warning message from PhpCS-MD only Tested with the Full Distro of NetBeans 7.2.1. Win7.
hm, no words left to say ^^ I didn't test it with JDK6, there was already a problem about one year ago with it. But at the given lines I see no possible reason for it. The last time it was only "version compare"... I'll try a run with jdk6 too, anxious what will happen next ^^
Ok, got it. There is no Logger.getGlobal() in jdk 6 and even another usage of Integer.compare() is fixed. Time to spend a beer ^^ Is there another way to submit a new version without sending out a new request? It produces a lot of spam, or? Thank you
If you don't insist on getting your plugin verified, remove the verification request and then upload new binary. However, if you want to have your plugin published in the Plugin Portal Update Center, you must generate that spam. Ideal state is to thoroughly test your plugin before uploading the new bits. BTW, thanks for your prompt resolution of the problem!
New version works fine. Thx!
Cool, thanks for your support!