How to resolve `error starting spoon shell`? - pentaho

I'm porting Pentaho kettle to apache hop and I followed the steps given in this document, after changing the dependencies build was successful but got an error while starting spoon.sh file
Below was the error I caught when I run spoon.sh
2021/12/01 13:08:04 - General - ERROR (version 1.1.0-SNAPSHOT, build 1.1.0-SNAPSHOT from 2021-12-01 07.33.36 by ****) : Error starting Spoon shell
2021/12/01 13:08:04 - General - ERROR (version 1.1.0-SNAPSHOT, build 1.1.0-SNAPSHOT from 2021-12-01 07.33.36 by ****) : java.lang.ExceptionInInitializerError
2021/12/01 13:08:04 - General - at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:870)
2021/12/01 13:08:04 - General - at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:9352)
2021/12/01 13:08:04 - General - at org.eclipse.jface.window.Window.create(Window.java:431)
2021/12/01 13:08:04 - General - at org.eclipse.jface.window.Window.open(Window.java:788)
2021/12/01 13:08:04 - General - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9383)
2021/12/01 13:08:04 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:711)
2021/12/01 13:08:04 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2021/12/01 13:08:04 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2021/12/01 13:08:04 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2021/12/01 13:08:04 - General - at java.lang.reflect.Method.invoke(Method.java:498)
2021/12/01 13:08:04 - General - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
2021/12/01 13:08:04 - General - Caused by: java.util.MissingResourceException: Can't find bundle for base name ui/laf, locale en_IN
2021/12/01 13:08:04 - General - at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581)
2021/12/01 13:08:04 - General - at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
2021/12/01 13:08:04 - General - at java.util.ResourceBundle.getBundle(ResourceBundle.java:1091)
2021/12/01 13:08:04 - General - at org.pentaho.di.ui.spoon.XulSpoonResourceBundle.<clinit>(XulSpoonResourceBundle.java:69)
2021/12/01 13:08:04 - General - ... 11 more
Has anyone run into this before? Do you have a resolution?

I am not sure what you are trying to do, but Apache Hop does not have a spoon.sh file. To start the GUI you have to use the hop-gui.sh file.
It seems you have copied over the spoon.sh file?
If you are porting over a step/job entry to a Hop Transform or Action there is a sample repository available here you can use the code in there as a base to see what has to be done to get everything running in Hop.
If you have specific questions you can also contact the developers on the mailing list

Related

Pentaho won't register my plugin: Unexpected error registering jar plugin

I converted the Pentaho Sample Step Plugin java project to a Kotlin project with the Gradle build tool. When I deploy the jar to the Pentaho Spoon, it gives exception:
2020/04/06 16:27:43 - General - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : Unexpected error registering jar plugin file: file:///home/username/Documents/pentaho/plugins/folder-name/myjar-name.jar
2020/04/06 16:27:43 - General - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : java.lang.NullPointerException
2020/04/06 16:27:43 - General - at org.pentaho.di.core.plugins.StepPluginType.extractID(StepPluginType.java:149)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.plugins.BasePluginType.handlePluginAnnotation(BasePluginType.java:750)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:718)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:184)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.plugins.PluginRegistry.registerType(PluginRegistry.java:605)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:577)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:545)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:145)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:100)
2020/04/06 16:27:43 - General - at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:81)
2020/04/06 16:27:43 - General - at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:643)
2020/04/06 16:27:43 - General - at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:635)
2020/04/06 16:27:43 - General - at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2020/04/06 16:27:43 - General - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2020/04/06 16:27:43 - General - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2020/04/06 16:27:43 - General - at java.lang.Thread.run(Thread.java:748)
Why does Pentaho not register my plugin?
My PDI version: 9.0.0.0-423
I had the same dehavior and I follow this solution
https://community.hitachivantara.com/s/question/0D52S00008AkM8DSAV/pdi-startup-fail-unde-macos-catalina.
Accordingly Matt Velez he said:
Go here:
https://download.eclipse.org/eclipse/downloads/index.html#Latest_Release
Click the latest version number (it was 4.16 for me) Click 'SWT Binary and Source' on the left sidebar.
Download and unzip the Mac version.
Move the swt.jar file in the archive to the data-integration/libswt/osx64 folder.
Run PDI.

