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.

Bug 256724 - After deleting elements in a form no source errors are shown.
Summary: After deleting elements in a form no source errors are shown.
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-21 23:04 UTC by hans_artmann
Modified: 2015-12-11 09:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (772.85 KB, text/plain)
2015-11-21 23:04 UTC, hans_artmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hans_artmann 2015-11-21 23:04:19 UTC
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.
Comment 1 hans_artmann 2015-11-21 23:04:35 UTC
Created attachment 157439 [details]
IDE log
Comment 2 Tomas Pavek 2015-11-23 15:32:47 UTC
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.
Comment 3 hans_artmann 2015-12-11 09:55:30 UTC
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.