OpenASR / idiolect

🎙️ Handsfree Audio Development Interface
https://arxiv.org/pdf/2305.03089.pdf
Apache License 2.0
93 stars 10 forks source link

Plugin not loading #48

Closed scottlahay closed 6 years ago

scottlahay commented 6 years ago

Getting this when attempting to load the latest release

java.lang.AbstractMethodError: org.openasr.idear.Idear.initComponent()V at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:491) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:120) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$createComponents$8(ApplicationImpl.java:466) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:176) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:556) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:163) at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:473) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:104) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:425) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:411) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:206) at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:49) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:732) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:343) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

breandan commented 6 years ago

I think you're getting this error because you're not using JDK 8, or are on an older version of the IntelliJ Platform. Is this true? Idear inherits initComponent() from BaseComponent, which uses a default method on the interface, a more recent addition to Java. IntelliJ IDEA bundles JDK 8 since version 144. Can you try updating your JDK, or IDE to 144+ and report if this problem still occurs? I'm thinking of bumping the minimum required platform version to 144 anyway.

scottlahay commented 6 years ago

Thanks for the quick response, I am using Android Studio, not sure if that could be a problem Its using the version of java bundled with Android Studio which is java 8 , 152 I'll see about launching Studio with the latest version of java later today.

I did try it on the latest Canary version of Android Studio. It gets farther but throws a different error when you hit the init button. That error looks to be this one https://github.com/OpenASR/idear/issues/37 (I posted the stack trace there)

breandan commented 6 years ago

Okay, thanks for the update. I think both of these issues should now be fixed in 1.3.2. Can you try downloading it, press the init button, and say something like "open settings"?

scottlahay commented 6 years ago

fixes appear to be working, thank you