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.
Hello I created some class. Tools/Add to component palette. When I tried to drop this control on a panel. exception window poped up and it does not want to close. attaching ide.log
Created attachment 11386 [details] ide.log
I guess this is caused by the first NullPointerException from your code: de.haufe.arbeitsmittelverzeichnis.MainFrame.getText(MainFrame.java:87) ... Due to it, OverlayLayout of form editor initilizes improperly and then throws the other eceptions again and again.
I agree with you but I think that IDE must be more stable to developer errors. Supposed Behaviour should be to throw an exception and don't repeat it infinitely. Reopening
Further If you close the IDE and reopen it, this exception continues to appear if you open form editor. As a netbeans user I don't know which files should I delete in my userdir to correct this porblem.
To correct the problem, you need to close the form causing the problems (its java file in the source editor). That should be possible even if there are some exceptions. The IDE must be robust to handle errors in user components, but it is possible only to certain level. E.g. validating and painting happens completely in Swing/AWT direction, so the form editor has not much chance to influence it. If a component is not even able to paint itself then we can hardly do anything reasonable with it...
Thank you for the workaround. That's what I wanted to know.