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 27973 - Wrong exception when refGetValue() called for non-existent feature
Summary: Wrong exception when refGetValue() called for non-existent feature
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-13 21:49 UTC by _ briansmith
Modified: 2002-10-16 16:45 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 _ briansmith 2002-10-13 21:49:33 UTC
refGetValue(Feature f) throws a
NullPointerException if the object isn't an
instance of a class that has the given feature.
Instead, it should throw InvalidCallException.
Comment 1 _ briansmith 2002-10-13 21:51:36 UTC
xception in thread "main" java.lang.NullPointerException
       at
org.netbeans.mdr.handlers.InstanceHandler.refGetValue(InstanceHandler
java:369)
       at org.brianlsmith.smn.translation.Builder.build(Builder.java:112)
...
Comment 2 Martin Matula 2002-10-16 16:45:07 UTC
fixed