Gosu plugin for IntelliJ 11.1.4 Community Edition not compatible with IDE

1,045 views
Skip to first unread message

mmm

unread,
Jan 4, 2013, 6:57:16 AM1/4/13
to gosu...@googlegroups.com
Hi,

I'm trying to make my first steps with Gosu. I've installed Gosu 0.10.1 and Aaardvard 0.4. As there is no simple text editor anymore and generally I read it's generally stated unstable I installed IntelliJ, version 11.1.4 Community Edition and added the Gosu plugin from IntelliJ repository as mentioned in the documentation (http://gosu-lang.org/doc/wwhelp/wwhimpl/js/html/wwhelp.htm#href=Gosu%20Reference%20Guide/getting-started-gosu-opensource.04.2.html).

Unfortunately the plugin doesn't work. There is also no possibility to try out other 11.1.X versions for compatibility, as they are not available from JetBrains site (http://devnet.jetbrains.net/docs/DOC-1228).

What do I do next?




Carlos Quintanilla

unread,
Jan 4, 2013, 8:59:30 AM1/4/13
to gosu...@googlegroups.com

Hi kmietass,

Use intellij IDEA 11.1.3 with latest gosu plugin

Regards

Carlos




2013/1/4 mmm <kmie...@wp.pl>

mmm

unread,
Jan 4, 2013, 9:01:56 AM1/4/13
to gosu...@googlegroups.com
To be more exact after installing the Gosu plugin I'm getting the below and IDE stops responding (just throws more of the below exceptions). Also, it's impossible to open Project Structure window after installing Gosu plugin.

The installation documentation states:
4.After IntelliJ IDEA restarts, verify the plugin version number. Check the Gosu web site for the latest version number. In IntelliJ IDEA, open the dialog for Settings, which on Windows is the keyboard shortcut Ctrl-Alt-S. Click Plugins on the left part of the window. Click Gosu. Read the description. Verify that the description mentions the expected version number of the Gosu plugin.

Where do I find the current plugin version on your website?


Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=83,keyText=S,keyChar='Ś',modifiers=Strg+Alt+Umschalt,extModifiers=Strg+Alt+Umschalt,keyLocation=KEY_LOCATION_STANDARD,rawCode=83,primaryLevelUnicode=115,scancode=31] on frame0
java.lang.NullPointerException
    at gw.plugin.ij.sdk.GosuSdkUtils.isApplicableJdk(GosuSdkUtils.java:214)
    at gw.plugin.ij.sdk.GosuSdkConfigurableForm.updateJdks(GosuSdkConfigurableForm.java:138)
    at gw.plugin.ij.sdk.GosuSdkConfigurableForm.init(GosuSdkConfigurableForm.java:101)
    at gw.plugin.ij.sdk.GosuSdkConfigurable.reset(GosuSdkConfigurable.java:72)
    at com.intellij.openapi.projectRoots.ui.SdkEditor.reset(SdkEditor.java:239)
    at com.intellij.openapi.projectRoots.ui.SdkEditor.initSdk(SdkEditor.java:108)
    at com.intellij.openapi.projectRoots.ui.SdkEditor.<init>(SdkEditor.java:91)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.JdkConfigurable.createSdkEditor(JdkConfigurable.java:56)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.JdkConfigurable.<init>(JdkConfigurable.java:50)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.JdkListConfigurable.loadTree(JdkListConfigurable.java:123)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable.reset(BaseStructureConfigurable.java:250)
    at com.intellij.openapi.roots.ui.configuration.projectRoot.JdkListConfigurable.reset(JdkListConfigurable.java:161)
    at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:310)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:63)
    at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:82)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.editConfigurable(ShowSettingsUtilImpl.java:228)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.editConfigurable(ShowSettingsUtilImpl.java:206)
    at com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:35)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:542)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:590)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:458)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:206)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:420)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

mmm

