PDA

View Full Version : IDE Plugin generates error in RubyMine



fcaporal
1 Jul 2015, 10:37 AM
RubyMine Version: 7.1.3
Plugin Version: 6.0.0.381 (Installed from disk, downloaded with the demo version of Ext JS 6)

When launching RubyMine after installing the Plugin it generates 2 errors:


org.codehaus.groovy.runtime.DefaultGroovyMethods.each(Ljava/util/List;Lgroovy/lang/Closure;)Ljava/util/List;
java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.DefaultGroovyMethods.each(Ljava/util/List;Lgroovy/lang/Closure;)Ljava/util/List;
at com.sencha.idea.LicenseValidator.validateLicense(LicenseValidator.groovy:450)
at com.sencha.idea.LicenseValidator.processLicense(LicenseValidator.groovy:290)
at com.sencha.idea.LicenseValidator.access$2(LicenseValidator.groovy)
at com.sencha.idea.LicenseValidator$_initComponent_closure2.doCall(LicenseValidator.groovy:117)
at com.sencha.idea.LicenseValidator$_initComponent_closure2.call(LicenseValidator.groovy)
at groovy.lang.Closure.run(Closure.java:504)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


and


org.codehaus.groovy.runtime.StringGroovyMethods.find(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.StringGroovyMethods.find(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
at com.sencha.idea.index.IndexedFilesFilter.isTest(IndexedFilesFilter.groovy:49)
at com.sencha.idea.index.IndexedFilesFilter.acceptInput(IndexedFilesFilter.groovy:14)
at com.intellij.lang.javascript.index.JavaScriptIndex$1.acceptInput(JavaScriptIndex.java:86)
at com.intellij.util.indexing.FileBasedIndexImpl$IndexableFilesFilter.acceptInput(FileBasedIndexImpl.java:2547)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:2449)
at com.intellij.util.indexing.FileBasedIndexImpl.access$5700(FileBasedIndexImpl.java:100)
at com.intellij.util.indexing.FileBasedIndexImpl$UnindexedFilesFinder.processFile(FileBasedIndexImpl.java:2396)
at com.intellij.openapi.vfs.VfsUtilCore$1.visitFileEx(VfsUtilCore.java:252)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:267)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:299)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:299)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:299)
at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:299)
at com.intellij.openapi.vfs.VfsUtilCore.iterateChildrenRecursively(VfsUtilCore.java:247)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:69)
at com.intellij.util.indexing.FileBasedIndexImpl.iterateIndexableFiles(FileBasedIndexImpl.java:2580)
at com.intellij.util.indexing.UnindexedFilesUpdater.a(UnindexedFilesUpdater.java:71)
at com.intellij.util.indexing.UnindexedFilesUpdater.performInDumbMode(UnindexedFilesUpdater.java:114)
at com.intellij.openapi.project.DumbServiceImpl$8.run(DumbServiceImpl.java:416)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
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.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:407)
at com.intellij.openapi.project.DumbServiceImpl.access$1100(DumbServiceImpl.java:52)
at com.intellij.openapi.project.DumbServiceImpl$7.run(DumbServiceImpl.java:389)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
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.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

Chris.OBrien
2 Jul 2015, 5:51 AM
RubyMine Version: 7.1.3
Plugin Version: 6.0.0.381 (Installed from disk, downloaded with the demo version of Ext JS 6)

When launching RubyMine after installing the Plugin it generates 2 errors:


What OS and version of Java are you using?

Do you see any Sencha JetBrains Plugin dialog boxes for login/registration?

Looking at the first stack trace, this looks like it might have happened after you already registered a Sencha license, perhaps in another IDE?

fcaporal
2 Jul 2015, 6:23 AM
OS: Windows 7 Pro 32 bit, Svc Pack 1Yes, did receive the login registration and went through the process successfully.As far as I am aware I have not registered a Sencha license. How can I verify that?

Chris.OBrien
2 Jul 2015, 6:38 AM
OS: Windows 7 Pro 32 bit, Svc Pack 1Yes, did receive the login registration and went through the process successfully.As far as I am aware I have not registered a Sencha license. How can I verify that?

Since you're seeing a problem with the license, these steps might not work: Open up RubyMine Settings from the File menu, then go to Other Settings->Sencha and it should say at the bottom of the settings window your user name and trial days remaining.

I'm confused about your first stack trace, since you would have seen this when you first registered the plugin. Are you seeing this every time you start RubyMine?

The 2nd stack trace is entirely unrelated to the license, and both of them make it seem that Groovy itself isn't being properly detected.

I've tried recreating this in a VM of Windows 7 Pro SP1 (but it is a 64 bit version) with it running JRE 1.70_60-b19. Can you go to your Help -> About RubyMine and report what JRE it is using?

Could you please try another JetBrains product as well? WebStorm (http://www.jetbrains.com/webstorm/download/) or phpStorm or IntelliJ, all of them will allow you a evaluation copy.

fcaporal
2 Jul 2015, 12:22 PM
JRE: 1.7.0_60-b19 x86

I have un-installed the plugin and installed it again but using the one from the Repository Instead (Version 0.4.325) instead of the one downloaded along with the EXT Js 6.0 trial archive, and it seems to be working now.

Thank you for your help.