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

Summary: NPE when inserting Set/get Bean property without any text
Product: javaee Reporter: Jaroslav Pospisil <jpospisil>
Component: PaletteAssignee: Libor Kotouc <lkotouc>
Status: VERIFIED FIXED    
Severity: blocker Keywords: JDK_SPECIFIC
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: NPE when inserting default Get/Set Bean property

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