shlxue / MvnRunner

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

Error in IDE (Null pointer exception) #19

Open laurentiur opened 5 years ago

laurentiur commented 5 years ago

In IntelliJ IDEA enterprise 2017.2.4; plugin versions: -Maven Integration: 172.4155.36 -Maven Integration Extension: 172.4155.36 -Maven Runner: 0.4.2 Error:

null java.lang.NullPointerException at com.lightd.ideap.maven.execution.MvnRunConfigurationProducer.generateMvnParameters(MvnRunConfigurationProducer.java:49) at com.lightd.ideap.maven.execution.MavenModuleConfigurationProducer.isConfigurationFromContext(MavenModuleConfigurationProducer.java:41) at com.lightd.ideap.maven.execution.MavenModuleConfigurationProducer.isConfigurationFromContext(MavenModuleConfigurationProducer.java:27) at com.intellij.execution.actions.RunConfigurationProducer.findExistingConfiguration(RunConfigurationProducer.java:210) at com.intellij.execution.actions.ConfigurationContext.findExisting(ConfigurationContext.java:229) at com.intellij.execution.actions.BaseRunConfigurationAction.update(BaseRunConfigurationAction.java:184) 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:268) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:244) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:438) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1160) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:431) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:430) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:406) at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:142) at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:249) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:404) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:165) 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)