Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 500154 - Bug: possible API NPE in JFace Text Content Assist
Summary: Bug: possible API NPE in JFace Text Content Assist
Status: CLOSED DUPLICATE of bug 499980
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-23 13:33 EDT by Bruno Medeiros CLA
Modified: 2016-08-23 14:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Medeiros CLA 2016-08-23 13:33:29 EDT
The contract of ContentAssistant.computeCompletionProposals(ITextViewer, int) states that null can be returned, however sortProposals doesn't handle null properly, an NPE occurs if null is supplied.
Comment 1 Bruno Medeiros CLA 2016-08-23 14:01:46 EDT

*** This bug has been marked as a duplicate of bug 499980 ***