grosenberg / AntlrDT

Eclipse editor and builder for Antlr4 grammars
10 stars 3 forks source link

StringTemplateDT - formatter reports exception #3

Closed almondtools closed 3 years ago

almondtools commented 6 years ago

I recently tried out StringTemplateDT, because I wanted to get better formatting support for my StringTemplate files. Yet my Eclipse (NEON, uptodate) reports an error, when I select the Formatter entry.

java.lang.NullPointerException at net.certiv.dsl.ui.editor.text.AbstractBufferedRuleBasedScanner.bind(SourceFile:156) at net.certiv.stdt.ui.editor.text.ScannerKeyword.getTokenProperties(ScannerKeyword.java:38) at net.certiv.dsl.ui.editor.text.AbstractBufferedRuleBasedScanner.initialize(SourceFile:129) at net.certiv.stdt.ui.editor.text.ScannerKeyword.(ScannerKeyword.java:32) at net.certiv.stdt.ui.editor.STSourceViewerConfiguration.initializeScanners(STSourceViewerConfiguration.java:104) at net.certiv.dsl.ui.editor.text.DslSourceViewerConfiguration.(SourceFile:68) at net.certiv.stdt.ui.editor.STSourceViewerConfiguration.(STSourceViewerConfiguration.java:47) at net.certiv.stdt.ui.editor.STSimpleSourceViewerConfiguration.(STSimpleSourceViewerConfiguration.java:24) at net.certiv.stdt.ui.preferences.page.PrefPageFormatter.createSimpleSourceViewerConfiguration(PrefPageFormatter.java:24) at net.certiv.dsl.ui.formatter.DslFormatterPreferencePage$FormatterSelectionBlock.createPreview(SourceFile:86) at net.certiv.dsl.ui.formatter.DslFormatterPreferencePage$FormatterSelectionBlock$a.createPreview(SourceFile:65) at net.certiv.dsl.ui.formatter.FormatterModifyTabPage.doCreatePreviewPane(SourceFile:175) at net.certiv.dsl.ui.formatter.FormatterModifyTabPage.createContents(SourceFile:138) at net.certiv.dsl.ui.formatter.FormatterModifyDialog.addTabPage(SourceFile:184) at net.certiv.stdt.ui.preferences.formatter.ModifyDialog.addPages(ModifyDialog.java:14) at net.certiv.dsl.ui.formatter.FormatterModifyDialog.createDialogArea(SourceFile:162) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:768)

Maybe I am missing another Plugin, which StringTemplateDT depends on?

Sorry for posting it here, but I did not find a more appropriate way to contact you on this subject.