Giter Club home page Giter Club logo

intellijbehave's People

Contributors

kumaraman21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

intellijbehave's Issues

NPE in DeclaredAnnotationSet

I'm getting this NPE error while performing basic tasks with stores when this plugin is enabled:

2012-10-21 11:06:59,885 [2563138] ERROR - currency.PrioritizedFutureTask - IntelliJ IDEA 11.1.3 Build #IU-117.798
2012-10-21 11:06:59,885 [2563138] ERROR - currency.PrioritizedFutureTask - JDK: 1.7.0_05
2012-10-21 11:06:59,885 [2563138] ERROR - currency.PrioritizedFutureTask - VM: Java HotSpot(TM) 64-Bit Server VM
2012-10-21 11:06:59,885 [2563138] ERROR - currency.PrioritizedFutureTask - Vendor: Oracle Corporation
2012-10-21 11:06:59,885 [2563138] ERROR - currency.PrioritizedFutureTask - OS: Windows 7
2012-10-21 11:06:59,886 [2563139] ERROR - currency.PrioritizedFutureTask - Original exception:
java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:170)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:182)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:182)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:182)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:182)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:182)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:182)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:182)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:162)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.github.kumaraman21.intellijbehave.codeInspector.UnusedStepsInspection$1.visitElement(UnusedStepsInspection.java:101)
at com.intellij.psi.JavaElementVisitor.visitAnnotation(JavaElementVisitor.java:340)
at com.intellij.psi.impl.source.tree.java.PsiAnnotationImpl.accept(PsiAnnotationImpl.java:111)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:403)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:361)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$100(LocalInspectionsPass.java:76)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:327)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:309)
at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:117)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:115)
at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Tokens [STEP_TYPE, STEP_TEXT] were not inserted into the tree. Language: Story, Text:

Tokens [STEP_TYPE, STEP_TEXT] were not inserted into the tree. Language: Story, Text:
Meta:

Narrative:
As an epcis repository
I want to send recondition and shipment events
So that I can send a shipment business object to historical mdoule

Scenario: send recondition event, send shipment event, assure that shipment business object has been sent to historical module

Given database is empty
W
Then system is in a different state
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1110)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1115)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1110)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1115)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1110)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1115)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1110)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1115)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1110)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1115)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:983)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:285)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:230)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:204)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:143)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:582)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
at java.lang.Thread.run(Thread.java:662)

Stack trace when trying to access method

Notes: The configuration of the plugin is not documented. So, maybe this issue is for a lack of configuration. Anyway, and error handling should be added, in order to avoid IntelliJ freeze when a stack trace comes out.

Steps to reproduce:
1- Install Plugin
2- Restart IntelliJ
3- Open a .story file
4- CTRL+Click in a sentence

Expected result:
The method associated to the sentence, should be opened.

Actual result:
null
java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil$1.visitFile(FileIndexImplUtil.java:38)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:167)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:179)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:160)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:33)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.resolve(CtrlMouseHandler.java:458)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:388)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$1500(CtrlMouseHandler.java:82)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:554)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$1400(CtrlMouseHandler.java:481)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2$1.run(CtrlMouseHandler.java:538)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1$2.run(CtrlMouseHandler.java:536)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.run(CtrlMouseHandler.java:531)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:422)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

Incorrect linking of steps when multiple projects are open

Problem exists when multiple projects are open:
Example:
Project1 has story (and appropriate definitions):
Given The calling application is authorized
Then I should receive a status code of 200

Project2 has story (and appropriate definitions):
Given The calling application is authorized
When the users have been inserted
Then do some work

Project 1 has no errors displayed in the stories
Project 2 has a step that uses exactly the same words as project 1 (Given The calling app....) but the definition of that step in each project is different.
Project 2 displays errors "No Definition Found for the step" on the 2 steps after the authorization.
I follow the usage of Given command in project 2 to see where the plugin is finding the definition.
I am taken to the definition in Project 1 even though these projects are not linked in any way. They are simply open in intelij at the same time. The definition files in project 2 are not linked with the stories in project 2.

If I close out one of the projects and restart intellij, the problem goes away.

IntelliJBehave Not Allowing Click-through in .story files

Opened IntelliJ for first time on an Ubuntu box, setup and associated story files with text files, etc. Story highlights work, however in my .story files, none of the lines change to blue-highlighted nor underlined after CTRL+left-click.
Verison of IntelliJ is 10.5.1

-Everic: QA-SWA FantasticFour (PODIV)

Stack trace below:

