{"action":"created","issue":{"url":"https://api.github.com/repos/minman/wicketforge/issues/166","labels_url":"https://api.github.com/repos/minman/wicketforge/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/minman/wicketforge/issues/166/comments","events_url":"https://api.github.com/repos/minman/wicketforge/issues/166/events","html_url":"https://github.com/minman/wicketforge/issues/166","id":66159943,"number":166,"title":"stack trace Wicket forge 5.0.1 + Idea: 14.1.1","user":{"login":"jamerlan","id":216801,"avatar_url":"https://avatars.githubusercontent.com/u/216801?v=3","gravatar_id":"","url":"https://api.github.com/users/jamerlan","html_url":"https://github.com/jamerlan","followers_url":"https://api.github.com/users/jamerlan/followers","following_url":"https://api.github.com/users/jamerlan/following{/other_user}","gists_url":"https://api.github.com/users/jamerlan/gists{/gist_id}","starred_url":"https://api.github.com/users/jamerlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamerlan/subscriptions","organizations_url":"https://api.github.com/users/jamerlan/orgs","repos_url":"https://api.github.com/users/jamerlan/repos","events_url":"https://api.github.com/users/jamerlan/events{/privacy}","received_events_url":"https://api.github.com/users/jamerlan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-03T14:49:31Z","updated_at":"2015-04-20T20:16:31Z","closed_at":null,"body":"Wicket forge 5.0.1\r\nIdea: 14.1.1\r\nI dont know what really caused this:\r\n\r\nInvalid range specified: (1,-1); \r\njava.lang.Throwable\r\n\tat com.intellij.openapi.diagnostic.Logger.error(Logger.java:115)\r\n\tat com.intellij.openapi.util.TextRange.assertProperRange(TextRange.java:219)\r\n\tat com.intellij.openapi.util.TextRange.assertProperRange(TextRange.java:214)\r\n\tat com.intellij.openapi.util.TextRange.assertProperRange(TextRange.java:210)\r\n\tat com.intellij.openapi.util.TextRange.<init>(TextRange.java:43)\r\n\tat com.intellij.openapi.util.TextRange.<init>(TextRange.java:32)\r\n\tat wicketforge.psi.references.MarkupWicketIdReference.<init>(MarkupWicketIdReference.java:43)\r\n\tat wicketforge.psi.references.MarkupWicketIdReferenceProvider.getReferencesByElement(MarkupWicketIdReferenceProvider.java:41)\r\n\tat com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:124)\r\n\tat com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:70)\r\n\tat com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:61)\r\n\tat com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getReferences(XmlAttributeValueImpl.java:104)\r\n\tat wicketforge.highlighting.WicketForgeHighlightingPass.hasReference(WicketForgeHighlightingPass.java:121)\r\n\tat wicketforge.highlighting.WicketForgeHighlightingPass.access$000(WicketForgeHighlightingPass.java:44)\r\n\tat wicketforge.highlighting.WicketForgeHighlightingPass$1.visitXmlAttribute(WicketForgeHighlightingPass.java:70)\r\n\tat com.intellij.psi.impl.source.xml.XmlAttributeImpl.accept(XmlAttributeImpl.java:152)\r\n\tat com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:80)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitElement(XmlRecursiveElementVisitor.java:37)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlTag(XmlElementVisitor.java:54)\r\n\tat com.intellij.psi.impl.source.xml.XmlTagImpl.accept(XmlTagImpl.java:1017)\r\n\tat com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:80)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitElement(XmlRecursiveElementVisitor.java:37)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlTag(XmlElementVisitor.java:54)\r\n\tat com.intellij.psi.impl.source.xml.XmlTagImpl.accept(XmlTagImpl.java:1017)\r\n\tat com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:80)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitElement(XmlRecursiveElementVisitor.java:37)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlTag(XmlElementVisitor.java:54)\r\n\tat com.intellij.psi.impl.source.xml.XmlTagImpl.accept(XmlTagImpl.java:1017)\r\n\tat com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:80)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitElement(XmlRecursiveElementVisitor.java:37)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlTag(XmlElementVisitor.java:54)\r\n\tat com.intellij.psi.impl.source.xml.XmlTagImpl.accept(XmlTagImpl.java:1017)\r\n\tat com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:80)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitElement(XmlRecursiveElementVisitor.java:37)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlTag(XmlElementVisitor.java:54)\r\n\tat com.intellij.psi.impl.source.xml.XmlTagImpl.accept(XmlTagImpl.java:1017)\r\n\tat com.intellij.psi.impl.source.tree.CompositePsiElement.acceptChildren(CompositePsiElement.java:80)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitElement(XmlRecursiveElementVisitor.java:37)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlElement(XmlElementVisitor.java:22)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlDocument(XmlElementVisitor.java:42)\r\n\tat com.intellij.psi.impl.source.xml.XmlDocumentImpl.accept(XmlDocumentImpl.java:89)\r\n\tat com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:196)\r\n\tat com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:779)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitElement(XmlRecursiveElementVisitor.java:37)\r\n\tat com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34)\r\n\tat com.intellij.psi.XmlRecursiveElementVisitor.visitFile(XmlRecursiveElementVisitor.java:55)\r\n\tat com.intellij.psi.XmlElementVisitor.visitXmlFile(XmlElementVisitor.java:26)\r\n\tat com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71)\r\n\tat wicketforge.highlighting.WicketForgeHighlightingPass.doCollectInformation(WicketForgeHighlightingPass.java:64)\r\n\tat com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1104)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)\r\n\tat com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:426)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)\r\n\tat com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)\r\n\tat jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n\tat jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)\r\n\tat jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)\r\n\tat jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)\r\n\tat jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)\r\n"},"comment":{"url":"https://api.github.com/repos/minman/wicketforge/issues/comments/94557907","html_url":"https://github.com/minman/wicketforge/issues/166#issuecomment-94557907","issue_url":"https://api.github.com/repos/minman/wicketforge/issues/166","id":94557907,"user":{"login":"minman","id":1247254,"avatar_url":"https://avatars.githubusercontent.com/u/1247254?v=3","gravatar_id":"","url":"https://api.github.com/users/minman","html_url":"https://github.com/minman","followers_url":"https://api.github.com/users/minman/followers","following_url":"https://api.github.com/users/minman/following{/other_user}","gists_url":"https://api.github.com/users/minman/gists{/gist_id}","starred_url":"https://api.github.com/users/minman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minman/subscriptions","organizations_url":"https://api.github.com/users/minman/orgs","repos_url":"https://api.github.com/users/minman/repos","events_url":"https://api.github.com/users/minman/events{/privacy}","received_events_url":"https://api.github.com/users/minman/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T20:16:31Z","updated_at":"2015-04-20T20:16:31Z","body":"Well, the MarkupWicketIdReferenceProvider causing this issue shouldn't get called in this case; I just can imagine that it happens during indexing or another long running action. How ever, as workaround I will add a range check so it shouldn't happen again."}}