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

Bug 354706

Summary: RemoteIndexerManager should use StandaloneLogService when dataStore is null
Product: [Tools] PTP Reporter: John Liu <jwsliu>
Component: RDTAssignee: John Liu <jwsliu>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
a fix patch none

Description John Liu CLA 2011-08-14 14:07:45 EDT
RemoteIndexerManager should use StandaloneLogService when dataStore is null at code line 194,

if(indexFile == null) {
    indexFile = new File(scope + PDOM_EXTENSION); // creates a file object located in the server working directory
    UniversalServerUtilities.logWarning(CLASS_NAME, "Can't create index file at " + path + " attempting to use " + indexFile.getParent() + " instead", dataStore); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    scopeToIndexLocationMap.put(scope, indexFile.getParent());
}
Comment 1 John Liu CLA 2011-08-14 14:14:13 EDT
Created attachment 201479 [details]
a fix patch
Comment 2 John Liu CLA 2011-08-14 14:16:03 EDT
The fix is checked into ptp_4_1
Comment 3 John Liu CLA 2011-09-27 13:53:06 EDT
The patch is checked into head stream.