null
java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:31)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.github.kumaraman21.intellijbehave.codeInspector.UndefinedStepsInspection$1.visitElement(UndefinedStepsInspection.java:72)
at com.intellij.extapi.psi.PsiElementBase.accept(PsiElementBase.java:144)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:334)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:289)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$100(LocalInspectionsPass.java:74)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:257)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:241)
at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:116)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:114)
at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
at com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:241)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:225)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:131)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
at com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:327)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:188)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:31)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.github.kumaraman21.intellijbehave.codeInspector.UndefinedStepsInspection$1.visitElement(UndefinedStepsInspection.java:72)
at com.intellij.extapi.psi.PsiElementBase.accept(PsiElementBase.java:144)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:334)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:289)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$100(LocalInspectionsPass.java:74)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:257)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:241)
at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:116)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:114)
at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
at com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:241)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:225)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:131)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
at com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:327)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:188)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

java.lang.NullPointerException
at com.github.kumaraman21.intellijbehave.resolver.DeclaredAnnotationSet.(DeclaredAnnotationSet.java:48)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference$StepAnnotationFinder.processFile(StepPsiReference.java:89)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:31)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.FileIndexImplUtil.iterateRecursively(FileIndexImplUtil.java:36)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:71)
at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:60)
at com.github.kumaraman21.intellijbehave.codeInspector.UndefinedStepsInspection$1.visitElement(UndefinedStepsInspection.java:72)
at com.intellij.extapi.psi.PsiElementBase.accept(PsiElementBase.java:144)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:334)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:289)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$100(LocalInspectionsPass.java:74)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:257)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.process(LocalInspectionsPass.java:241)
at com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:116)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.concurrency.JobUtil$2.process(JobUtil.java:114)
at com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
at com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:241)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:225)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:131)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:133)
at com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
at com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:327)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:188)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Exception in plugin

IntellijBehave permanently fails

Error message: " Tokens [TABLE_ROW, TABLE_ROW, TABLE_ROW, TABLE_ROW, SCENARIO_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT] were not inserted into the tree. Language: Story, Text:"

at com.intellij.openapi.diagnostic.Logger.error(Logger.java:123)
at com.intellij.lang.impl.PsiBuilderImpl.prepareLightTree(PsiBuilderImpl.java:1052)
at com.intellij.lang.impl.PsiBuilderImpl.buildTree(PsiBuilderImpl.java:906)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:901)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:88)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:49)
at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$0(LazyParseableElement.java:193)
at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:544)
at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:192)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:247)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:40)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getFirstChild(SharedImplUtil.java:51)
at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:814)
at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideInOneRoot(Divider.java:122)
at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideInOneRoot(Divider.java:72)
at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideAllRoots(Divider.java:59)
at com.intellij.codeInsight.daemon.impl.InjectedGeneralHighlightingPass.collectInformationWithProgress(InjectedGeneralHighlightingPass.java:86)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:83)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:437)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1134)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:430)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:429)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:405)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:143)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:218)
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)

NPE in Settings panel in IDEA 12

I have the next exception when trying to open settings panel of this plugin in IDEA 12.1.7 Ultimate:

null
java.lang.NullPointerException
    at com.github.kumaraman21.intellijbehave.settings.JBehaveSettingsPanel.<init>(JBehaveSettingsPanel.java:47)
    at com.github.kumaraman21.intellijbehave.settings.JBehaveConfigurable.createComponent(JBehaveConfigurable.java:53)
    at com.intellij.openapi.options.newEditor.OptionsEditor$Simple.<init>(OptionsEditor.java:1270)
    at com.intellij.openapi.options.newEditor.OptionsEditor.b(OptionsEditor.java:455)
    at com.intellij.openapi.options.newEditor.OptionsEditor.access$2500(OptionsEditor.java:68)
    at com.intellij.openapi.options.newEditor.OptionsEditor$9$1$1.run(OptionsEditor.java:424)
    at com.intellij.openapi.application.impl.ApplicationImpl.runEdtSafeAction(ApplicationImpl.java:1130)
    at com.intellij.openapi.options.newEditor.OptionsEditor$9$1.run(OptionsEditor.java:418)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:940)
    at com.intellij.openapi.options.newEditor.OptionsEditor$9.run(OptionsEditor.java:416)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:454)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152)

I will be glad to help with any questions. Thanks for your work!

Navigation between stories doesn't respect project boundaries (i.e., matches steps in another project)

