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 22360 - NPE when setting required attribute with MofClass type
Summary: NPE when setting required attribute with MofClass type
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-12 11:17 UTC by Stepan Roh
Modified: 2002-07-19 15:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Roh 2002-04-12 11:17:24 UTC
When setting required (multiplicity 1:1) attribute
on object created with create() class method
without arguments, this NPE is thrown:

java.lang.NullPointerException
at
org.netbeans.mdr.storagemodel.StorableFeatured.setAttribute(StorableFeatured.java:116)
at
org.netbeans.mdr.handlers.FeaturedHandler._handleSet(FeaturedHandler.java:155
Comment 1 Daniel Prusa 2002-04-12 13:34:47 UTC
Fixed in main trunk.