unread,
Jan 4, 2013, 9:10:49 AM1/4/13
to gosu...@googlegroups.com
Thanks Carlos. Unfortunately I'm getting the very same exception with 11.1.3 as well (see below). Any hints?

Carlos Quintanilla

unread,
Jan 4, 2013, 9:36:22 AM1/4/13
to gosu...@googlegroups.com

To get the latest version of the plugin instead of taking it directly from jetbrains plugins go to:


version 3.1 is the latest I believe.







2013/1/4 mmm <kmie...@wp.pl>

--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/asSHvDzbZkMJ.

To post to this group, send email to gosu...@googlegroups.com.
To unsubscribe from this group, send email to gosu-lang+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gosu-lang?hl=en.

Carlos Quintanilla

unread,
Jan 4, 2013, 9:39:12 AM1/4/13
to gosu...@googlegroups.com
Take the zip file  idea-gosu-plugin-3.1.zip
and install it from a file.

I had some issues installing the plugin as well because I had already a previous version of the plugin, so, what I did to solve it was to uninstall everything and reinstall version 11.1.3 and follow step by step the gosu plugin install steps (that you are following) and I did work.

By the way, are you using JDK6 or 7? I think you need to use 6 

Carlos




2013/1/4 Carlos Quintanilla <carl...@gmail.com>

Carlos Quintanilla

unread,
Jan 4, 2013, 10:02:26 AM1/4/13
to gosu...@googlegroups.com

Hi again,

I just did a clean install of IntellijIDEA 11.1.4 + Gosu Plugin 3.1 having it configured with Java 1.7 and everything worked fine.

I followed the instructions from:

Are these the instructions that you are following as well?

Where do you exactly get the exception?

Carlos
Message has been deleted

mmm

unread,
Jan 4, 2013, 10:10:18 AM1/4/13
to gosu...@googlegroups.com
At the moment, the only thing that isn't working is:

12.Right-click on your new new top-level package called test, then click New → Gosu Program. For the program name, type HelloWorld. If you do not see the menu item Gosu Program in the New menu, the Gosu plugin is not installed correctly.

