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.
Product Version = NetBeans IDE 8.0 (Build 201411181905) Operating System = Linux version 3.2.0-4-686-pae running on i386 Java; VM; Vendor = 1.7.0_67 Runtime = Java HotSpot(TM) Client VM 24.65-b04 After deleting elements in a form no source errors are shown. Instead, NetBeans is throwing exceptions. The expectation is that after a field is deleted in a form the missing declaration is shown as error as it was the case with Netbeans 7.1. The source is marked as having errors but no errors are marked in the source.
Created attachment 157439 [details] IDE log
Is there a chance you can provide a sample form (or project) where the problem can be demonstrated? I'm not sure I understand what error you would expect and what exception is actually happening. Thanks If I create a simple form with one button, write some code that uses that button, then delete the button in the GUI builder, I get an error on the usage of the (now) not existing field. If you meant this case, it seems working fine.
I meant exactly the case you tested. Unfortunately I cannot reproduce the exact situation and the error. Fact was, I had deleted more than one form element, a custom bean among them without the source showing any errors However, closing and reopening the form solved the issue and works for me. I waited with this comment for the problem to happen again, but I think you can close the issue. Sorry for the inconvenience.