IndexOutofBounds?

I decided to give M2 a try after being pleased with M1b2. M2 asked me to change my project format and I said no. One big problem from the start was that it seems to have a hard time scanning my classes for display in the project or packages view. I switch between those views a lot and when I did it in m2 the select pane would not close, it covered the classes I wanted to open in the editor. It's kind of hard to describe and I might make a short movie demonstrating the issue on my blog. I tried going back to
M1b2 but now the problem happens there as well. Please help.
This is the error get in my mac console app:

ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 7.0M1b Build #6833
ERROR - aemon.impl.PassExecutorService - JDK: 1.5.0_07
ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) Client VM
ERROR - aemon.impl.PassExecutorService - Vendor: Apple Computer, Inc.
ERROR - aemon.impl.PassExecutorService - OS: Mac OS X
ERROR - aemon.impl.PassExecutorService - Last Action:
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkIndex(Buffer.java:444)
at java.nio.DirectByteBuffer.getShort(DirectByteBuffer.java:533)
at com.intellij.util.io.PagedFileStorage.getShort(PagedFileStorage.java:33)
at com.intellij.util.io.PagedMemoryMappedFile.e(PagedMemoryMappedFile.java:236)
at com.intellij.util.io.PagedMemoryMappedFile.access$400(PagedMemoryMappedFile.java:184)
at com.intellij.util.io.PagedMemoryMappedFile$PagedInputStream.a(PagedMemoryMappedFile.java:46)
at com.intellij.util.io.PagedMemoryMappedFile$PagedInputStream.setup(PagedMemoryMappedFile.java:28)
at com.intellij.util.io.RandomAccessPagedDataInput.setup(RandomAccessPagedDataInput.java:2)
at com.intellij.psi.impl.cache.impl.repositoryCache.ClassRecord.a(ClassRecord.java:153)
at com.intellij.psi.impl.cache.impl.repositoryCache.ClassRecord.getParent(ClassRecord.java:256)
at com.intellij.psi.impl.cache.impl.ClassViewImpl.getParent(ClassViewImpl.java:96)
at com.intellij.psi.impl.compiled.ClsClassImpl.getParent(ClsClassImpl.java:617)
at com.intellij.psi.impl.compiled.ClsElementImpl.isValid(ClsElementImpl.java:5)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:202)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:145)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:26)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:166)
at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.advancedResolve(JavaClassReference.java:131)
at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:234)
at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlAttributeValue(XmlHighlightVisitor.java:126)
at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:15)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:594)
at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:554)
at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:15)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:161)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:77)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:110)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:1)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:10)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:251)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:71)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:25)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
ERROR - aemon.impl.PassExecutorService -
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkIndex(Buffer.java:444)
at java.nio.DirectByteBuffer.getShort(DirectByteBuffer.java:533)
at com.intellij.util.io.PagedFileStorage.getShort(PagedFileStorage.java:33)
at com.intellij.util.io.PagedMemoryMappedFile.e(PagedMemoryMappedFile.java:236)
at com.intellij.util.io.PagedMemoryMappedFile.access$400(PagedMemoryMappedFile.java:184)
at com.intellij.util.io.PagedMemoryMappedFile$PagedInputStream.a(PagedMemoryMappedFile.java:46)
at com.intellij.util.io.PagedMemoryMappedFile$PagedInputStream.setup(PagedMemoryMappedFile.java:28)
at com.intellij.util.io.RandomAccessPagedDataInput.setup(RandomAccessPagedDataInput.java:2)
at com.intellij.psi.impl.cache.impl.repositoryCache.ClassRecord.a(ClassRecord.java:153)
at com.intellij.psi.impl.cache.impl.repositoryCache.ClassRecord.getParent(ClassRecord.java:256)
at com.intellij.psi.impl.cache.impl.ClassViewImpl.getParent(ClassViewImpl.java:96)
at com.intellij.psi.impl.compiled.ClsClassImpl.getParent(ClsClassImpl.java:617)
at com.intellij.psi.impl.compiled.ClsElementImpl.isValid(ClsElementImpl.java:5)
at com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:202)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:145)
at com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:26)
at com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:166)
at com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.advancedResolve(JavaClassReference.java:131)
at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.a(XmlHighlightVisitor.java:234)
at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.visitXmlAttributeValue(XmlHighlightVisitor.java:126)
at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:15)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlElement(HighlightVisitorImpl.java:594)
at com.intellij.psi.XmlElementVisitor.visitXmlAttributeValue(XmlElementVisitor.java:62)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitXmlAttributeValue(HighlightVisitorImpl.java:554)
at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:15)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:161)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:77)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:110)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:1)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:10)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:251)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:71)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:25)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 7.0M1b Build #6833
ERROR - aemon.impl.PassExecutorService - JDK: 1.5.0_07
ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) Client VM
ERROR - aemon.impl.PassExecutorService - Vendor: Apple Computer, Inc.
ERROR - aemon.impl.PassExecutorService - OS: Mac OS X
ERROR - aemon.impl.PassExecutorService - Last Action:

Message was edited by:
Vincent Storm

1 comment
Comment actions Permalink

Reading further into the forum and saw that removing the cache often solves problems.
I did that and now my M1b2 is working fine again. I think I'll stick to that for now.

0

Please sign in to leave a comment.