shlxue / MvnRunner

IntelliJ plugin for maven, building and run unit testing or main method, by mvn.
MIT License
8 stars 6 forks source link

Issue reported by Intellij #15

Closed rkentmc closed 6 years ago

rkentmc commented 6 years ago

WE cannot figure out why this is happening, maybe you can shed some light on it?


java.lang.NullPointerException
    at com.lightd.ideap.maven.execution.MvnRunConfigurationProducer.generateMvnParameters(MvnRunConfigurationProducer.java:49)
    at com.lightd.ideap.maven.execution.MavenModuleConfigurationProducer.setupMavenContext(MavenModuleConfigurationProducer.java:87)
    at com.lightd.ideap.maven.execution.MavenModuleConfigurationProducer.setupConfigurationFromContext(MavenModuleConfigurationProducer.java:56)
    at com.lightd.ideap.maven.execution.MavenModuleConfigurationProducer.setupConfigurationFromContext(MavenModuleConfigurationProducer.java:27)
    at com.intellij.execution.actions.RunConfigurationProducer.createConfigurationFromContext(RunConfigurationProducer.java:90)
    at com.intellij.execution.actions.RunConfigurationProducer.findOrCreateConfigurationFromContext(RunConfigurationProducer.java:178)
    at com.intellij.execution.actions.PreferredProducerFind.getConfigurationsFromContext(PreferredProducerFind.java:112)
    at com.intellij.execution.actions.ConfigurationContext.getConfigurationsFromContext(ConfigurationContext.java:326)
    at com.intellij.execution.actions.BaseRunConfigurationAction.a(BaseRunConfigurationAction.java:91)
    at com.intellij.execution.actions.BaseRunConfigurationAction.update(BaseRunConfigurationAction.java:196)
    at com.intellij.execution.lineMarker.ExecutorAction.update(ExecutorAction.kt:87)
    at com.intellij.execution.lineMarker.LineMarkerActionWrapper.update(LineMarkerActionWrapper.java:84)
    at com.intellij.codeInsight.daemon.impl.GutterIntentionAction.a(GutterIntentionAction.java:80)
    at com.intellij.codeInsight.daemon.impl.GutterIntentionAction.a(GutterIntentionAction.java:147)
    at com.intellij.codeInsight.daemon.impl.GutterIntentionAction.a(GutterIntentionAction.java:140)
    at com.intellij.codeInsight.daemon.impl.GutterIntentionAction.a(GutterIntentionAction.java:117)
    at com.intellij.codeInsight.daemon.impl.GutterIntentionAction.addActions(GutterIntentionAction.java:102)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:373)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.a(ShowIntentionsPass.java:269)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:245)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:437)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1127)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:430)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:543)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:429)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:405)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:143)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:229)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:403)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:170)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)```