To recreate:

  1. Create an IntelliJ project with very simple JBehave story and class to map to it.
  2. Create a branch for this project (I'm using Git, not sure if the specific VCS matters or not). So at this point you have at least one story file and step file of the same name in the two different projects.
  3. Modify trunk/master to remove one given condition in the story specification and the Java steps.
  4. Branch .story file now shows an error/warning even though it has not been modified. This is because this .story in branch is somehow associated step file in the trunk/master project.
  5. Navigate (cmd-b or cmd-click) from branch story file to the step file. Notice the navigation changes projects and took you to the trunk/master's step file of the same name.

Support for different Languages

JBehave supports other languages, like German. It would be great if the Editor would recognise other language configurations and highlight the Keywords appropriately.
Or is this already possible and I just don't know how?

Exception when editing

Hi Kumaraman, thanks for the great work on the plugin, but I sometimes get errors, and I thought, let's make an issue for this. I hope you can fix it!

Kind regards, Erik Pragt

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1108)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:980)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:965)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:164)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:208)
at com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:164)
at com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:48)
at com.intellij.psi.impl.search.LowLevelSearchUtil.a(LowLevelSearchUtil.java:79)
at com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:170)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$13.process(PsiSearchHelperImpl.java:579)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$13.process(PsiSearchHelperImpl.java:572)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$6$2.run(PsiSearchHelperImpl.java:241)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:920)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$6.process(PsiSearchHelperImpl.java:222)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$6.process(PsiSearchHelperImpl.java:211)
at com.intellij.concurrency.JobLauncherImpl$2$1.run(JobLauncherImpl.java:115)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:231)
at com.intellij.concurrency.JobLauncherImpl$2.process(JobLauncherImpl.java:113)
at com.intellij.concurrency.JobLauncherImpl$1.run(JobLauncherImpl.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1113)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:980)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:965)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:164)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:208)
at com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:164)
at com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:48)
at com.intellij.psi.impl.search.LowLevelSearchUtil.a(LowLevelSearchUtil.java:79)
at com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:170)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$13.process(PsiSearchHelperImpl.java:579)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$13.process(PsiSearchHelperImpl.java:572)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$6$2.run(PsiSearchHelperImpl.java:241)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:920)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$6.process(PsiSearchHelperImpl.java:222)
at com.intellij.psi.impl.search.PsiSearchHelperImpl$6.process(PsiSearchHelperImpl.java:211)
at com.intellij.concurrency.JobLauncherImpl$2$1.run(JobLauncherImpl.java:115)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:231)
at com.intellij.concurrency.JobLauncherImpl$2.process(JobLauncherImpl.java:113)
at com.intellij.concurrency.JobLauncherImpl$1.run(JobLauncherImpl.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Exception thrown, could be because of meta tags, or URLs in meta tags

Tokens [STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE] were not inserted into the tree. Language: Story, Text:
Description: The authentication system should be robust to attack

Meta:
@story Authentication

Scenario: Passwords should be case sensitive
Meta:
@description Case sensitive passords reduce the risk of password guessing and brute force attacks
@id auth_case

When the default user logs in with credentials from: users.table
Then the user is logged in
When the case of the password is changed
And the user logs in from a fresh login page
Then the user is not logged in

Scenario: The login form itself should be served over SSL
Meta:
@description By serving the page that contains the login form over SSL, the user can verify that it is your site asking for their credentials, and not a phishing attempt
@id auth_login_form_over_ssl

Given an HTTP logging driver
And clean HTTP logs
And the login page
And the HTTP request-response containing the login form
Then the protocol should be HTTPS

Scenario: Authentication credentials should be transmitted over SSL
Meta:
@description If authentication credentials are submitted over clear text, then they could be compromised through network sniffing attacks
@reference WASC-04 http://projects.webappsec.org/w/page/13246945/Insufficient%20Transport%20Layer%20Protection
@id auth_https

Given an HTTP logging driver
And clean HTTP logs
And the default user logs in with credentials from: users.table
And the HTTP request-response containing the default credentials
Then the protocol should be HTTPS

Scenario: When authentication credentials are sent to the server, it should respond with a 3xx status code.
Meta:
@description If the server responds with a 200 message, then an attacker with access to the same browser as the user could navigate back to the login page and hit reload in the browser. The browser will then resubmit the login credentials. This is not possible if the server responds with a 302 status code.
@id auth_return_3xx

Given an HTTP logging driver
And clean HTTP logs
And the default user logs in with credentials from: users.table
And the HTTP request-response containing the default credentials
Then the response status code should start with 3

Scenario: The AUTOCOMPLETE attribute should be disabled on the password field
Meta:
@description The browser will not give the user the option of storing the password if this attribute is set
@id auth_autocomplete

Given the login page
Then the password field should have the autocomplete directive set to 'off'

Scenario: Login should be secure against SQL injection bypass attacks in the password field
Meta:
@description SQL injection vulnerabilities could be used to bypass the login
@reference WASC-19 http://projects.webappsec.org/w/page/13246963/SQL%20Injection
@id auth_sql_bypass_password

Given the login page
And the default username from: users.table
When the password is changed to values from
And the user logs in
Then the user is not logged in

Examples:
tables/sqlinjection.strings.table

Scenario: Login should be secure against SQL injection bypass attacks in the username field
Meta:
@description SQL injection vulnerabilities could be used to bypass the login
@reference WASC-19 http://projects.webappsec.org/w/page/13246963/SQL%20Injection
@id auth_sql_bypass_username

Given the login page
And the default username from: users.table
When an SQL injection is appended to the username
And the user logs in
Then the user is not logged in

Examples:
tables/sqlinjection.strings.table

Scenario: The user account should be locked out after 4 incorrect authentication attempts
Meta:
@description This reduces the risk of password guessing or brute force attacks on a specific user account
@reference WASC-21 http://projects.webappsec.org/w/page/13246938/Insufficient%20Anti-automation
@id auth_lockout
@Skip

Given the default username from: users.table
And an incorrect password
And the user logs in from a fresh login page 4 times
When the default password is used from: users.table
And the user logs in from a fresh login page
Then the user is not logged in

Scenario: Captcha should be displayed after 4 incorrect authentication attempts
Meta:
@description Reduces the risk of automated brute force or dictionary attacks against the authentication form, but still allows manual password guessing attacks
@reference WASC-21 http://projects.webappsec.org/w/page/13246938/Insufficient%20Anti-automation
@id auth_login_captcha

Given the default username from: users.table
And an incorrect password
And the user logs in from a fresh login page 4 times
When the login page is displayed
Then the CAPTCHA request should be present

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.f(PsiBuilderImpl.java:1125)
at com.intellij.lang.impl.PsiBuilderImpl.e(PsiBuilderImpl.java:998)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:983)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:165)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:209)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:34)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getFirstChild(SharedImplUtil.java:44)
at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:746)
at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:440)
at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:426)
at com.intellij.psi.impl.source.PsiFileImpl.findElementAt(PsiFileImpl.java:562)
at com.intellij.psi.util.PsiUtilCore.getElementAtOffset(PsiUtilCore.java:393)
at com.intellij.psi.util.PsiUtilBase.getLanguageInEditor(PsiUtilBase.java:148)
at com.intellij.psi.util.PsiUtilBase.getPsiFileInEditor(PsiUtilBase.java:183)
at com.intellij.codeInsight.highlighting.BraceHighlightingHandler$1$1.compute(BraceHighlightingHandler.java:121)
at com.intellij.codeInsight.highlighting.BraceHighlightingHandler$1$1.compute(BraceHighlightingHandler.java:117)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:961)
at com.intellij.codeInsight.highlighting.BraceHighlightingHandler$1.run(BraceHighlightingHandler.java:117)
at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:145)
at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:142)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)

Another one was thrown for this story:
Tokens [STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION] were not inserted into the tree. Language: Story, Text:
Description: Access control should be enforced on the server side and should matche the authorisation model for this application

Meta:
@story Authorisation

Scenario: Authorised users can view restricted resources
Meta:
@id config_authorised_resources

Given a fresh application
And an HTTP logging driver
And clean HTTP logs
And the login page
And the username
And the password
When the user logs in
And the HTTP logs are cleared
Then they should see the word when accessing the restricted resource

Examples:
tables/authorised.resources.table

Scenario: Users must not be able to view resources for which they are not authorised
Meta:
@description Resources should only be accessible by the user roles authorised to view them. Access by unauthorised users could lead to a breach of confidentiality/integrity of the data.
@reference WASC-02 http://projects.webappsec.org/w/page/13246940/Insufficient%20Authorization
@id access_control_restricted

Given the access control map for authorised users has been populated
And a fresh application
And the login page
And the username
And the password
When the user logs in
Then they should not see the word when accessing the restricted resource

Examples:
tables/unauthorised.resources.table

Scenario: Un-authenticated users should not be able to view restricted resources
Meta:
@description Resources that should only be visible to authenticated users should not be accessible if users have not logged in
@reference WASC-01 http://projects.webappsec.org/w/page/13246939/Insufficient%20Authentication
@id anon_access_control

Given the access control map for authorised users has been populated
And a fresh application
And the login page
Then they should not see the word when accessing the restricted resource

Examples:
tables/authorised.resources.table
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.f(PsiBuilderImpl.java:1125)
at com.intellij.lang.impl.PsiBuilderImpl.e(PsiBuilderImpl.java:998)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:983)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:165)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:209)
at com.intellij.psi.impl.source.tree.CompositeElement.countChildren(CompositeElement.java:493)
at com.intellij.psi.impl.source.tree.CompositeElement.getChildren(CompositeElement.java:438)
at com.github.kumaraman21.intellijbehave.parser.StoryFileImpl.getStory(StoryFileImpl.java:72)
at com.github.kumaraman21.intellijbehave.parser.StoryFileImpl.getScenarios(StoryFileImpl.java:62)
at com.github.kumaraman21.intellijbehave.parser.StoryFileImpl.getSteps(StoryFileImpl.java:52)
at com.github.kumaraman21.intellijbehave.codeInspector.UnusedStepsInspection$StepUsageFinder.processFile(UnusedStepsInspection.java:123)
at com.intellij.openapi.vfs.VfsUtilCore$1.visitFileEx(VfsUtilCore.java:189)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:204)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.iterateChildrenRecursively(VfsUtilCore.java:184)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:75)
at com.github.kumaraman21.intellijbehave.codeInspector.UnusedStepsInspection$1.visitElement(UnusedStepsInspection.java:97)
at com.intellij.psi.JavaElementVisitor.visitAnnotation(JavaElementVisitor.java:344)
at com.intellij.psi.impl.source.tree.java.PsiAnnotationImpl.accept(PsiAnnotationImpl.java:102)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:412)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:370)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:341)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$000(LocalInspectionsPass.java:78)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:309)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:306)
at com.intellij.concurrency.JobLauncherImpl$2$1.run(JobLauncherImpl.java:115)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
at com.intellij.concurrency.JobLauncherImpl$2.process(JobLauncherImpl.java:113)
at com.intellij.concurrency.JobLauncherImpl$1.run(JobLauncherImpl.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
at com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:136)
at com.intellij.concurrency.JobLauncherImpl.a(JobLauncherImpl.java:68)
at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:110)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:312)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:218)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:136)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:357)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:348)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:345)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:321)
at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:145)
at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:142)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.f(PsiBuilderImpl.java:1125)
at com.intellij.lang.impl.PsiBuilderImpl.e(PsiBuilderImpl.java:998)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:983)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:165)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:209)
at com.intellij.psi.impl.source.tree.CompositeElement.countChildren(CompositeElement.java:493)
at com.intellij.psi.impl.source.tree.CompositeElement.getChildren(CompositeElement.java:438)
at com.github.kumaraman21.intellijbehave.parser.StoryFileImpl.getStory(StoryFileImpl.java:72)
at com.github.kumaraman21.intellijbehave.parser.StoryFileImpl.getScenarios(StoryFileImpl.java:62)
at com.github.kumaraman21.intellijbehave.parser.StoryFileImpl.getSteps(StoryFileImpl.java:52)
at com.github.kumaraman21.intellijbehave.codeInspector.UnusedStepsInspection$StepUsageFinder.processFile(UnusedStepsInspection.java:123)
at com.intellij.openapi.vfs.VfsUtilCore$1.visitFileEx(VfsUtilCore.java:189)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:204)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:236)
at com.intellij.openapi.vfs.VfsUtilCore.iterateChildrenRecursively(VfsUtilCore.java:184)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:75)
at com.github.kumaraman21.intellijbehave.codeInspector.UnusedStepsInspection$1.visitElement(UnusedStepsInspection.java:97)
at com.intellij.psi.JavaElementVisitor.visitAnnotation(JavaElementVisitor.java:344)
at com.intellij.psi.impl.source.tree.java.PsiAnnotationImpl.accept(PsiAnnotationImpl.java:102)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:412)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$300(LocalInspectionsPass.java:78)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$4.process(LocalInspectionsPass.java:388)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$4.process(LocalInspectionsPass.java:382)
at com.intellij.concurrency.JobLauncherImpl$2$1.run(JobLauncherImpl.java:115)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
at com.intellij.concurrency.JobLauncherImpl$2.process(JobLauncherImpl.java:113)
at com.intellij.concurrency.JobLauncherImpl$1.run(JobLauncherImpl.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)

Commenting with cmd+/ doesn't add space after `!--`

Say there is a .story file

Scenario: some scenario Given some state And some other state When I do something State is changed

Try to comment "And" step using cmd+/. Result will be

Scenario: some scenario Given some state !--And some other state When I do something State is changed

But JBehave requires a space after !--, otherwise it tries to put commented line as a parameter for previous step. In other words, result should be:

Scenario: some scenario Given some state !-- And some other state When I do something State is changed

Doesn't recognise steps if the scenario has a Meta: tag

If the scenario has a Meta: tag, then steps aren't recognised and I can't navigate to the steps using "go to declaration". For example, the following scenario works fine and I can navigate to the steps:

Scenario: Passively scan for vulnerabilities while the application is navigated

Given a passive scanning policy
When the scannable methods of the application are navigated
And the scanner is run
Then no vulnerabilities should be present

But this one won't let me navigate to steps:

Scenario: Passively scan for vulnerabilities while the application is navigated
Meta:
@id mytag

Given a passive scanning policy
When the scannable methods of the application are navigated
And the scanner is run
Then no vulnerabilities should be present

It results in an exception:
Throwable
Tokens [STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE] were not inserted into the tree. Language: Story, Text:

I'm using plugin version 1.2 in Intellij 11.1.1 on Mac OS X.

Jbehave crash when Given is removed

When i am making some edits to my Jbehave stories and i remove Given, That story file crashes and the file becomes uneditable. Intellij gives me a nullpointer error

Crash: Exception when Clicking on the Steps

When I click on the Steps of a *.feature or *.story file the plugin crashes and I see the following error:

com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl cannot be cast to com.intellij.psi.PsiArrayInitializerMemberValue

