Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354706 - RemoteIndexerManager should use StandaloneLogService when dataStore is null
Summary: RemoteIndexerManager should use StandaloneLogService when dataStore is null
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Liu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-14 14:07 EDT by John Liu CLA
Modified: 2011-09-27 13:53 EDT (History)
0 users

See Also:


Attachments
a fix patch (1.55 KB, text/plain)
2011-08-14 14:14 EDT, John Liu CLA
no flags Details

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