Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NPE in themeContribution on opening context menu on TM4E managed file #207
Intermittent error. Happens on right clicking a file in Project Explorer, that is handled by TM4E.
This might be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=414544
Looking at the code, probably the current active part as queried by in ThemeContribution#getActivePart() is not adaptable to ITextViewer. It might be the previously active part that is returned.
(Otherwise fPresentationReconciler in SourceViewer is probably null; a null check in ThemeContribution#getContributionItems would be good to add anyhow)