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 42543 - Frequent NullPointerExceptions in JavaCodeGenerator
Summary: Frequent NullPointerExceptions in JavaCodeGenerator
Status: VERIFIED DUPLICATE of bug 35870
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 23:49 UTC by clheiny
Modified: 2004-07-14 11:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE.log file for this crash. (63.40 KB, text/plain)
2004-04-27 23:53 UTC, clheiny
Details
Stacktrace for this crash (obtained from error dialog details) (1.25 KB, text/plain)
2004-04-27 23:54 UTC, clheiny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description clheiny 2004-04-27 23:49:54 UTC
Using NetBeans 3.6 under Java 1.5 Beta on Fedora
Core 1, I'm getting a LOT of NullPointerExceptions
in JavaCodeGenerator when doing GUI editing. 
There seems to be no set pattern to what causes
them - it could be adding a component, deleting a
component, move a component around or changing
some property of a component.  It seems to happen
in clusters: several times in a row for the same
action, which will then start mysteriously working
again.

When this does happen, it is no longer possible to
save my work (since the same NullPointerException
will be thrown when saving the file) - the only
action is to discard my edits, exit the IDE, and
restart.  Even then that frequently does not solve
the problem, which will recur the next time I
perform the action.

This a serious impediment to the successful use of
NetBeans.

Filed under IDE/Code, since I'm not sure where it
belongs.

I'll attach logs and stack traces in a moment.
Comment 1 clheiny 2004-04-27 23:53:24 UTC
Created attachment 14593 [details]
IDE.log file for this crash.
Comment 2 clheiny 2004-04-27 23:54:24 UTC
Created attachment 14594 [details]
Stacktrace for this crash (obtained from error dialog details)
Comment 3 Jan Chalupa 2004-04-30 08:44:28 UTC
A duplicate of issue #35870. Will be fixed in JDK 1.5 beta 2.

*** This issue has been marked as a duplicate of 35870 ***
Comment 4 Jaromir Uhrik 2004-07-14 11:13:05 UTC
Verified - duplicate.