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 18588 - New Element Dialog : Tab enables remove button when there are no attributes; throws NPE /IndexOutOfBounds Exception
Summary: New Element Dialog : Tab enables remove button when there are no attributes; ...
Status: CLOSED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Jiri Mzourek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-13 01:35 UTC by Sakthivel Gopal
Modified: 2002-07-19 23:32 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 Sakthivel Gopal 2001-12-13 01:35:54 UTC
When Creating XML using TreeView editor, Add New Element using Pop-up Menu
New->Element on a node.
New Element Dialog Opens up , shows default element  name "element" tab twice,
control is now on Remove button which gets enabled now on Focus. Click or Press
enter , it would thro NPE or ArrayIndexOutOfBounds exception.

Also, Verify Tab Order because it throws exception under some situation. It is
required for A11y.
Comment 1 _ lkramolis 2001-12-13 08:48:53 UTC
It looks you are using old version of XML module. This problem was
fixed long time ago.
Comment 2 Sakthivel Gopal 2001-12-13 18:47:22 UTC
Is the fix in dev-3.3.1 branch ? 
I Suppose FFJ is using nb-3.3.1  and this problem appears in Ongoing
builds of FFJ.
Comment 3 _ lkramolis 2001-12-14 10:02:29 UTC
Probably, it is same as issue 18587.

You use FFJ 2.0 (Pilsen), but xml.netbeans.org contains next
generation of this module and this bug is already fixed. Please file
this bug at Forte page <http://www.sun.com/forte/ffj/resources/bugs/>.
Comment 4 Sakthivel Gopal 2001-12-14 19:36:25 UTC
Using the current development builds of FFJ and hence pretty sure that
this is current development version of XML Module (from NB 3.3.1
branch).
Comment 5 Martin Schovanek 2002-01-10 15:54:45 UTC
VERIFIED
Comment 6 Sakthivel Gopal 2002-07-19 23:32:41 UTC
Verified in Sieera Build 020817.
Hence closing this issue.
-sakthi