When I try to walkaround the problem by creating an empty file called HelloWorld.gsp in the test-package I'm getting an exception:
java.lang.NullPointerException: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
    at gw.internal.gosu.parser.GosuClassProxyFactory$LazyStringSourceFileHandle.getSource(GosuClassProxyFactory.java:202)
    at gw.internal.gosu.parser.GosuClass.makeParserForPhase(GosuClass.java:2273)
    at gw.internal.gosu.parser.GosuClass.compileHeaderIfNeeded(GosuClass.java:1674)
    at gw.internal.gosu.parser.GosuClass.compileDeclarationsIfNeeded(GosuClass.java:1506)
    at gw.internal.gosu.parser.GosuClass_Proxy.compileDeclarationsIfNeeded(gw.internal.gosu.parser.GosuClass_Proxy:2)
    at gw.internal.gosu.parser.GosuClassParser.putClassMembersOfSuperOrInterface(GosuClassParser.java:879)
    at gw.internal.gosu.parser.GosuClassParser.putClassMembersOfSuperAndInterfaces(GosuClassParser.java:871)
    at gw.internal.gosu.parser.GosuClassParser.parseClassBodyDecl(GosuClassParser.java:794)
    at gw.internal.gosu.parser.GosuClassParser.parseDeclarations(GosuClassParser.java:262)
    at gw.internal.gosu.parser.GosuClass.compileDeclarationsIfNeeded(GosuClass.java:1521)
    at gw.internal.gosu.parser.GosuClass.hasError(GosuClass.java:2234)
    at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1412)
    at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1331)
    at gw.internal.gosu.parser.GosuClass.isValid(GosuClass.java:769)
    at gw.internal.gosu.parser.GosuProgram_Proxy.isValid(gw.internal.gosu.parser.GosuProgram_Proxy:2)
    at gw.plugin.ij.lang.psi.impl.AbstractGosuClassFileImpl.parseType(AbstractGosuClassFileImpl.java:245)
    at gw.plugin.ij.lang.psi.impl.AbstractGosuClassFileImpl.reparseFromPsi(AbstractGosuClassFileImpl.java:454)
    at gw.plugin.ij.lang.parser.GosuParserAnnotator.annotate(GosuParserAnnotator.java:83)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:157)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:595)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:773)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:779)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:776)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:779)
    at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:250)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:135)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:776)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:641)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:203)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:350)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:342)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:340)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:316)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:134)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:131)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    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$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
    at gw.internal.gosu.parser.MetaType.get(MetaType.java:98)
    at gw.internal.gosu.parser.MetaType$4.init(MetaType.java:66)
    at gw.internal.gosu.parser.MetaType$4.init(MetaType.java:63)
    at gw.util.concurrent.LocklessLazyVar.get(LocklessLazyVar.java:27)
    at gw.internal.gosu.parser.GosuParser.parseTypeLiteral(GosuParser.java:7566)
    at gw.internal.gosu.parser.GosuParser.parseTypeLiteral(GosuParser.java:7557)
    at gw.internal.gosu.parser.GosuParser.parseTypeLiteral(GosuParser.java:1068)
    at gw.internal.gosu.parser.TypeLord.parseTypeLiteral(TypeLord.java:341)
    at gw.internal.gosu.parser.TypeLord.parseType(TypeLord.java:279)
    at gw.internal.gosu.parser.TypeLord.getActualType(TypeLord.java:119)
    at gw.internal.gosu.parser.TypeJavaClassType.getActualType(TypeJavaClassType.java:35)
    at gw.internal.gosu.parser.JavaPropertyInfo.getIntrinsicType(JavaPropertyInfo.java:208)
    at gw.internal.gosu.parser.JavaPropertyInfo.getFeatureType(JavaPropertyInfo.java:184)
    at gw.internal.gosu.parser.GosuClassProxyFactory.getPropertyGetMethod(GosuClassProxyFactory.java:826)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genMemberProperty(GosuClassProxyFactory.java:699)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genProperty(GosuClassProxyFactory.java:667)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genClassImpl(GosuClassProxyFactory.java:265)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genJavaClassProxy(GosuClassProxyFactory.java:226)
    at gw.internal.gosu.parser.GosuClassProxyFactory.access$100(GosuClassProxyFactory.java:37)
    at gw.internal.gosu.parser.GosuClassProxyFactory$2.call(GosuClassProxyFactory.java:171)
    at gw.internal.gosu.parser.GosuClassProxyFactory$2.call(GosuClassProxyFactory.java:166)
    at gw.internal.gosu.parser.GosuClassProxyFactory$LazyStringSourceFileHandle.getSource(GosuClassProxyFactory.java:198)
    ... 50 more



