Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
11.0
-
Product Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319)
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir
Cache directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir\var\cacheProduct Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) User directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir Cache directory: C:\Projekte\Netbeans Plugins\TextmateBeans\target\userdir\var\cache
Description
I got a NoSuchFieldError after I added markdown support.
Steps to reproduce:
- Download this plugin: https://github.com/Chris2011/TextmateBeans/releases/tag/1.1
- Install it in NetBeans 11
- Restart NetBeans
- open my attached markdown file
- See the error:
java.lang.NoSuchFieldError: codeLen at org.joni.Analyser.isCaseFoldVariableLength(Analyser.java:1507) at org.joni.Analyser.expandCaseFoldString(Analyser.java:1585) at org.joni.Analyser.setupTree(Analyser.java:1811) at org.joni.Analyser.setupTree(Analyser.java:1802) at org.joni.Analyser.setupTree(Analyser.java:1912) at org.joni.Analyser.setupTree(Analyser.java:1791) at org.joni.Analyser.setupTree(Analyser.java:1902) at org.joni.Analyser.setupTree(Analyser.java:1791) at org.joni.Analyser.compile(Analyser.java:113) at org.joni.Regex.<init>(Regex.java:159) at org.joni.Regex.<init>(Regex.java:136) at org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.<init>(OnigRegExp.java:49) at org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.<init>(OnigSearcher.java:29) at org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.<init>(OnigScanner.java:24) at org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) at org.eclipse.tm4e.core.internal.rule.RegExpSourceList._resolveAnchors(RegExpSourceList.java:128) at org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:99) at org.eclipse.tm4e.core.internal.rule.IncludeOnlyRule.compile(IncludeOnlyRule.java:47) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) at org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) at org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) at org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) at org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:67) at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) at org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:775) at org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) at org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) at org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.restart(HighlightsViewFactory.java:166) at org.netbeans.modules.editor.lib2.view.ViewBuilder$FactoryState.init(ViewBuilder.java:1299) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:699) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:660) at org.netbeans.modules.editor.lib2.view.ViewUpdates.reinitAllViews(ViewUpdates.java:189) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:617) at org.netbeans.modules.editor.lib2.view.DocumentView.getPreferredSpan(DocumentView.java:226) at java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1452) at java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:957) at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680) at java.desktop/javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1345) at org.netbeans.modules.editor.NbEditorUI$LayeredEditorPane.getPreferredSize(NbEditorUI.java:453) at java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:795) at java.desktop/java.awt.Container.layout(Container.java:1537) at java.desktop/java.awt.Container.doLayout(Container.java:1526) at java.desktop/java.awt.Container.validateTree(Container.java:1722) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validate(Container.java:1657) at org.netbeans.core.windows.view.ui.DesktopImpl$LayeredLayout.layoutContainer(DesktopImpl.java:529) at java.desktop/java.awt.Container.layout(Container.java:1537) at java.desktop/java.awt.Container.doLayout(Container.java:1526) at java.desktop/java.awt.Container.validateTree(Container.java:1722) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validateTree(Container.java:1731) at java.desktop/java.awt.Container.validate(Container.java:1657) at java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:745) at java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:742) at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1889) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Here is the file, that I use for the lexer: https://raw.githubusercontent.com/Microsoft/vscode/master/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json. Maybe it is because of the scopename?
Attachments
Attachments
Issue Links
- links to