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.
Build 200406082045 1) Open a project which uses library not defined in your Library manager 2) Reference problem dialog appears 3) Resolve the problem by creating the library 4) Look at project's context menu 5) ERROR: "Resovle reference problems..." menu item is still there. I'd expect it will vanish on closing The "Resolve Reference Problems" dialog if no any problem exists. 6) Invoke the dialog again 7) ERROR: There's no any reference when dialog opened, but the "Resolve..." button is not disabled. Pressing the button causes exception (ArrayIndexOutOfBoundsException) which doesn't affect next work with IDE.
If you have exceptions, we need your log file (or at least the stack trace).
I'm disabling action, but for some reason it stays enabled.
Fixed in: src/org/netbeans/modules/java/j2seproject/ui/J2SEPhysicalViewProvider.java; new revision: 1.22; previous revision: 1.21
Verified in J2SE project. BTW the fix doesn't solve WebApp project problem + it caused probably more problems in WebApps -- see issue #45032. Am I right? The dependency & libraries code in J2SE/WebApp project differs, why?
Re. Webapps: it is different problem. Some code was initially copy&pasted from J2SE project to WebApp project. Most probably the fix I did in this issue should be applied also to Web proj. You can find CVS log above.