Logs tab not showing up in IntelliJ 2017.1EAP

This worked fine with previous intelliJ versions. Logs tab is not activated after GlassFish is started. Restore Layout button does not help.
UPDATE
Here is a part of idea.log with exceptions(not sure if it's related to the issue):
*2017-02-09 15:19:01,969 [3649406] INFO - notification.NotificationGroup - Notification group JavaEE is already registered
java.lang.Throwable
at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:65)
at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:50)
at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:82)
at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:87)
at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl.createConnectErrorNotification(JavaeeServerInstanceImpl.java:358)
at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl$ConnectLogger.reportError(JavaeeServerInstanceImpl.java:544)
at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl.disconnect(JavaeeServerInstanceImpl.java:186)
at com.intellij.javaee.oss.server.JavaeeServerConnector.shutdown(JavaeeServerConnector.java:115)
at com.intellij.javaee.run.execution.J2EEProcessHandlerHelper.destroy(J2EEProcessHandlerHelper.java:199)
at com.intellij.javaee.run.execution.LocalJavaeeServerProcessHandler.destroyProcessImpl(LocalJavaeeServerProcessHandler.java:157)
at com.intellij.javaee.run.execution.LocalJavaeeServerProcessHandler.detachProcessImpl(LocalJavaeeServerProcessHandler.java:167)
at com.intellij.execution.process.ProcessHandler$2.run(ProcessHandler.java:126)
at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:260)
at com.intellij.execution.process.ProcessHandler.detachProcess(ProcessHandler.java:121)
at com.intellij.javaee.run.execution.LocalJavaeeServerProcessHandler.destroyProcess(LocalJavaeeServerProcessHandler.java:78)
at com.intellij.javaee.run.execution.J2EEProcessHandlerWrapper$4.onProcess(J2EEProcessHandlerWrapper.java:194)
at com.intellij.javaee.run.execution.J2EEProcessHandlerWrapper$ProcessCall.lambda$new$0(J2EEProcessHandlerWrapper.java:360)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-02-09 15:19:14,501 [3661938] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2017-02-09 15:19:14,627 [3662064] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [system]: "C:\Program Files\Java\jbsdk8u112b657_windows_x64\jre\bin\java" -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\"... (many lines)
2017-02-09 15:19:15,084 [3662521] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 171.2014.21/lib/jps-launcher.jar;C:/Program Files/Java/jbsdk8u112b657_windows_x64/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 171.2014.21/lib/optimizedFileManager.jar
2017-02-09 15:19:25,665 [3673102] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 11175 ms: 0 min 11sec
2017-02-09 15:19:25,666 [3673103] INFO - CompilerBackwardReferenceIndex - C:\Users\***\.IntelliJIdea2017.1\system\compile-server\***_pom_b5d31051\backward-refs\version (The system cannot find the path specified)
java.io.FileNotFoundException: C:\Users\***\.IntelliJIdea2017.1\system\compile-server\***_pom_b5d31051\backward-refs\version (The system cannot find the path specified)
at java.io.FileInputStream.$$YJP$$open0(Native Method)
at java.io.FileInputStream.open0(FileInputStream.java)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.jetbrains.jps.backwardRefs.CompilerBackwardReferenceIndex.versionDiffers(CompilerBackwardReferenceIndex.java:155)
at com.intellij.compiler.backwardRefs.CompilerReferenceReader.exists(CompilerReferenceReader.java:109)
at com.intellij.compiler.backwardRefs.CompilerReferenceReader.create(CompilerReferenceReader.java:116)
at com.intellij.compiler.backwardRefs.CompilerReferenceServiceImpl.a(CompilerReferenceServiceImpl.java:359)
at com.intellij.compiler.backwardRefs.CompilerReferenceServiceImpl.access$600(CompilerReferenceServiceImpl.java:70)
at com.intellij.compiler.backwardRefs.CompilerReferenceServiceImpl$2.b(CompilerReferenceServiceImpl.java:126)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-02-09 15:19:25,669 [3673106] INFO - ntellij.analysis.SonarLintTask - Running SonarLint Analysis for 9 files in 2 modules
2017-02-09 15:19:25,715 [3673152] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [system]: "C:\Program Files\Java\jbsdk8u112b657_windows_x64\jre\bin\java" -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\".... (many lines)
2017-02-09 15:19:26,196 [3673633] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 171.2014.21/lib/jps-launcher.jar;C:/Program Files/Java/jbsdk8u112b657_windows_x64/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 171.2014.21/lib/optimizedFileManager.jar
2017-02-09 15:19:27,597 [3675034] INFO - svn.commandLine.CommandRuntime - Detected warning - svn: warning: W155010: The node 'C:\***\Pom\.idea\sonarlint\.sonartmp' was not found.
2017-02-09 15:19:31,779 [3679216] INFO - ntellij.analysis.SonarLintTask - SonarLint analysis done
2017-02-09 15:19:58,557 [3705994] INFO - svn.commandLine.CommandRuntime - Detected warning - svn: warning: W155010: The node 'C:\***\Pom\.idea\sonarlint\.sonartmp' was not found.*
I had a .bat script (which stops glassfish domain and deletes old logs) set to be executed before launch in GlassFish server configuration, and IntelliJ for some reason does not load recreated (during deploy process) log files. It loads only those existed before starting deploy.

