(copied from gosu-lang) Gosu plugin does not seem to work with IntelliJ Idea 12.1.4 nor 12.1.6

58 views
Skip to first unread message

Dariusz Dębowczyk

unread,
Aug 28, 2014, 2:33:06 PM8/28/14
to gosu...@googlegroups.com
Am I missing something?

Setup:
----------
Windows 7 (64 bit)
IntelliJ Idea 12.1.4 and 12.1.6 (both Community Edition)
Oracle Java 1.7.0_65 (64 bit) - setup to be used both for project and IntelliJ (via IDEA_JDK_64 env variable)
Gosu plugin v3.5

Steps:
---------
1) Install Idea
2) Remove .Idea12 folder from user home
3) Idea > Invalidate caches
4) Install Gosu via Settings > Browse repositories > Gosu plugin (from 7/24/14)
5) Restart Idea
6) Create new Gosu module
7) First issue - no Gosu class available in File > New... menu
8) Manually created file test.gsp
9) Idea shows internal error message. Exception is:
null
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1124)
at gw.lang.reflect.java.JavaTypes.getCachedType(JavaTypes.java:431)
at gw.lang.reflect.java.JavaTypes.getGosuType(JavaTypes.java:462)
at gw.lang.reflect.java.JavaTypes.IPROGRAM_INSTANCE(JavaTypes.java:399)
at gw.internal.gosu.parser.GosuProgram.addProgramInterfaces(GosuProgram.java:63)
at gw.internal.gosu.parser.GosuProgram.<init>(GosuProgram.java:58)
at gw.internal.gosu.parser.GosuIndustrialParkImpl.createProgram(GosuIndustrialParkImpl.java:184)
at gw.lang.GosuShop.createProgram(GosuShop.java:200)
at gw.lang.reflect.gs.GosuClassTypeLoader.makeNewClass(GosuClassTypeLoader.java:247)
at gw.lang.reflect.gs.GosuClassTypeLoader.makeNewClass(GosuClassTypeLoader.java:229)
at gw.lang.reflect.gs.GosuClassTypeLoader.findClass(GosuClassTypeLoader.java:335)
at gw.lang.reflect.gs.GosuClassTypeLoader.getType(GosuClassTypeLoader.java:139)
at gw.lang.reflect.gs.GosuClassTypeLoader.getType(GosuClassTypeLoader.java:28)
at gw.internal.gosu.parser.ModuleTypeLoader.loadType(ModuleTypeLoader.java:596)
at gw.internal.gosu.parser.ModuleTypeLoader.loadTypeAndCacheResult(ModuleTypeLoader.java:498)
at gw.internal.gosu.parser.ModuleTypeLoader.getTypeByFullNameIfValid(ModuleTypeLoader.java:410)
at gw.internal.gosu.parser.TypeLoaderAccess.getByFullNameIfValid(TypeLoaderAccess.java:974)
at gw.internal.gosu.parser.TypeLoaderAccess.getByFullNameIfValid(TypeLoaderAccess.java:949)
at gw.lang.reflect.TypeSystem.getByFullNameIfValid(TypeSystem.java:198)
at gw.lang.reflect.TypeSystem.getByFullNameIfValid(TypeSystem.java:209)
at gw.internal.gosu.parser.AbstractTypeRef._resolveType(AbstractTypeRef.java:407)
at gw.internal.gosu.parser.AbstractTypeRef._reload(AbstractTypeRef.java:339)
at gw.internal.gosu.parser.GosuProgram_Proxy.setCreateEditorParser(gw.internal.gosu.parser.GosuProgram_Proxy:1)
at gw.plugin.ij.lang.psi.impl.AbstractGosuClassFileImpl.parseType(AbstractGosuClassFileImpl.java:250)
at gw.plugin.ij.lang.psi.impl.AbstractGosuClassFileImpl.reparseGosuFromPsi(AbstractGosuClassFileImpl.java:494)
at gw.plugin.ij.lang.psi.impl.AbstractGosuClassFileImpl.reparsePsiFromContent(AbstractGosuClassFileImpl.java:503)
at gw.plugin.ij.lang.parser.GosuParserAnnotator.annotate(GosuParserAnnotator.java:135)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:160)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:103)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:644)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:757)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3500(GeneralHighlightingPass.java:83)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$12.run(GeneralHighlightingPass.java:763)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:87)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:760)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3500(GeneralHighlightingPass.java:83)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$12.run(GeneralHighlightingPass.java:763)
at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:295)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:137)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:760)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:717)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:208)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:357)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:348)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:345)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:321)
at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:145)
at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:142)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Reply all
Reply to author
Forward
0 new messages