Community
Participate
Working Groups
The error parsing code in RemoteCIndexSubsystem.reportProblem() can't handle the case when the fileName is not available. This can happen when when you specify some files to parse up front on the indexer preferences page and one of those files has an unresolved inclusion. Should be a simple fix.
Created attachment 154893 [details] patch for 2.1
Did this ever get applied to HEAD?
This would have gotten merged to HEAD in the big merge.
Created attachment 178946 [details] an additional fix applied to RSECIndexSubsystem There is one flaw for the current fix, the way of checking if the header file is under the project(by indexof) may give an incorrect result, for example if the project dir is "/home/jwsliu/defects/6721" and header file name is "/home/jwsliu/defects/6721_header/header.h", then header file will be parsed as "header/header.h" under the project location, so we have to check if the file is existed or not.
(In reply to comment #4) > Created an attachment (id=178946) [details] > an additional fix applied to RSECIndexSubsystem > > > There is one flaw for the current fix, the way of checking if the header file > is under the project(by indexof) may give an incorrect result, for example if > the project dir is "/home/jwsliu/defects/6721" and header file name is > "/home/jwsliu/defects/6721_header/header.h", then header file will be parsed as > "header/header.h" under the project location, so we have to check if the file > is existed or not. Applied to ptp_4_0 and HEAD. Thanks John