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 18587

Summary: New Attribute on Element using pop-up menu : Change default Attribute name throws NPE
Product: xml Reporter: Sakthivel Gopal <sakthivelg>
Component: CodeAssignee: issues@xml <issues>
Status: CLOSED INVALID    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Sakthivel Gopal 2001-12-13 01:22:55 UTC
Edit an XML using Treeview Editor
On an Element Node choose New -> Attribute
New Attribute Window opens with default Name & Value
Change the Attribute Name, it throws Null Pointer Exception.
Say OK.
Click on JTable on right showing Attributes & Value & user can change that way.
Comment 1 _ lkramolis 2001-12-13 08:00:04 UTC
Which version of XML module, do you use. I can not reproduce it with
XML Project beta 1 release.
Comment 2 Sakthivel Gopal 2001-12-13 18:45:08 UTC
Version 1.5 Implementation 010925
In fact, I am trying this from FFJ Build 010925 (Current development
Builds)
Comment 3 _ lkramolis 2001-12-14 09:43:58 UTC
OK. 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:35:00 UTC
I am using ongoing FFJ Builds i.e, to be FFJ 4.0.
This bug is seen in the current verison of XML may be from NB 3.3.1
develiopment branch.
Is this fix in NB 3.3.1 branch or
it is available only NB 3.3.0 branch ?


Comment 5 _ lkramolis 2001-12-17 14:05:28 UTC
This fix is in netbeans{release33} branch, which is used in Orion
build. Current versions of XML modules are 6 * '0.2.2', 1 * '0.5.2'.
Last FFJ build is 011216.

Versions 1.5 and 010925 represents FFJ 3.0 (Pilsen, I previously wrote
wrong number) release. I am confused. From where do you download FFJ?
Comment 6 Martin Schovanek 2002-01-10 15:52:36 UTC
VERIFIED
Comment 7 Sakthivel Gopal 2002-07-19 23:36:32 UTC
This probelm no longer exists & has been verified in Sierra Build
020817
-sakthi