Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333452 - NullPointerException on using content assist.
Summary: NullPointerException on using content assist.
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: 3.2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Rakesh CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 04:24 EST by Rakesh CLA
Modified: 2011-01-05 14:43 EST (History)
1 user (show)

See Also:
nsand.dev: review+


Attachments
patch (1.01 KB, patch)
2011-01-04 04:29 EST, Rakesh CLA
nsand.dev: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.