Error when trying to open file #1

Closed
arnostv opened this Issue Jul 30, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@arnostv
Contributor

arnostv commented Jul 30, 2013

I'm trying to open myXueryFile.xq and file does not open. Instead of opening file IntelliJ shows red balloon telling me about internal error.

Error while indexing C:\path\to\someOtherXqueryFile.xq 
To reindex this file IDEA has to be restarted: org.intellij.xquery._XQueryLexer: Error: could not match input 
java.lang.Error: org.intellij.xquery._XQueryLexer: Error: could not match input 
        at org.intellij.xquery._XQueryLexer.zzScanError(_XQueryLexer.java:2549) 
        at org.intellij.xquery._XQueryLexer.advance(_XQueryLexer.java:3694) 
        at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:93) 
        at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:57) 
        at com.intellij.lexer.MergingLexerAdapterBase.locateToken(MergingLexerAdapterBase.java:70) 
        at com.intellij.lexer.MergingLexerAdapterBase.getState(MergingLexerAdapterBase.java:39) 
        at com.intellij.lexer.LookAheadLexer.doLookAhead(LookAheadLexer.java:70) 
        at com.intellij.lexer.LookAheadLexer.advance(LookAheadLexer.java:64) 
        at com.intellij.lang.cacheBuilder.DefaultWordsScanner.processWords(DefaultWordsScanner.java:93) 
        at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$WordsScannerFileTypeIdIndexerAdapter.map(IdTableBuilding.java:137)

        at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$WordsScannerFileTypeIdIndexerAdapter.map(IdTableBuilding.java:124)

        at com.intellij.psi.impl.cache.impl.id.IdIndex$4.map(IdIndex.java:83) 
        at com.intellij.psi.impl.cache.impl.id.IdIndex$4.map(IdIndex.java:77) 
        at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:215) 
        at com.intellij.util.indexing.FileBasedIndexImpl$24.run(FileBasedIndexImpl.java:1701) 
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:143)

        at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1697) 
        at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1663) 
        at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:68) 
        at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102) 
        at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:231) 
        at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:935) 
        at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:237) 
        at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:465) 
        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 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) 
        at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:153)

In addition to that I can see additional error in Event Log:

10:33:02 IndexOutOfBoundsException 
         Error while indexing C:\path\to\yetAnotherOtherXqueryFile.xq 
         To reindex this file IDEA has to be restarted

IntelliJ IDEA Ultimate, version 12.0.2, #IU-123.123

@ghost ghost assigned ligasgr Jul 30, 2013

@ligasgr

This comment has been minimized.

Show comment
Hide comment
@ligasgr

ligasgr Jul 30, 2013

Owner

Fixed in commit a09b49d

Owner

ligasgr commented Jul 30, 2013

Fixed in commit a09b49d

@ligasgr ligasgr closed this Jul 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment