Skip to content
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.

Java exception when opening markdown file #92

Closed
pavlo-yuriychuk opened this issue Mar 4, 2013 · 3 comments
Closed

Java exception when opening markdown file #92

pavlo-yuriychuk opened this issue Mar 4, 2013 · 3 comments
Assignees
Labels
Milestone

Comments

@pavlo-yuriychuk
Copy link

The exception is:
0: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at net.nicoulaj.idea.markdown.annotator.MarkdownAnnotator.apply(Unknown Source)
at net.nicoulaj.idea.markdown.annotator.MarkdownAnnotator.apply(Unknown Source)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.c(ExternalToolPass.java:194)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$600(ExternalToolPass.java:43)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$2$1.run(ExternalToolPass.java:142)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:918)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$2.run(ExternalToolPass.java:135)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$3.run(ExternalToolPass.java:170)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:313)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:303)
at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:247)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:262)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:220)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:210)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:268)
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)

WebStorm version 5.0.4

@nicoulaj
Copy link
Owner

nicoulaj commented Mar 4, 2013

Can you attach the document ?

@pavlo-yuriychuk
Copy link
Author

Sorry, I can not attach it, as long as it is under Non-disclosure agreement. Nothing very special in formatting - headers, text and code snippets.
"##" were used to indicate headers, "--" and "==" to add lines.

@nazar-pc
Copy link

Tried to open relatively large markdown file, source of this page on github wiki: https://github.com/nazar-pc/CleverStyle-CMS/wiki/%24User

And received plugin crash, I think it is relative to this bug.

Error message:

Error while parsing action 'Root/Sequence/ZeroOrMore/Sequence/Block/FirstOf/Para/Sequence/Inlines/Sequence/ZeroOrMore/Sequence/InlineOrIntermediateEndline/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/FirstOf/NonLinkInline/StrongOrEmph/FirstOf/Emph/Sequence/FirstOf/EmphOrStrong/OneOrMore/Sequence/Inline/Inline_Action1' at input position (line 65, pos 7):

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants