kumaraman21/IntelliJBehave — Issue #14: Exception when parsing story file
Author: gphilipp
Created: 2012-02-21 09:02:52+00:00
State: open

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)