Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XText for IntelliJ on Linux: NPE
XText for IntelliJ on Linux: NPE [message #1697070] Mon, 01 June 2015 11:28 Go to next message
Federico Tomassetti is currently offline Federico TomassettiFriend
Messages: 190
Registered: July 2009
Location: Dublin
Senior Member

Auto completion seems broken and in the console I keep seeing NPE being thrown.

Validation seems working.

[ 82862] ERROR - aemon.impl.PassExecutorService - JDK: 1.8.0_45
[ 82863] ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM
[ 82863] ERROR - aemon.impl.PassExecutorService - Vendor: Oracle Corporation
[ 82863] ERROR - aemon.impl.PassExecutorService - OS: Linux
[ 82863] ERROR - aemon.impl.PassExecutorService - Last Action: EditorLineEnd
[ 82863] ERROR - aemon.impl.PassExecutorService - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiClueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXtextFile.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResource(BaseXtextFile.java:118)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getINode(BaseXtextFile.java:130)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getINode(PsiEObjectImpl.java:104)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getEObject(PsiEObjectImpl.java:115)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getSignificantTextRegion(PsiEObjectImpl.java:162)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getTextOffset(PsiEObjectImpl.java:155)
at org.eclipse.xtext.psi.impl.PsiEObjectIdentifierImpl.getTextRange(PsiEObjectIdentifierImpl.java:76)
at org.eclipse.xtext.idea.pom.AbstractXtextPomDeclarationSearcher.findDeclarationsAt(AbstractXtextPomDeclarationSearcher.java:41)
at com.intellij.codeInsight.TargetElementUtilBase.getNamedElement(TargetElementUtilBase.java:274)
at com.intellij.codeInsight.TargetElementUtilBase.findTargetElement(TargetElementUtilBase.java:213)
at com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:60)
at com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:91)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(PronagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 82863] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 82863] ERROR - aemon.impl.PassExecutorService - JDK: 1.8.0_45
[ 82863] ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM
[ 82863] ERROR - aemon.impl.PassExecutorService - Vendor: Oracle Corporation
[ 82863] ERROR - aemon.impl.PassExecutorService - OS: Linux
[ 82863] ERROR - aemon.impl.PassExecutorService - Last Action: EditorLineEnd
[ 86795] ERROR - aemon.impl.PassExecutorService - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXtextFile.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResource(BaseXtextFile.java:118)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getINode(BaseXtextFile.java:130)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getINode(PsiEObjectImpl.java:104)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getEObject(PsiEObjectImpl.java:115)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getSignificantTextRegion(PsiEObjectImpl.java:162)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getTextOffset(PsiEObjectImpl.java:155)
at org.eclipse.xtext.psi.impl.PsiEObjectIdentifierImpl.getTextRange(PsiEObjectIdentifierImpl.java:76)
at org.eclipse.xtext.idea.pom.AbstractXtextPomDeclarationSearcher.findDeclarationsAt(AbstractXtextPomDeclarationSearcher.java:41)
at com.intellij.codeInsight.TargetElementUtilBase.getNamedElement(TargetElementUtilBase.java:274)
at com.intellij.codeInsight.TargetElementUtilBase.findTargetElement(TargetElementUtilBase.java:213)
at com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:60)
at com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:91)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(Applimpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 86795] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 86795] ERROR - aemon.impl.PassExecutorService - JDK: 1.8.0_45
[ 86795] ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM
[ 86795] ERROR - aemon.impl.PassExecutorService - Vendor: Oracle Corporation
[ 86795] ERROR - aemon.impl.PassExecutorService - OS: Linux
[ 86795] ERROR - aemon.impl.PassExecutorService - Last Action: EditorLineEnd
[ 86796] ERROR - aemon.impl.PassExecutorService - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiClueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXtextFile.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResource(BaseXtextFile.java:118)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getINode(BaseXtextFile.java:130)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getINode(PsiEObjectImpl.java:104)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getEObject(PsiEObjectImpl.java:115)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getSignificantTextRegion(PsiEObjectImpl.java:162)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getTextOffset(PsiEObjectImpl.java:155)
at org.eclipse.xtext.psi.impl.PsiEObjectIdentifierImpl.getTextRange(PsiEObjectIdentifierImpl.java:76)
at org.eclipse.xtext.idea.pom.AbstractXtextPomDeclarationSearcher.findDeclarationsAt(AbstractXtextPomDeclarationSearcher.java:41)
at com.intellij.codeInsight.TargetElementUtilBase.getNamedElement(TargetElementUtilBase.java:274)
at com.intellij.codeInsight.TargetElementUtilBase.findTargetElement(TargetElementUtilBase.java:213)
at com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:60)
at com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:91)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(PronagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 86796] ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 86796] ERROR - aemon.impl.PassExecutorService - JDK: 1.8.0_45
[ 86796] ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM
[ 86796] ERROR - aemon.impl.PassExecutorService - Vendor: Oracle Corporation
[ 86796] ERROR - aemon.impl.PassExecutorService - OS: Linux
[ 86796] ERROR - aemon.impl.PassExecutorService - Last Action: EditorLineEnd
[ 88233] ERROR - m.intellij.util.ExecutorsQuery - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXtextFile.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResourceDescription(BaseXtextFile.java:261)
at org.eclipse.xtext.psi.stubs.XtextStubBuilder.createStubForFile(XtextStubBuilder.java:63)
at org.eclipse.xtext.psi.stubs.XtextStubBuilder.createStubForFile(XtextStubBuilder.java:45)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:36)
at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:102)
at com.intellij.psi.stubs.StubUpdatingIndex$3$1.run(StubUpdatingIndex.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:867)
at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:123)
at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:117)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:397)
at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1743)
at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1675)
at com.intellij.util.indexing.FileBasedIndexImpl.access$5400(FileBasedIndexImpl.java:100)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.processFileImpl(FileBasedIndexImpl.java:2282)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.forceUpdate(FileBasedIndexImpl.java:2238)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.acce(FileBasedIndexImpl.java:1861)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:817)
at com.intellij.util.indexing.FileBasedIndexImpl.processExceptions(FileBasedIndexImpl.java:916)
at com.intellij.util.indexing.FileBasedIndexImpl.processValuesImpl(FileBasedIndexImpl.java:993)
at com.intellij.util.indexing.FileBasedIndexImpl.processValues(FileBasedIndexImpl.java:901)
at com.intellij.util.indexing.FileBasedIndexImpl.processValues(FileBasedIndexImpl.java:891)
at com.intellij.psi.impl.cache.impl.IndexTodoCacheManagerImpl.fetchCount(IndexTodoCacheManagerImpl.java:109)
at com.intellij.psi.impl.cache.impl.IndexTodoCacheManagerImpl.getTodoCount(IndexTodoCacheManagerImpl.java:93)
at com.intellij.psi.impl.search.IndexPatternSearcher.execute(IndexPatternSearcher.java:66)
at com.intellij.psi.impl.search.IndexPatternSearcher.execute(IndexPatternSearcher.java:54)
at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:43)
at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:75)
at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:37)
at com.intellij.psi.impl.search.PsiTodoSearchHelperImpl.findTodoItems(PsiTodoSearchHelperImpl.java:58)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.highlightTodos(GeneralHighlightingPass.java:464)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:201)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:97)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutor.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 88235] ERROR - m.intellij.util.ExecutorsQuery - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 88235] ERROR - m.intellij.util.ExecutorsQuery - JDK: 1.8.0_45
[ 88235] ERROR - m.intellij.util.ExecutorsQuery - VM: Java HotSpot(TM) 64-Bit Server VM
[ 88235] ERROR - m.intellij.util.ExecutorsQuery - Vendor: Oracle Corporation
[ 88235] ERROR - m.intellij.util.ExecutorsQuery - OS: Linux
[ 88235] ERROR - m.intellij.util.ExecutorsQuery - Last Action: EditorBackSpace
[ 89684] ERROR - n.impl.GeneralHighlightingPass - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXtextFile.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResource(BaseXtextFile.java:118)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getResource(PsiEObjectImpl.java:122)
at org.eclipse.xtext.idea.annotation.IssueAnnotator.annotate(IssueAnnotator.java:48)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:159)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:102)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:340)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$100(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$3.run(GeneralHighlightingPass.java:269)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:300)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:205)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:97)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 89684] ERROR - n.impl.GeneralHighlightingPass - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 89684] ERROR - n.impl.GeneralHighlightingPass - JDK: 1.8.0_45
[ 89684] ERROR - n.impl.GeneralHighlightingPass - VM: Java HotSpot(TM) 64-Bit Server VM
[ 89684] ERROR - n.impl.GeneralHighlightingPass - Vendor: Oracle Corporation
[ 89684] ERROR - n.impl.GeneralHighlightingPass - OS: Linux
[ 89685] ERROR - n.impl.GeneralHighlightingPass - Last Action: EditorBackSpace
[ 92106] ERROR - n.impl.GeneralHighlightingPass - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXtextFile.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResource(BaseXtextFile.java:118)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getResource(PsiEObjectImpl.java:122)
at org.eclipse.xtext.idea.annotation.IssueAnnotator.annotate(IssueAnnotator.java:48)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:159)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:102)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:340)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$100(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$3.run(GeneralHighlightingPass.java:269)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:300)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:205)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:97)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 92107] ERROR - n.impl.GeneralHighlightingPass - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 92107] ERROR - n.impl.GeneralHighlightingPass - JDK: 1.8.0_45
[ 92107] ERROR - n.impl.GeneralHighlightingPass - VM: Java HotSpot(TM) 64-Bit Server VM
[ 92107] ERROR - n.impl.GeneralHighlightingPass - Vendor: Oracle Corporation
[ 92107] ERROR - n.impl.GeneralHighlightingPass - OS: Linux
[ 92107] ERROR - n.impl.GeneralHighlightingPass - Last Action: EditorEnter
[ 93714] ERROR - m.intellij.util.ExecutorsQuery - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXtextFile.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResourceDescription(BaseXtextFile.java:261)
at org.eclipse.xtext.psi.stubs.XtextStubBuilder.createStubForFile(XtextStubBuilder.java:63)
at org.eclipse.xtext.psi.stubs.XtextStubBuilder.createStubForFile(XtextStubBuilder.java:45)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:36)
at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:102)
at com.intellij.psi.stubs.StubUpdatingIndex$3$1.run(StubUpdatingIndex.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:867)
at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:123)
at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:117)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:397)
at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1743)
at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1675)
at com.intellij.util.indexing.FileBasedIndexImpl.access$5400(FileBasedIndexImpl.java:100)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.processFileImpl(FileBasedIndexImpl.java:2282)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.forceUpdate(FileBasedIndexImpl.java:2238)
at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.acce(FileBasedIndexImpl.java:1861)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:817)
at com.intellij.util.indexing.FileBasedIndexImpl.processExceptions(FileBasedIndexImpl.java:916)
at com.intellij.util.indexing.FileBasedIndexImpl.processValuesImpl(FileBasedIndexImpl.java:993)
at com.intellij.util.indexing.FileBasedIndexImpl.processValues(FileBasedIndexImpl.java:901)
at com.intellij.util.indexing.FileBasedIndexImpl.processValues(FileBasedIndexImpl.java:891)
at com.intellij.psi.impl.cache.impl.IndexTodoCacheManagerImpl.fetchCount(IndexTodoCacheManagerImpl.java:109)
at com.intellij.psi.impl.cache.impl.IndexTodoCacheManagerImpl.getTodoCount(IndexTodoCacheManagerImpl.java:93)
at com.intellij.psi.impl.search.IndexPatternSearcher.execute(IndexPatternSearcher.java:66)
at com.intellij.psi.impl.search.IndexPatternSearcher.execute(IndexPatternSearcher.java:54)
at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:43)
at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:75)
at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:37)
at com.intellij.psi.impl.search.PsiTodoSearchHelperImpl.findTodoItems(PsiTodoSearchHelperImpl.java:58)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.highlightTodos(GeneralHighlightingPass.java:464)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:201)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:97)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutor.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 93715] ERROR - m.intellij.util.ExecutorsQuery - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 93715] ERROR - m.intellij.util.ExecutorsQuery - JDK: 1.8.0_45
[ 93715] ERROR - m.intellij.util.ExecutorsQuery - VM: Java HotSpot(TM) 64-Bit Server VM
[ 93715] ERROR - m.intellij.util.ExecutorsQuery - Vendor: Oracle Corporation
[ 93715] ERROR - m.intellij.util.ExecutorsQuery - OS: Linux
[ 93715] ERROR - m.intellij.util.ExecutorsQuery - Last Action: EditorEnter
[ 93716] ERROR - n.impl.GeneralHighlightingPass - null
java.lang.NullPointerException
at org.eclipse.xtext.psi.impl.BaseXtextFile.createResource(BaseXtextFile.java:179)
at org.eclipse.xtext.psi.impl.BaseXtextFile$1.compute(BaseXtextFile.java:102)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
at org.eclipse.xtext.psi.impl.BaseXtextFile.doGetResource(BaseXt.java:125)
at org.eclipse.xtext.psi.impl.BaseXtextFile.getResource(BaseXtextFile.java:118)
at org.eclipse.xtext.psi.impl.PsiEObjectImpl.getResource(PsiEObjectImpl.java:122)
at org.eclipse.xtext.idea.annotation.IssueAnnotator.annotate(IssueAnnotator.java:48)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:159)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:102)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:340)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$100(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$3.run(GeneralHighlightingPass.java:269)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$200(GeneralHighlightingPass.java:64)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$4.run(GeneralHighlightingPass.java:300)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:205)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:97)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.eadAction(ApplicationImpl.java:1098)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
[ 93716] ERROR - n.impl.GeneralHighlightingPass - IntelliJ IDEA (Community Edition) IC-141.SNAPSHOT Build #IC-141.SNAPSHOT
[ 93716] ERROR - n.impl.GeneralHighlightingPass - JDK: 1.8.0_45
[ 93716] ERROR - n.impl.GeneralHighlightingPass - VM: Java HotSpot(TM) 64-Bit Server VM
[ 93716] ERROR - n.impl.GeneralHighlightingPass - Vendor: Oracle Corporation
[ 93716] ERROR - n.impl.GeneralHighlightingPass - OS: Linux


Re: XText for IntelliJ on Linux: NPE [message #1697072 is a reply to message #1697070] Mon, 01 June 2015 12:23 Go to previous message
Anton Kosyakov is currently offline Anton KosyakovFriend
Messages: 3
Registered: July 2009
Junior Member
Hi Federico, thanks for trying out!

Could you share more details? The grammar for your language and a file which can be used to reproduce an NPE?

Anton

[Updated on: Mon, 01 June 2015 14:15]

Report message to a moderator

Previous Topic:Content Assist Contexts
Next Topic:How to update node adapters when xtext's EMF model changes
Goto Forum:
  


Current Time: Mon Apr 19 19:53:26 GMT 2021

Powered by FUDForum. Page generated in 0.02238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top