@Alias support

Is there a way to make the code inspection support the @alias annotation? Currently, if I have a step defined and it has an alias, then in my story files where I use the alias it highlights it as an error.

Perhaps this support already exists and I am just unaware of the necessary config changes that need to be made on my side.

Exception: Access is allowed from event dispatch thread only.

In Intellij Idea 11.0.1 JBehave causes an Exception:

Details: Current thread: Thread[JobScheduler pool 3/4,5,Idea Thread Group] 1424228791
Our dispatch thread:Thread[AWT-EventQueue-0 11.0.1#IU-111.167, eap:false,6,Idea Thread Group] 1353776547
SystemEventQueueThread: Thread[AWT-EventQueue-0 11.0.1#IU-111.167, eap:false,6,Idea Thread Group] 1353776547
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
    at com.intellij.openapi.application.impl.ApplicationImpl.d(ApplicationImpl.java:973)
    at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:957)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:1097)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusTransferReady(FocusManagerImpl.java:616)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusBeingTransferred(FocusManagerImpl.java:1051)
    at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.isFocusBeingTransferred(IdeFocusManagerImpl.java:138)
    at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:250)
    at com.intellij.ide.impl.DataManagerImpl.getDataContext(DataManagerImpl.java:205)
    at com.github.kumaraman21.intellijbehave.utility.ProjectFinder.getCurrentProject(ProjectFinder.java:27)
    at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:54)
    at com.github.kumaraman21.intellijbehave.resolver.StoryAnnotator.annotate(StoryAnnotator.java:42)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:157)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:593)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:771)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:777)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:774)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:777)
    at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:238)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:135)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:774)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:639)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:204)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:350)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1037)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:342)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:340)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:316)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:134)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:131)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)



java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
    at com.intellij.openapi.application.impl.ApplicationImpl.d(ApplicationImpl.java:973)
    at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:957)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:1097)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusTransferReady(FocusManagerImpl.java:616)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusBeingTransferred(FocusManagerImpl.java:1051)
    at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.isFocusBeingTransferred(IdeFocusManagerImpl.java:138)
    at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:250)
    at com.intellij.ide.impl.DataManagerImpl.getDataContext(DataManagerImpl.java:205)
    at com.github.kumaraman21.intellijbehave.utility.ProjectFinder.getCurrentProject(ProjectFinder.java:27)
    at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:54)
    at com.github.kumaraman21.intellijbehave.resolver.StoryAnnotator.annotate(StoryAnnotator.java:42)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:157)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:593)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:771)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:777)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:774)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:777)
    at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:238)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:135)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:774)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:639)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:204)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:350)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1037)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:342)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:340)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:316)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:134)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:131)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)



java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
    at com.intellij.openapi.application.impl.ApplicationImpl.d(ApplicationImpl.java:973)
    at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:957)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:1097)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusTransferReady(FocusManagerImpl.java:616)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusBeingTransferred(FocusManagerImpl.java:1051)
    at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.isFocusBeingTransferred(IdeFocusManagerImpl.java:138)
    at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:250)
    at com.intellij.ide.impl.DataManagerImpl.getDataContext(DataManagerImpl.java:205)
    at com.github.kumaraman21.intellijbehave.utility.ProjectFinder.getCurrentProject(ProjectFinder.java:27)
    at com.github.kumaraman21.intellijbehave.resolver.StepPsiReference.resolve(StepPsiReference.java:54)
    at com.github.kumaraman21.intellijbehave.resolver.StoryAnnotator.annotate(StoryAnnotator.java:42)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:157)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:593)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:771)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:777)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:774)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:777)
    at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:238)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:135)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:774)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:639)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:204)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:350)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1037)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:342)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:340)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:316)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:134)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:131)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

This happens after creating a new story file from File menu create new JBehave story.

Running Idea in 64bit mode on Windows 7 64bit.

Issues in Parsing Table - Tokens [TABLE_ROW, TABLE_ROW, WHITE_SPACE] were not inserted into the tree.

Tokens [TABLE_ROW, TABLE_ROW, WHITE_SPACE] were not inserted into the tree. Language: Story, Text:

Scenario: [1] Book Position

Given following prices:
|epic |underlying |ask |bid |mid |
|KA.D.VOD.DAILY.IP |KA.D.VOD |1180 |1170 |1175|

And following markets:
|epic |currency|
|KA.D.VOD.DAILY.IP |GBP |

And following accounts:
|accountId |balance |currency |
|A |100000 |GBP |

!-- Submit a order

When client submits following OTC orders:
|accountId |direction |orderId |size |level |currency |market |
|A |sell |orderId |25 |1170 |GBP |KA.D.VOD.DAILY.IP|

Then client should receive following confirms for order:
|accountId |size |level |currency |epic |action|
|A |25 |1170 |GBP |KA.D.VOD.DAILY.IP |ACCEPT|