java.lang.NullPointerException
    at gw.internal.gosu.parser.MetaType.get(MetaType.java:98)
    at gw.internal.gosu.parser.MetaType$4.init(MetaType.java:66)
    at gw.internal.gosu.parser.MetaType$4.init(MetaType.java:63)
    at gw.util.concurrent.LocklessLazyVar.get(LocklessLazyVar.java:27)
    at gw.internal.gosu.parser.GosuParser.parseTypeLiteral(GosuParser.java:7566)
    at gw.internal.gosu.parser.GosuParser.parseTypeLiteral(GosuParser.java:7557)
    at gw.internal.gosu.parser.GosuParser.parseTypeLiteral(GosuParser.java:1068)
    at gw.internal.gosu.parser.TypeLord.parseTypeLiteral(TypeLord.java:341)
    at gw.internal.gosu.parser.TypeLord.parseType(TypeLord.java:279)
    at gw.internal.gosu.parser.TypeLord.getActualType(TypeLord.java:119)
    at gw.internal.gosu.parser.TypeJavaClassType.getActualType(TypeJavaClassType.java:35)
    at gw.internal.gosu.parser.JavaPropertyInfo.getIntrinsicType(JavaPropertyInfo.java:208)
    at gw.internal.gosu.parser.JavaPropertyInfo.getFeatureType(JavaPropertyInfo.java:184)
    at gw.internal.gosu.parser.GosuClassProxyFactory.getPropertyGetMethod(GosuClassProxyFactory.java:826)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genMemberProperty(GosuClassProxyFactory.java:699)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genProperty(GosuClassProxyFactory.java:667)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genClassImpl(GosuClassProxyFactory.java:265)
    at gw.internal.gosu.parser.GosuClassProxyFactory.genJavaClassProxy(GosuClassProxyFactory.java:226)
    at gw.internal.gosu.parser.GosuClassProxyFactory.access$100(GosuClassProxyFactory.java:37)
    at gw.internal.gosu.parser.GosuClassProxyFactory$2.call(GosuClassProxyFactory.java:171)
    at gw.internal.gosu.parser.GosuClassProxyFactory$2.call(GosuClassProxyFactory.java:166)
    at gw.internal.gosu.parser.GosuClassProxyFactory$LazyStringSourceFileHandle.getSource(GosuClassProxyFactory.java:198)
    at gw.internal.gosu.parser.GosuClass.makeParserForPhase(GosuClass.java:2273)
    at gw.internal.gosu.parser.GosuClass.compileHeaderIfNeeded(GosuClass.java:1674)
    at gw.internal.gosu.parser.GosuClass.compileDeclarationsIfNeeded(GosuClass.java:1506)
    at gw.internal.gosu.parser.GosuClass_Proxy.compileDeclarationsIfNeeded(gw.internal.gosu.parser.GosuClass_Proxy:2)
    at gw.internal.gosu.parser.GosuClassParser.putClassMembersOfSuperOrInterface(GosuClassParser.java:879)
    at gw.internal.gosu.parser.GosuClassParser.putClassMembersOfSuperAndInterfaces(GosuClassParser.java:871)
    at gw.internal.gosu.parser.GosuClassParser.parseClassBodyDecl(GosuClassParser.java:794)
    at gw.internal.gosu.parser.GosuClassParser.parseDeclarations(GosuClassParser.java:262)
    at gw.internal.gosu.parser.GosuClass.compileDeclarationsIfNeeded(GosuClass.java:1521)
    at gw.internal.gosu.parser.GosuClass.hasError(GosuClass.java:2234)
    at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1412)
    at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1331)
    at gw.internal.gosu.parser.GosuClass.isValid(GosuClass.java:769)
    at gw.internal.gosu.parser.GosuProgram_Proxy.isValid(gw.internal.gosu.parser.GosuProgram_Proxy:2)
    at gw.plugin.ij.lang.psi.impl.AbstractGosuClassFileImpl.parseType(AbstractGosuClassFileImpl.java:245)
    at gw.plugin.ij.lang.psi.impl.AbstractGosuClassFileImpl.reparseFromPsi(AbstractGosuClassFileImpl.java:454)
    at gw.plugin.ij.lang.parser.GosuParserAnnotator.annotate(GosuParserAnnotator.java:83)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:157)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:100)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$8.run(GeneralHighlightingPass.java:595)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:773)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:779)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:84)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:776)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3600(GeneralHighlightingPass.java:80)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:779)
    at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyze(RefCountHolder.java:250)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:135)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:776)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:641)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:203)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:350)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:342)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:340)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:316)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:134)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:131)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    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$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)


mmm

unread,
Jan 4, 2013, 10:12:46 AM1/4/13
to gosu...@googlegroups.com

Carlos Quintanilla

unread,
Jan 4, 2013, 10:15:25 AM1/4/13
to gosu...@googlegroups.com

that's bizarre, but as it says, if the menus are not there it is because the plugin did not installed correctly... did you restart the IDE after installing the plugin?

Have a look at the following screenshots.

Images intégrées 1

Images intégrées 2Images intégrées 3

Images intégrées 4


Images intégrées 5




