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 7714 - Exceptions from properties
Summary: Exceptions from properties
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P3 major (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-19 14:33 UTC by Petr Slegr
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (1.36 KB, text/plain)
2000-09-19 14:35 UTC, Petr Slegr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Slegr 2000-09-19 14:33:52 UTC
[1100]

0. Java editor with a class and global properties window are opened
1. Write e.g.: private int x;
2. Go to previous line and then write public
3. Wait until it is parsed

Now the dialog saying "...exception in
org...propertysheet.editors.ModifierEditor occurred".

Then unexpected NullPointerException will occurr.

I know something about background of this behavior, but from user point of view
it is bug - user did nothing wrong.
Comment 1 Petr Slegr 2000-09-19 14:35:59 UTC
Created attachment 159 [details]
stacktrace
Comment 2 Svata Dedic 2000-10-12 17:25:59 UTC
I'm modifying the PE to handle such errors gracefully: If you select conflicting
access modifiers, the PE will ignore it silently and display text for both
access types (public protected). If you open the custom property editor (the
dialog-based one with check boxes and access combo box), *empty* line will be
selected in the combo.
Comment 3 Jan Becicka 2001-02-01 09:42:59 UTC
[010130_1] Verified
Comment 4 Quality Engineering 2003-07-01 13:18:40 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.