(Pentaho PDI):Thread: Couldn't find starting point in this job

Pentaho running job through command line
I have a pentaho job which runs successfully in pentaho but if i try to run the same through command line i get the error -(But It runs Successfully in one PC throws, error in another PC)
Here is my problem of the moment:
2016/12/12 16:52:30 - Start of job execution
2016/12/12 16:52:30 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07
13.27.43 by buildguy) : A serious error occurred during job execution:
2016/12/12 16:52:30 - Couldn't find starting point in this job.
2016/12/12 16:52:30 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07
13.27.43 by buildguy) : org.pentaho.di.core.exception.KettleJobException:
2016/12/12 16:52:30 - Couldn't find starting point in this job.
2016/12/12 16:52:30 - at org.pentaho.di.job.Job.execute(Job.java:532)
2016/12/12 16:52:30 - at org.pentaho.di.job.Job.run(Job.java:435)
2016/12/12 16:52:30 - Kitchen - Finished!
2016/12/12 16:52:30 - Kitchen - ERROR (version 6.0.0.0-353, build 1 from
2015-10-07 13.27.43 by buildguy) : Finished with errors
2016/12/12 16:52:30 - Kitchen - Start=2016/12/12 16:52:15.536, Stop=2016/12/12 16:52:30.652
Just had the same issue (9.1), but it disappeared after I deleted the "Start" step and replaced it with a new one. Looks like the "Start" step must be named "Start", so NO renaming it, even if it is allowed...
Aren't you trying to run a KTR file instead of a KJB?
Take a look:
http://forums.pentaho.com/showthread.php?58160-Couldn-t-find-starting-point-in-this-job
you should try pan, pan is PDI command line tools.
PDI Command line tools
sh /home/patel/Downloads/pdi/pdi-ce-9.0.0.0-423/data-integration/pan.sh /file:/home/patel/Documents/replication.ktr
Are you sure if you are using ****Start**** step while writing a job.
P.S. Each Pentaho job needs a start step to execute.
Claus's answer is right,if you rename you "Start" model,you should useing normal name "Start",I use this method fixed my problem.

IntelliJ 14 not able to run scala test