2013/1/4 mmm <kmie...@wp.pl>
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/KFf84bkW-E8J.
gosu plugin.png
gosu new project.png
gosu new units.png
gosu helloworld.png
gosu sdk.png

mmm

unread,
Jan 4, 2013, 10:34:38 AM1/4/13
to gosu...@googlegroups.com
Yep, restarted many times, each action taken (to make sure no mistakes on my side). Here the screenshots.



Carlos Quintanilla

unread,
Jan 4, 2013, 11:06:56 AM1/4/13
to gosu...@googlegroups.com

 mmm did you have a previous alpha or beta version of the gosu plugin before installing the latest version? have you a different pc where to install it just to see if you get the same result? 

Everything seems ok except that the menus were not created... I think you need to report this issue to Gosu team.




2013/1/4 mmm <kmie...@wp.pl>

--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/DuQHjG1R6xwJ.

mmm

unread,
Jan 4, 2013, 11:07:57 AM1/4/13
to gosu...@googlegroups.com

OK, after switching to jdk1.6.0_35 and reinstalling the plugin worked. Thank you a lot Carlos!

Carlos Quintanilla

unread,
Jan 4, 2013, 11:09:01 AM1/4/13
to gosu...@googlegroups.com
Excellent,

You are welcome.


2013/1/4 mmm <kmie...@wp.pl>

OK, after switching to jdk1.6.0_35 and reinstalling the plugin worked. Thank you a lot Carlos!

--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/g-bE5cnoL6MJ.

Luke

unread,
Jan 4, 2013, 11:42:06 AM1/4/13
to gosu...@googlegroups.com
Thank you Carlos for you help.
I really appreciate it.
The installation process has still some rough edges...sorry about that.
Hopefully in the next release it will be better.

Regards,

Luca

Carlos Quintanilla

unread,
Jan 4, 2013, 2:21:30 PM1/4/13
to gosu...@googlegroups.com
Hi Luke, not a problem, it is definitively getting better and better great job.

Carlos



2013/1/4 Luke <luke....@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msg/gosu-lang/-/QxgzfwVBpDMJ.

cyx9...@gmail.com

unread,
May 30, 2013, 4:17:41 PM5/30/13
to gosu...@googlegroups.com
When I install plugin with intellij 11.1.4 and plugin idea-gosu-plugin-3.1(latest version), it showed as follows:
Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(52,61),absolute(44,53),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.NullPointerException
at gw.plugin.ij.sdk.GosuSdkUtils.isApplicableJdk(GosuSdkUtils.java:214)
at gw.plugin.ij.sdk.GosuSdkConfigurableForm.updateJdks(GosuSdkConfigurableForm.java:138)
at gw.plugin.ij.sdk.GosuSdkConfigurableForm.init(GosuSdkConfigurableForm.java:101)
at gw.plugin.ij.sdk.GosuSdkConfigurable.reset(GosuSdkConfigurable.java:72)
at com.intellij.openapi.projectRoots.ui.SdkEditor.reset(SdkEditor.java:239)
at com.intellij.openapi.projectRoots.ui.SdkEditor.initSdk(SdkEditor.java:108)
at com.intellij.openapi.projectRoots.ui.SdkEditor.<init>(SdkEditor.java:91)
at com.intellij.openapi.roots.ui.configuration.projectRoot.JdkConfigurable.createSdkEditor(JdkConfigurable.java:56)
at com.intellij.openapi.roots.ui.configuration.projectRoot.JdkConfigurable.<init>(JdkConfigurable.java:50)
at com.intellij.openapi.roots.ui.configuration.ProjectJdksConfigurable.reset(ProjectJdksConfigurable.java:102)
at com.intellij.ide.util.projectWizard.ProjectJdkStep.<init>(ProjectJdkStep.java:52)
at com.intellij.ide.util.projectWizard.ProjectWizardStepFactoryImpl$2.<init>(ProjectWizardStepFactoryImpl.java:104)
at com.intellij.ide.util.projectWizard.ProjectWizardStepFactoryImpl.createProjectJdkStep(ProjectWizardStepFactoryImpl.java:104)
at org.jetbrains.plugins.groovy.mvc.MvcModuleBuilder.createWizardSteps(MvcModuleBuilder.java:23)
at com.intellij.ide.util.newProjectWizard.modes.CreateFromScratchMode.addModuleBuilder(CreateFromScratchMode.java:68)
at com.intellij.ide.util.newProjectWizard.modes.CreateFromScratchMode.createSteps(CreateFromScratchMode.java:59)
at com.intellij.ide.util.newProjectWizard.modes.WizardMode.getSteps(WizardMode.java:51)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.initModuleWizard(AddModuleWizard.java:104)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.<init>(AddModuleWizard.java:69)
at com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:70)
at com.intellij.ide.actions.NewProjectAction.actionPerformed(NewProjectAction.java:26)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:260)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:892)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:226)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:100)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:621)
at java.awt.EventQueue$2.run(EventQueue.java:619)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:699)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:420)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Can anyone help me?

