mbtsp / intellij-plugin-v4

An IntelliJ plugin for ANTLR v4
https://plugins.jetbrains.com/plugin/23446-antlr-v4-new-
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

【Plugin submission】: java.lang.NullPointerException: Cannot assign fiel... #206

Open zoulejiu opened 2 months ago

zoulejiu commented 2 months ago

:warning:[Auto Generated Report]-=C1BA57591E7A9DC69CA1A07C91294D66=-

Environments

Plugin version: 2024.1.9

IntelliJ IDEA 2023.3.6"Community Edition" Build #IC-233.15026.9,built on March 21, 2024 Runtime version: 17.0.10+1-b1087.23 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Operating system: Windows 10.0 Last action id: Run

Stack Trace

java.lang.NullPointerException: Cannot assign field "alt" because "r.alt[i].ast" is null
    at org.antlr.v4.semantics.SemanticPipeline.process(SemanticPipeline.java:96)
    at org.antlr.v4.Tool.processNonCombinedGrammar(Tool.java:371)
    at org.antlr.v4.Tool.process(Tool.java:359)
    at com.antlr.plugin.parsing.ParsingUtils.loadGrammars(ParsingUtils.java:301)
    at com.antlr.plugin.ANTLRv4PluginController$2.lambda$run$0(ANTLRv4PluginController.java:381)
    at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:249)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
    at java.base/java.lang.Thread.run(Thread.java:840)