[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[Dltk-dev] IDLTKContributionSelector isn't working as expected
|
Hi,
I have two parser and IDLTKContributionSelector isn't select the correct one. The selection isn't working per project and it's because "project" is null at SourceParserManager.getSourceParser(IProject, String).
Thread [main] (Suspended (breakpoint at line 21 in AntlrSourceParserSelector))
AntlrSourceParserSelector.getSavedContributionId(PreferencesLookupDelegate) line: 21
AntlrSourceParserSelector(DLTKIdContributionSelector).select(IDLTKContributedExtension[], IProject) line: 31
SourceParserManager(DLTKContributionExtensionManager).getSelectedContribution(IProject, String) line: 62
SourceParserManager.getSourceParser(IProject, String) line: 70
DLTKLanguageManager.getSourceParser(String) line: 165
SourceParserUtil.getModuleDeclaration(char[], char[], String, IProblemReporter, ISourceModuleInfoCache$ISourceModuleInfo, int) line: 107
SourceParserUtil.getModuleDeclaration(char[], char[], String, IProblemReporter, ISourceModuleInfoCache$ISourceModuleInfo) line: 98 AntlrSourceElementParser.parseSourceModule(char[], ISourceModuleInfoCache$ISourceModuleInfo, char[]) line: 51
How could I fix this?
Thanks
Edgar