Recently, my newly created IntelliJ project failed to run scala test with following error in console:
2015-07-30 09:46:56,731 [72575363] ERROR -
llij.ide.plugins.PluginManager -
org/jetbrains/idea/maven/project/MavenProjectsManager
java.lang.NoClassDefFoundError:
org/jetbrains/idea/maven/project/MavenProjectsManager
at org.jetbrains.plugins.scala.testingSupport.test.AbstractTestRunConfiguration.provideDefaultWorkingDir(AbstractTestRunConfiguration.scala:122)
at org.jetbrains.plugins.scala.testingSupport.test.AbstractTestRunConfiguration.initWorkingDir(AbstractTestRunConfiguration.scala:116)
at org.jetbrains.plugins.scala.testingSupport.test.scalatest.ScalaTestConfigurationProducer.createConfigurationByLocation(ScalaTestConfigurationProducer.scala:62)
at org.jetbrains.plugins.scala.testingSupport.test.AbstractTestConfigurationProducer$class.createConfigurationByElement(AbstractTestConfigurationProducer.scala:30)
at org.jetbrains.plugins.scala.testingSupport.test.TestConfigurationProducer.createConfigurationByElement(TestConfigurationProducer.scala:18)
at org.jetbrains.plugins.scala.testingSupport.test.TestConfigurationProducer.setupConfigurationFromContext(TestConfigurationProducer.scala:33)
at org.jetbrains.plugins.scala.testingSupport.test.TestConfigurationProducer.setupConfigurationFromContext(TestConfigurationProducer.scala:18)
at com.intellij.execution.actions.RunConfigurationProducer.createConfigurationFromContext(RunConfigurationProducer.java:87)
at com.intellij.execution.actions.RunConfigurationProducer.findOrCreateConfigurationFromContext(RunConfigurationProducer.java:170)
at com.intellij.execution.actions.PreferredProducerFind.getConfigurationsFromContext(PreferredProducerFind.java:106)
at com.intellij.execution.actions.PreferredProducerFind.findConfigurationFromContext(PreferredProducerFind.java:131)
at com.intellij.execution.actions.PreferredProducerFind.createConfiguration(PreferredProducerFind.java:43)
at com.intellij.execution.actions.ConfigurationContext.createConfiguration(ConfigurationContext.java:119)
at com.intellij.execution.actions.ConfigurationContext.getConfiguration(ConfigurationContext.java:112)
at com.intellij.execution.actions.BaseRunConfigurationAction.update(BaseRunConfigurationAction.java:194)
at com.intellij.openapi.actionSystem.AnAction.beforeActionPerformedUpdate(AnAction.java:243)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:111)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:620)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:483)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:213)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:538)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
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)
2015-07-30 09:46:56,731 [72575363] ERROR -
llij.ide.plugins.PluginManager - IntelliJ IDEA 14.1.4 Build
IU-141.1532.4 2015-07-30 09:46:56,731 [72575363] ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_31 2015-07-30
09:46:56,731 [72575363] ERROR - llij.ide.plugins.PluginManager - VM:
Java HotSpot(TM) 64-Bit Server VM 2015-07-30 09:46:56,731 [72575363]
ERROR - llij.ide.plugins.PluginManager - Vendor: Oracle Corporation
2015-07-30 09:46:56,731 [72575363] ERROR -
llij.ide.plugins.PluginManager - OS: Linux
I searched around, but couldn't find anything useful. Anyone had the same issue, and knows how to fix it?
Found it.
Install the "Maven Integration" plugin from the settings.
If you're wondering how I solved that, I saw that there was a strange error even if you try to create a new spec2 configuration.
This was the error in my console:
[ 73962] ERROR - llij.ide.plugins.PluginManager - org/jetbrains/idea/maven/project/MavenProjectsManager
java.lang.NoClassDefFoundError: org/jetbrains/idea/maven/project/MavenProjectsManager
at org.jetbrains.plugins.scala.testingSupport.test.AbstractTestRunConfiguration.provideDefaultWorkingDir(AbstractTestRunConfiguration.scala:122)
The org.jetbrains.idea.maven.project.MavenProjectsManager class is in the maven plugin.
Installing solved that problem and this one.

Intellij Android Gradle Plugin Unsupported method: Dependencies.getJars()

