Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355110 - NPE in RemoteIndexerTask.run() when using the local indexing provider
Summary: NPE in RemoteIndexerTask.run() when using the local indexing provider
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.0.2   Edit
Assignee: Chris Recoskie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 11:57 EDT by Chris Recoskie CLA
Modified: 2011-08-18 11:59 EDT (History)
1 user (show)

See Also:


Attachments
patch (3.38 KB, patch)
2011-08-18 11:57 EDT, Chris Recoskie CLA
recoskie: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Recoskie CLA 2011-08-18 11:57:18 EDT
Created attachment 201726 [details]
patch

Sometimes when switching back and forth between using the local provider and the remote provider, the remote indexer ends up running before the service provider is properly switched, and this can cause an NPE.  A simple null check avoids it.
Comment 1 Chris Recoskie CLA 2011-08-18 11:59:26 EDT
Fixed on ptp_4_1, ptp_5_0, and HEAD.