When AFS subscribes following accounts A

When xds provides these fids for the epic KA.D.VOD.DAILY.IP:
|prompt |bid |ask |mid |
|mkcommod DEC27 |22223 |22223 |22223|

Then 1 account figures should be received for account A

Examples:
|siteType|
|B |

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1109)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:982)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:967)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:64)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:165)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:209)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:34)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getFirstChild(SharedImplUtil.java:44)
at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:778)
at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:441)
at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:427)
at com.intellij.psi.impl.source.PsiFileImpl.findElementAt(PsiFileImpl.java:579)
at com.intellij.ide.browsers.actions.BaseWebBrowserAction.getElement(BaseWebBrowserAction.java:109)
at com.intellij.ide.browsers.actions.BaseWebBrowserAction.update(BaseWebBrowserAction.java:77)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:98)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:165)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:124)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:144)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.run(ActionToolbarImpl.java:887)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:616)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:597)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:567)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:55)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:465)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1909)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:443)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:933)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$300(ActionToolbarImpl.java:63)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$4.run(ActionToolbarImpl.java:959)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

JBEHAVE and Intellij - Breakpoint in Steps

You are contributing to the JBehave IntelliJ Plugin.

I have already use JBehave before and I like it very much.

1 - In Jbehave, we have stories and steps.
I can use Breakpoints in Stories, but I can't in Steps: Intellij does not stop on the breakpoint.
After analysing the stacks, the Steps are in a different Thread that the Stories (which is normal).

Can you put and use breakpoints in Steps? Even when using a ThreadContext or a different Thread.

2 - For illustration, here is a screen shot of my project
jbejave-breakpoints-in-thread

I used the following project: https://github.com/Arnauld/jbehave-get-started

3 - I installed the Jbehave Plugin on IntelliJ.
IntelliJ IDEA 2017.3.4 (Ultimate Edition)
Build #IU-173.4548.28, built on January 29, 2018
JRE: 1.8.0_152-release-1024-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Thank you very much for your help

Got intellij Exception on 2016.3.2

after I re-install the plugin, I do see following exception

Scenario: Verify HDFS verification after running batch story

Meta:
@tag testme
Then Verify HDFS contains User sourceId: $sourceId segmentId: $segmentIds preUTSSourceId: $preUTSSourceId preUTSSegmentId: $preUTSSegmentId batchOrStreaming: $batchOrStreaming lineNumber: $lineNumber

Examples:
|segmentOp|sourceId|segmentIds|eFlag|uksFlag|dFlag|idMapFlag|preUTSSourceId|preUTSSegmentId|batchOrStreaming|lineNumber|
|Add|26|19802002|true|false|false|false|26|19802027|batch|1|

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.intellij.lang.impl.PsiBuilderImpl.e(PsiBuilderImpl.java:1278)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:1142)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:1126)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:88)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:49)
at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:192)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:240)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:39)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getFirstChild(SharedImplUtil.java:52)
at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:836)
at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:515)
at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:501)
at com.intellij.psi.impl.source.PsiFileImpl.findElementAt(PsiFileImpl.java:612)
at com.intellij.psi.util.PsiUtilCore.getElementAtOffset(PsiUtilCore.java:420)
at com.intellij.psi.util.PsiUtilBase.getLanguageInEditor(PsiUtilBase.java:73)
at com.intellij.psi.util.PsiUtilBase.getPsiFileInEditor(PsiUtilBase.java:107)
at com.intellij.psi.util.PsiUtilBase.getPsiFileInEditor(PsiUtilBase.java:96)
at com.intellij.codeInsight.highlighting.BraceHighlightingHandler.lookForInjectedAndMatchBracesInOtherThread(BraceHighlightingHandler.java:123)
at com.intellij.codeInsight.highlighting.BraceHighlighter.updateBraces(BraceHighlighter.java:127)
at com.intellij.codeInsight.highlighting.BraceHighlighter$1.caretPositionChanged(BraceHighlighter.java:63)
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:99)
at com.intellij.util.EventDispatcher.access$200(EventDispatcher.java:35)
at com.intellij.util.EventDispatcher$2.invoke(EventDispatcher.java:79)
at com.sun.proxy.$Proxy29.caretPositionChanged(Unknown Source)
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:99)
at com.intellij.util.EventDispatcher.access$200(EventDispatcher.java:35)
at com.intellij.util.EventDispatcher$2.invoke(EventDispatcher.java:79)
at com.sun.proxy.$Proxy29.caretPositionChanged(Unknown Source)
at com.intellij.openapi.editor.impl.CaretModelImpl.fireCaretPositionChanged(CaretModelImpl.java:524)
at com.intellij.openapi.editor.impl.CaretImpl.a(CaretImpl.java:588)
at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:715)
at com.intellij.openapi.editor.impl.CaretImpl.b(CaretImpl.java:431)
at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:439)
at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:431)
at com.intellij.openapi.editor.impl.CaretModelImpl.a(CaretModelImpl.java:487)
at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:444)
at com.intellij.openapi.editor.impl.CaretModelImpl.setCaretsAndSelections(CaretModelImpl.java:464)
at com.intellij.openapi.fileEditor.impl.text.TextEditorProvider.setStateImpl(TextEditorProvider.java:281)
at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.setStateImpl(PsiAwareTextEditorProvider.java:114)
at com.intellij.openapi.fileEditor.impl.text.AsyncEditorLoader.setEditorState(AsyncEditorLoader.java:209)
at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.setState(TextEditorImpl.java:122)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:1040)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:921)
at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2514)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4(FileEditorManagerImpl.java:985)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:799)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:781)
at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:99)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:85)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:781)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:712)
at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:151)
at com.intellij.codeInsight.navigation.NavigationUtil.a(NavigationUtil.java:197)
at com.intellij.codeInsight.navigation.NavigationUtil.openFileWithPsiElement(NavigationUtil.java:173)
at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:235)
at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:245)
at com.intellij.ide.projectView.impl.nodes.PsiFileNode.navigate(PsiFileNode.java:133)
at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:53)
at com.intellij.util.OpenSourceUtil.openSourcesFrom(OpenSourceUtil.java:31)
at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.processDoubleClick(EditSourceOnDoubleClickHandler.java:130)
at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.onDoubleClick(EditSourceOnDoubleClickHandler.java:122)
at com.intellij.ui.DoubleClickListener.onClick(DoubleClickListener.java:30)
at com.intellij.ui.ClickListener$1.mouseReleased(ClickListener.java:73)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:410)
at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:59)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:843)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:675)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Highlighting of narratives

