Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333452

Summary: NullPointerException on using content assist.
Product: [WebTools] WTP Source Editing Reporter: Rakesh <rakes123>
Component: wst.sseAssignee: Rakesh <rakes123>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: nsand.dev
Version: 3.2.3Flags: nsand.dev: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch nsand.dev: iplog+

Description Rakesh CLA 2011-01-04 04:24:53 EST
Build Identifier: M20101201-0800

1) Create a new static web project
2) Create a new web page (html page)
3) Inside <body> tags, add a new <div> tag and invoke content assist as if you were to add a property to the div element.
4) Now, when content assist is shown, use the right arrow key.You will get exception.

Reproducible: Always
Comment 1 Rakesh CLA 2011-01-04 04:29:19 EST
Created attachment 185985 [details]
patch

null event is sent when we click on right arrow and we should check for it.This check is also done in JavaCompletionProposal from where this code is borrowed.
Comment 2 Nick Sandonato CLA 2011-01-05 13:43:22 EST
Thanks, Rakesh. Looks good.