I am having issues with my Intellij set up. I am able to build successfully from the command line, but when I try to refresh my build file it never completes and just says 'Gradle project sync in progress...'. When I tail the logs, I get this:
INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
INFO - .project.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [--init-script, /private/var/folders/nj/qb8hxhjx6ng8bp5c0070dt3m0000gn/T/ijinit9082569265104558481.gradle]
INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 2 ms
INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
ERROR - plication.impl.ApplicationImpl - null
java.lang.AssertionError: null
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:66)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2077)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.executeOnEdt(ExternalSystemApiUtil.java:377)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.executeProjectChangeAction(ExternalSystemApiUtil.java:359)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$MyMultiExternalProjectRefreshCallback.onSuccess(ExternalSystemUtil.java:760)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.execute(ExternalSystemUtil.java:434)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3$2.run(ExternalSystemUtil.java:483)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:380)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1126)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1103)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2074)
... 19 more
Caused by: org.gradle.tooling.model.UnsupportedMethodException: Unsupported method: Dependencies.getJars().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
at org.gradle.tooling.model.internal.Exceptions.unsupportedMethod(Exceptions.java:33)
at org.gradle.tooling.internal.adapter.ProtocolToModelAdapter$InvocationHandlerImpl.invoke(ProtocolToModelAdapter.java:240)
at com.sun.proxy.$Proxy128.getJars(Unknown Source)
at com.android.tools.idea.gradle.dependency.Dependency.populate(Dependency.java:99)
at com.android.tools.idea.gradle.dependency.Dependency.extractFrom(Dependency.java:88)
at com.android.tools.idea.gradle.customizer.android.DependenciesModuleCustomizer.setUpDependencies(DependenciesModuleCustomizer.java:50)
at com.android.tools.idea.gradle.customizer.android.DependenciesModuleCustomizer.setUpDependencies(DependenciesModuleCustomizer.java:43)
at com.android.tools.idea.gradle.customizer.AbstractDependenciesModuleCustomizer.customizeModule(AbstractDependenciesModuleCustomizer.java:57)
at com.android.tools.idea.gradle.service.AndroidProjectDataService.customizeModule(AndroidProjectDataService.java:149)
at com.android.tools.idea.gradle.service.AndroidProjectDataService.access$100(AndroidProjectDataService.java:58)
at com.android.tools.idea.gradle.service.AndroidProjectDataService$1.execute(AndroidProjectDataService.java:103)
at com.intellij.openapi.externalSystem.util.DisposeAwareProjectChange.run(DisposeAwareProjectChange.java:36)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5$1.run(ExternalSystemApiUtil.java:364)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5.run(ExternalSystemApiUtil.java:361)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.executeOnEdt(ExternalSystemApiUtil.java:374)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.executeProjectChangeAction(ExternalSystemApiUtil.java:359)
at com.android.tools.idea.gradle.service.AndroidProjectDataService.importData(AndroidProjectDataService.java:94)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:90)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:74)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:98)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:74)
at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager.importData(ProjectDataManager.java:98)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$MyMultiExternalProjectRefreshCallback$1$1.run(ExternalSystemUtil.java:766)
at com.intellij.openapi.roots.impl.ProjectRootManagerImpl.mergeRootsChangesDuring(ProjectRootManagerImpl.java:329)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$MyMultiExternalProjectRefreshCallback$1.execute(ExternalSystemUtil.java:763)
at com.intellij.openapi.externalSystem.util.DisposeAwareProjectChange.run(DisposeAwareProjectChange.java:36)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5$1.run(ExternalSystemApiUtil.java:364)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984)
at com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5.run(ExternalSystemApiUtil.java:361)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
ERROR - plication.impl.ApplicationImpl - IntelliJ IDEA 13.1.4 Build #IU-135.1230
ERROR - plication.impl.ApplicationImpl - JDK: 1.6.0_65
ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) 64-Bit Server VM
ERROR - plication.impl.ApplicationImpl - Vendor: Apple Inc.
ERROR - plication.impl.ApplicationImpl - OS: Mac OS X
ERROR - plication.impl.ApplicationImpl - Last Action: ExternalSystem.RefreshAllProjects
Anyone have any ideas, I can't seem to figure out the source of either of the errors I am seeing.
If you want to use v0.13 of the Android Gradle plugin at the time of this writing, you should use Android Studio 0.8.11 or later. While IntelliJ has the Android plugin built-in, it doesn't update as often and isn't the latest version, and support for 0.13 of the Gradle plugin was added very recently.