It would be nice to have bold highlighting of narrative keywords ( 'Narrative', 'As a', 'I want to', 'In order to') in the story editor.

High CPU Usage - IntelliJ 13 Community

CPU Usages of 90 to 350% on Ubuntu 13.10 / IntelliJ 13 Community Edition.
The CPU usage reverts back to <15% when any dialog is open, or when the plugin is disabled.

This problem also occurs on one or more other computers (IntelliJ 12) on Ubuntu 12.04

Documentation for running story files

I am unable to figure out how to run story files with IntelliJBehave. The plugin docs seem to say there is a way to do it but it isn't documented yet.

By the way, even without being able to run the tests, this is a very useful plugin for me.

Exception when parsing story file

Tokens [STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE] were not inserted into the tree. Text:
Meta:

Narrative:
As a gardener
I want to mow the lawn
So that I can keep my garden tidy

Scenario: go north
Given a mower in 0,0 and oriented to the north
When I orient the mower to the north
And I move the mower
Then the mower should be in 0,1 facing north

Scenario: pivot left and move
Given a mower in 1,2 and oriented to the north
When I pivot the mower to the left
And I move the mower
Then the mower should be in 0,2 facing west

Scenario: first expectation given by client
Given a mower in 1,2 and oriented to the north
When I pivot the mower to the left
And I move the mower
When I pivot the mower to the left
And I move the mower
When I pivot the mower to the left
And I move the mower
When I pivot the mower to the left
And I move the mower
And I move the mower
Then the mower should be in 1,3 facing north

Scenario: second expectation given by client
Given a mower in 1,2 and oriented to the north
When I move the mower
And I move the mower
When I pivot the mower to the right
And I move the mower
And I move the mower
I pivot the mower to the right
And I move the mower
Then the mower should be in 1,3 facing north

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1103)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1108)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1103)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1108)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1103)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1108)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1103)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
at com.intellij.lang.impl.PsiBuilderImpl.d(PsiBuilderImpl.java:1108)
at com.intellij.lang.impl.PsiBuilderImpl.c(PsiBuilderImpl.java:978)
at com.intellij.lang.impl.PsiBuilderImpl.getTreeBuilt(PsiBuilderImpl.java:962)
at com.github.kumaraman21.intellijbehave.parser.StoryParser.parse(StoryParser.java:36)
at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:63)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
at com.intellij.psi.impl.source.tree.LazyParseableElement.e(LazyParseableElement.java:160)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:286)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:231)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:205)
at com.intellij.psi.impl.source.text.BlockSupportImpl.a(BlockSupportImpl.java:144)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:544)
at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:433)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1040)
at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:446)
at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:69)
at com.intellij.psi.impl.DocumentCommitThread$1.run(DocumentCommitThread.java:400)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:397)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:305)
at java.lang.Thread.run(Thread.java:662)

Can't resolve any steps

I am using IntelliJ 12 so that might be causing the problem but every step I have is highlighted as "No Definition Found for Step" even though the stories run just fine.

Syntax highlighting works just fine though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.