Luca Boasso

unread,
May 30, 2013, 4:31:29 PM5/30/13
to gosu...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gosu-lang+...@googlegroups.com.

To post to this group, send email to gosu...@googlegroups.com.

Michael Wright

unread,
May 30, 2013, 6:25:59 PM5/30/13
to gosu...@googlegroups.com
Also, if you are using a fresh installation of IntelliJ you may not have defined any Java SDK yet (which will make the Gosu plugin unhappy).  I find that it is best to start with a fresh IntelliJ (e.g. 11.1.4 community edition) and before installing the Gosu plugin, create a new (dummy) Java project.  The Java project wizard will ask you to specify a Java SDK if you haven't already.  Once you have done this, then you can follow the instructions in the documentation (i.e., the link that Luca sent above).  

Those instructions probably assume that the IntelliJ you are using has been previously used for Java projects.    

Regards,
Mike
--
Regards,
Mike

cyx9...@gmail.com

unread,
May 30, 2013, 10:47:44 PM5/30/13
to gosu...@googlegroups.com
Yes, I followed the instructions and it didn't work.


On Friday, January 4, 2013 6:57:16 AM UTC-5, mmm wrote:

cyx9...@gmail.com

unread,
May 30, 2013, 10:48:17 PM5/30/13
to gosu...@googlegroups.com
Yes, I followed the instructions and it didn't work.

cyx9...@gmail.com

unread,
May 30, 2013, 10:49:58 PM5/30/13
to gosu...@googlegroups.com
Yes, I tried. When I created a hello world of java it works. Then I installed the plugin, when I want to create a new project, it prompts the error info above.

Michael Wright

unread,
May 31, 2013, 3:52:13 AM5/31/13
to gosu...@googlegroups.com
I don't know if you saw my reply to a similar problem in the past, but here's what works for me:

The steps I follow for each new installation of IDEA (to be used with Gosu):
1. download/install IDEA (set up env/path with appropriate Java); find idea.properties
2. create a directory for the idea files for a project, e.g., foo, copy idea.properties into it
3. edit idea.properties to use the foo directory for the four properties ending in .path
4. set IDEA_PROPERTIES to foo/idea.properties
5. start the IDE (e.g., <idea-install>/bin/idea.sh)
6. create a new Java (dummy) project.  During the wizard pick a JDK (e.g., 1.7)
7. install the gosu-plugin (and this will restart the IDE)
8. close the dummy Java project. create a new Gosu project
9. (optional) close the Gosu project/IDEA.  Start IDEA (Re-opens the Gosu project.)

(you can also import a maven project with existing Gosu code instead of creating)

Yinxiao Chen

unread,
Jun 6, 2013, 2:35:32 PM6/6/13
to gosu...@googlegroups.com
Yes, that's right. I have solved it, thanks.
Reply all
Reply to author
Forward
0 new messages