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 21615 - Association could throw an IllegalArgumentException when adding null AssociationEnd
Summary: Association could throw an IllegalArgumentException when adding null Associat...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Other Other
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-15 09:20 UTC by Svata Dedic
Modified: 2002-08-08 15:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-03-15 09:20:42 UTC
Currently the exception thrown is TypeMismatch and when it formattes the 
message (inside getMessage()), it produces a NPE.
I suggest early checking for null before the typecheck.
Comment 1 Martin Matula 2002-08-08 15:07:02 UTC
fixed