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.
Exception appears on NB 7.1.1<br /> Win7, Java 1.7.0, 64-bit. Plugin functionality tested. When it fails only 2 files are created. When it works it creates the 3 files but png is always 0kb. More details on the Comments section. http://plugins.netbeans.org/plugin/32365
Created attachment 116343 [details] Exception when jDepend Analysis action was called on debugger.jpda.ui NetBeans module.
Can you take a look at it Javier? Thanks!
From the stacktrace it seems like GraphViz is not available, this is stated as a requirement for the plugin. Check if it's available. I guess I'll need to have the plugin check and give a warning or something if not found.
It seems that Graphviz was not installed. Added some logic to detect this upon plugin validation to display the proper message and unload the plugin as an enhancement for next version. See issue: http://kenai.com/jira/browse/JDEPEND_PLUGIN-6 for more details. Reporter, if the missing Graphviz is not the case please feel free to reopen with more details.
Javier, please upload new plugin binary otherwise you cannot mark this issue as resolved. Thanks for your understanding.
Why not? IMO is just a plugin missing required elements from the user. The fix will just elegantly handle that scenario by displaying a message and unloading the plug-in. Even if I upload the new version the plugin won't work without Graphviz installed, it just won't show the related actions in the IDE. This "fix" is just an enhancement.
Yes, I understand that Javier. But in my opinion you cannot mark issue as resolved if nothing changed in reality. If I right now download the plugin and will not face the same behavior (exception, enabled useless action), this bug can be resolved. Otherwise it must stay opened. BTW, where can I get the GraphViz library/plugin? This information should be mentioned in the plugin's description.
I marked it as works for me not fixed (if I remember correctly). I added the Graphviz link to the plugin details (is not a plugin, is an application that needs to be installed in the OS). Based on the way NetBeans uses Resolved/Works for me I was not doing any different. I'll go ahead and release a new version even if I disagree since the plugin was behaving correctly (just not too user friendly).
Published new version of the plug-in with the ENHANCEMENT. See http://plugins.netbeans.org/plugin/32365 for more details.
Great, I think this solution is satisfactory. Thanks a lot Javier for your quick fix! Verifying.