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 68814 - NPE when inserting Set/get Bean property without any text
Summary: NPE when inserting Set/get Bean property without any text
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Palette (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2005-11-16 14:26 UTC by Jaroslav Pospisil
Modified: 2005-11-23 11:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE when inserting default Get/Set Bean property (10.00 KB, text/plain)
2005-11-16 14:28 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2005-11-16 14:26:02 UTC
Build 200511151900

When you try to insert Get/Set Bean Property component from palette into JSP
file and you do no changes in template(don't enter the values into fields),there
is NPE thrown in IDE.Attaching excerpt from message.log.
Comment 1 Jaroslav Pospisil 2005-11-16 14:28:17 UTC
Created attachment 27002 [details]
NPE when inserting default Get/Set Bean property
Comment 2 Libor Kotouc 2005-11-21 16:45:32 UTC
I cannot reproduce.

Didn't you make some steps (e.g. repeated adding or inserting some values into
customizer) before this bug occurred?
Comment 3 Jaroslav Pospisil 2005-11-22 08:47:44 UTC
This issue is 100% reproducible,but it occurs only with JDK1.6 .
Comment 4 Libor Kotouc 2005-11-22 12:08:55 UTC
Fixed.

Checking in SetPropertyCustomizer.java;
/cvs/web/core/src/org/netbeans/modules/web/core/palette/items/SetPropertyCustomizer.java,v
 <--  SetPropertyCustomizer.java
new revision: 1.5; previous revision: 1.4
done
Checking in GetPropertyCustomizer.java;
/cvs/web/core/src/org/netbeans/modules/web/core/palette/items/GetPropertyCustomizer.java,v
 <--  GetPropertyCustomizer.java
new revision: 1.5; previous revision: 1.4
done
Comment 5 Jaroslav Pospisil 2005-11-23 11:48:19 UTC
Verified in 200511221900