I am getting below error while running Karate Framework code from Karate Runner file on IntelliJ idea community version 2024.2.4, the same code is running on Eclipse IDE. Earlier this code was running on IntelliJ as well but after an update this seems to have stopped working (I might be wrong about the update, but this behavior happened few days after that).
Error: line 23:20 mismatched input '' expecting {FEATURE_TAGS, FEATURE} 16:05:50.643 [main] ERROR com.intuit.karate.core.FeatureParser - syntax error: mismatched input '' expecting {FEATURE_TAGS, FEATURE} 16:05:50.648 [main] ERROR com.intuit.karate.core.FeatureParser - not a valid feature file: classpath:tests/Test.feature - mismatched input '' expecting {FEATURE_TAGS, FEATURE}
java.lang.RuntimeException: mismatched input '' expecting {FEATURE_TAGS, FEATURE}
at com.intuit.karate.core.FeatureParser.<init>(FeatureParser.java:150)
at com.intuit.karate.core.FeatureParser.<init>(FeatureParser.java:126)
at com.intuit.karate.core.FeatureParser.parse(FeatureParser.java:69)
at com.intuit.karate.junit4.Karate.<init>(Karate.java:75)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at .junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
at .junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
at .junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at .junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
at .junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at .junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:50)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)