I'm having problems making my first import of bugs from Bugzilla to Rally. This is not normally something that I work with (I'm normally in the dark lands of firmware), so I apologize for anything stupid/idiotic in what I've done so far. I've managed to get the services working, however now I am out of my depth and can't find anything that can help me continue.
Lets start with some background information... I followed mainly the instalation instructions from mozilla and https://help.rallydev.com/bugzilla-installation-user-guide
Bugzilla 4.4 on remote linux server with extension installed
bzapi running locally (windows)
executing rally2_bugzilla_connector locally.
In the log file when running the service UPDATE_BUGZILLA_TO_RALLY its returning that its found 0 bugs which I guess is correct as there are no bugs in Rally yet. When moving to the COPY_BUGZILLA_TO_RALLY service however is where things start to fall apart. I can't glean anyting from the log messages - I'll attach that below. I have a few suspects but I would think that the log messages would be different if it were these, but I'll share them with you:
I have just the default field mappings (for now) and haven't added any enum field mapping either, though I plan to once I get it working. (I don't know if I already need to do this to get it to work!)
Another setup that I'm not totally sure if it was concluded correctly is the cf_rally_id field in the sql server. When running the query on the database it didn't find any rows being null. (The bugzilla database is postgres and the sql query was adapted from the original.
The connector configuration file and output log follows:
<Config>
<RallyConnection>
<Url>rally1.rallydev.com</Url>
<WorkspaceName>Workspace</WorkspaceName>
<Projects>
<Project>Project</Project>
</Projects>
<User>me</User>
<Password>my password</Password>
<ArtifactType>Defect</ArtifactType>
<ExternalIDField>BugzillaID</ExternalIDField>
<CrosslinkUrlField>BugzillaLink</CrosslinkUrlField>
</RallyConnection>
<BugzillaConnection>
<Url>127.0.0.1:3000</Url>
<User>me</User>
<Password>mypassword</Password>
<ArtifactType>bug</ArtifactType>
<IDField>id</IDField>
<ExternalIDField>cf_rally_id</ExternalIDField>
</BugzillaConnection>
<Connector>
<FieldMapping>
<Field><Rally>Name</Rally> <Other>summary</Other></Field>
<Field><Rally>State</Rally> <Other>status</Other></Field>
<Field><Rally>Severity</Rally> <Other>severity</Other></Field>
<Field><Rally>Priority</Rally> <Other>priority</Other></Field>
</FieldMapping>
</Connector>
<ConnectorRunner>
<Preview>False</Preview>
<LogLevel>Debug</LogLevel>
<Services>UPDATE_BUGZILLA_TO_RALLY, COPY_BUGZILLA_TO_RALLY</Services>
</ConnectorRunner>
************************************************************************************************************
rally2_bugzilla_connector version: 4.4.6-76
pid: 8932
starting at: 2014-08-29 19:32:05 Z
cwd: C:/Program Files (x86)/RallyConnectorforBugzilla
configs: bz_config.xml
interval: -1
Work Item Connector Hub version: 0.4.3-273-master/master
RallyConnection spoke version: 4.2.1 using rally_api gem version 1.0.1
BugzillaConnection spoke version: 4.4.6-76-master using rally-bzapi gem version 0.1.7
************************************************************************************************************
[2014-08-29 19:32:05 Z] ANY : RallyEIF::WRK::ConnectorRunner.block in run - processing to commence using content from bz_config.xml
[2014-08-29 19:32:05 Z] ANY : Class.read_config_file - bz_config.xml last modified 2014-08-29 19:31:12 UTC, size: 1872 chars
[2014-08-29 19:32:05 Z] ANY : RallyEIF::WRK::RallyConnection.initialize - Initializing Rally connection version 4.2.1
[2014-08-29 19:32:05 Z] INFO : RallyEIF::WRK::RallyConnection.initialize - Rally Web Services version 1.42
[2014-08-29 19:32:05 Z] ANY : RallyEIF::WRK::BugzillaConnection.initialize - Initializing Bugzilla connection version 4.4.6
[2014-08-29 19:32:05 Z] INFO : RallyEIF::WRK::Connector.initialize - Ruby platform i386-mingw32
[2014-08-29 19:32:05 Z] INFO : RallyEIF::WRK::Connector.initialize - Ruby version 2.0.0
[2014-08-29 19:32:05 Z] INFO : RallyEIF::WRK::BugzillaConnection.connect - Connecting to Bugzilla
[2014-08-29 19:32:06 Z] INFO : RallyEIF::WRK::BugzillaConnection.connect - rally-bzapi version 0.1.7
[2014-08-29 19:32:06 Z] INFO : RallyEIF::WRK::BugzillaConnection.connect - Connected to Bugzilla at 127.0.0.1:3000 (version 4.4)
[2014-08-29 19:32:06 Z] INFO : RallyEIF::WRK::RallyConnection.connect - Connecting to Rally
[2014-08-29 19:32:06 Z] DEBUG : RallyEIF::WRK::RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
[2014-08-29 19:32:09 Z] DEBUG : RallyEIF::WRK::RallyConnection.connect - Looking up projects
[2014-08-29 19:32:10 Z] INFO : RallyEIF::WRK::RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm - Workspace: Workspace
[2014-08-29 19:32:10 Z] INFO : RallyEIF::WRK::RallyConnection.connect - Projects: Project
[2014-08-29 19:32:10 Z] INFO : RallyEIF::WRK::Connector.validate - Beginning validation
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - user entry "me" detected in config file
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - password entry detected in config file
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - artifact type "defect" validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally IDField name of "ObjectID" validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally ExternalIDField name of "BugzillaID" validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally CrossLinkUrlField name of "BugzillaLink" validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - Field Defaults settings validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.validate - RallyConnection validate succeeded
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::BugzillaConnection.validate - Bugzilla Connection - user entry "me" detected in config file
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::BugzillaConnection.validate - Bugzilla Connection - password entry detected in config file
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::BugzillaConnection.validate - Bugzilla Connection - artifact type "bug" validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::BugzillaConnection.validate - Bugzilla IDField name of "id" validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::BugzillaConnection.validate - Bugzilla ExternalIDField name of "cf_rally_id" validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::BugzillaConnection.validate - Bugzilla Connection - FieldHandler target fields existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::BugzillaConnection.validate - Bugzilla Connection - Field Defaults settings validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.validate - Bugzilla Connection validate succeeded
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - Bugzilla Connection field_mapping target "summary" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - RallyConnection field_mapping target "State" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - Bugzilla Connection field_mapping target "status" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - RallyConnection field_mapping target "Severity" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - Bugzilla Connection field_mapping target "severity" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - RallyConnection field_mapping target "Priority" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.block in validate - Bugzilla Connection field_mapping target "priority" existence validated
[2014-08-29 19:32:10 Z] DEBUG : RallyEIF::WRK::Connector.validate - Rally CrosslinkUrlField name of "BugzillaLink" validated
[2014-08-29 19:32:10 Z] INFO : RallyEIF::WRK::Connector.validate - Validation complete
[2014-08-29 19:32:10 Z] ANY : RallyEIF::WRK::ConnectorRunner.run_services - Last Run 2014-08-29 19:27:10 UTC --- Now 2014-08-29 19:32:10 UTC
[2014-08-29 19:32:10 Z] ANY : RallyEIF::WRK::ConnectorRunner.process_service - Starting Service UPDATE_BUGZILLA_TO_RALLY
[2014-08-29 19:32:12 Z] INFO : RallyEIF::WRK::BugzillaConnection.find_updates - Found 0 updated bugs in Bugzilla
[2014-08-29 19:32:12 Z] INFO : RallyEIF::WRK::ConnectorRunner.show_preview_message - ------- Preview Mode -------
[2014-08-29 19:32:12 Z] INFO : RallyEIF::WRK::ConnectorRunner.show_preview_message - Found 0 records in Bugzilla
[2014-08-29 19:32:12 Z] ANY : RallyEIF::WRK::ConnectorRunner.process_service - Finished Service UPDATE_BUGZILLA_TO_RALLY
[2014-08-29 19:32:12 Z] ANY : RallyEIF::WRK::ConnectorRunner.process_service - Starting Service COPY_BUGZILLA_TO_RALLY
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.rescue in run_services - Unexpected exception occurred
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Message undefined local variable or method `raw_bugs' for #<RallyEIF::WRK::BugzillaConnection:0x337d820>
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Stack Trace
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-bz-4.4.6/lib/rallyeif/bz/bz_connection/bugzilla_connection.rb:300:in `rescue in find_by_query'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-bz-4.4.6/lib/rallyeif/bz/bz_connection/bugzilla_connection.rb:297:in `find_by_query'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-bz-4.4.6/lib/rallyeif/bz/bz_connection/bugzilla_connection.rb:153:in `find_new'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-wrk-0.4.3/lib/rallyeif/wrk/connector_runner.rb:307:in `process_service'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-wrk-0.4.3/lib/rallyeif/wrk/connector_runner.rb:390:in `block in run_services'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-wrk-0.4.3/lib/rallyeif/wrk/connector_runner.rb:389:in `each'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-wrk-0.4.3/lib/rallyeif/wrk/connector_runner.rb:389:in `run_services'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-wrk-0.4.3/lib/rallyeif/wrk/connector_runner.rb:243:in `block in run'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-wrk-0.4.3/lib/rallyeif/wrk/connector_runner.rb:204:in `each'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/lib/ruby/gems/2.0.0/gems/rallyeif-wrk-0.4.3/lib/rallyeif/wrk/connector_runner.rb:204:in `run'
[2014-08-29 19:32:19 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Users/KARLST~1/AppData/Local/Temp/ocrC3F3.tmp/src/rally2_bugzilla_connector.rb:12:in `<main>'
[2014-08-29 19:32:19 Z] ANY : RallyEIF::WRK::ConnectorRunner.block in log_service_statistics - bz_config.xml: 0 items updated from Bugzilla to Rally (Preview Mode)
[2014-08-29 19:32:19 Z] ANY : RallyEIF::WRK::ConnectorRunner.log_service_statistics - bz_config.xml: service run took 13 seconds
Any ideas?
Cheers
[Edit] Some more information: I noticed that I'm getting a lot of utf8 - unicode mapping errors generated from the bzapi script. Bugzilla is configured as UTF8 (as required) and has Brazilian Portuguese language entries. All are similar to: "utf8 "\xE1" does not map to Unicode at C:/strawberry/perl/site/lib/Text/CSV_XS.pm line 779, line 2."
Related
I am trying to launch PDI spoon from intellij(running in windows).
/lib/.jar and /libswt/win64/ have been added.
PDI version - pdi-ce-6.1.0.1-196.
But it is crashing mid way with the following error:
ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.ui.xul.XulException: Can not locate Xul document [ui/spoon.xul]
2016/07/28 11:33:07 - General - at org.pentaho.ui.xul.impl.AbstractXulLoader.findDocument(AbstractXulLoader.java:520)
2016/07/28 11:33:07 - General - at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:238)
How can I resolve this issue?
It's because spoon ui needs config files.Download pentaho-kettle source then copy assembly/package-res/ui to your root dir.It will work.
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.
I run my application with the embedded server (mule server 3.5.0 CE) in anypoint studio and its deployed well but when i try to deploy it in mule standalone 3.5.0 i get this error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'pushV1' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-04-08 17:14:17,009 [WrapperListener_start_runner] org.mule.module.launcher.MuleApplicationClassLoader: [pushV1] Loading the following jars:
=============================
file:/root/Desktop/mule-standalone-3.5.0/apps/pushV1/lib/mysql-connector-java-5.1.32.jar
file:/root/Desktop/mule-standalone-3.5.0/apps/pushV1/lib/json-simple-1.1.jar
=============================
INFO 2015-04-08 17:14:17,009 [WrapperListener_start_runner] org.mule.module.launcher.log4j.ArtifactAwareRepositorySelector: Found logging config for application 'pushV1' at 'file:/root/Desktop/mule-standalone-3.5.0/conf/log4j.properties'
ERROR 2015-04-08 17:14:17,648 [WrapperListener_start_runner] org.mule.module.launcher.DefaultArchiveDeployer:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy artifact 'pushV1', see below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.DeploymentInitException: PropertyBatchUpdateException: Failed properties: Property 'objectClassName' threw exception; nested exception is java.lang.UnsupportedClassVersionError: ws1/Transformer : Unsupported major.minor version 52.0
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:181)
at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62)
at ...
http://pastebin.com/xvmNrxx9
Check the version which you are compiling the source code in the IDE... looks like you are using java 8.
After that, check which version is using your mule-standalone-server.
You can check the java version in Anypoint Studio like below
Go to--> Window-->Click on Preferences-->double click on java--> click on installed JREs
Then you can update java 7 or 8 if it is there in your system
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.
I am using IBM Worklight 5.0.6 with IBM Maximo Anywhere 7.5.0, with pre-installed Android applications "Work order approval" and "Work order Execution".
When opening one of the apps and providing the username and password, I receive the following error on the login page:
Login failed because the information that is required for your user
could not be downloaded. Try to log in again. If the problem persists,
contact your system administrator.
When checking the log file, I find the following information:
[23.04.14 09:30:41:236 CEST] 0000002b TpaeCustomAut I
processRequest() - Request
URI=/worklight/apps/services/api/WorkApproval/android/query
[23.04.14 09:30:41:250 CEST] 0000002b TpaeCustomAut I processRequest() - Request
URI=/worklight/apps/services/api/WorkApproval/android/my_custom_auth_request_url
[23.04.14 09:30:41:251 CEST] 0000002b TpaeCustomAut I getAuthenticationData() ... Entering
[23.04.14 09:30:41:282 CEST] 0000002b TpaeCustomAut I processRequestAlreadyAuthenticated() ... Entering
[23.04.14 09:30:41:368 CEST] 0000002b TpaeCustomAut I processRequestAlreadyAuthenticated() ... Entering
[23.04.14 09:30:41:370 CEST] 0000005a SystemOut O OSLC query Start {"sessionid":"JSESSIONID=0000utzFBb1jU7JwC4OvvA4rODr:-1;
Path=\/","url":"http:\/\/dummyhost:000\/maximo\/oslc\/os\/oslcmaxuser?savedQuery=currentUser&oslc.select=*"}
[23.04.14 09:30:41:370 CEST] 0000005a SystemOut O OSLC query display Path /maximo/oslc/os/oslcmaxuser
[23.04.14 09:30:41:376 CEST] 0000005a SystemOut O OSLC retrieveUserInfo Start
{"totalTime":4,"isSuccessful":true,"responseHeaders":{"Cache-Control":"no-cache=\"set-cookie,
set-cookie2\"","Server":"IBM_HTTP_Server","Expires":"Thu, 01 Dec 1994
16:00:00
GMT","Location":"http:\/\/localhost\/maximo\/webclient\/login\/login.jsp?appservauth=true","Keep-Alive":"timeout=10,
max=100","Content-Length":"0","Content-Language":"de-CH","Date":"Wed,
23 Apr 2014 07:30:41
GMT","Connection":"Keep-Alive","Content-Type":"text\/plain","Set-Cookie":["WASPostParam=rO0ABXNyABNqYXZhLnV0aWwuSGFzaHRhYmxlE7sPJSFK5LgDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA\/QAAAAAAACHcIAAAACwAAAAJ0AAFVdAAbL21heGltby9vc2xjL29zL29zbGNtYXh1c2VydAABUHNyABFqYXZhLnV0aWwuSGFzaE1hcAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0AAAAAAAAx3CAAAABAAAAADdAALQ29udGVudERhdGF1cgACW0Ks8xf4BghU4AIAAHhwAAAAJHNhdmVkUXVlcnk9Y3VycmVudFVzZXImb3NsYy5zZWxlY3Q9KnQAC0NvbnRlbnRUeXBldAAhYXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVkdAARQ29udGVudERhdGFMZW5ndGhzcgARamF2YS5sYW5nLkludGVnZXIS4qCk94GHOAIAAUkABXZhbHVleHIAEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAAAJHh4;
Path=\/maximo\/oslc\/os\/oslcmaxuser","WASReqURL=http:\/\/\/maximo\/oslc\/os\/oslcmaxuser;
Path=\/"]},"statusReason":"Found","responseTime":4,"statusCode":302}
[23.04.14 09:30:41:376 CEST] 0000005a InvocationCon E logError FWLSE0099E: An error occurred while invoking procedure
OSLCGenericAdapter/getUserAccessDataFWLSE0100E: parameters:{
"arr": [
{
"sessionid": "JSESSIONID=0000utzFBb1jU7JwC4OvvA4rODr:-1; Path=\/"
}
]
}
null
FWLSE0101E: Caused by: null
Any ideas?
References:
IBM Maximo Anywhere
IBM Maximo Anywhere & Worklight
You can try to clean application cache & data of your Android apps. Personally, I use an emulator and i have to clean it each time I want to launch apps otherwise it doesn't work.
I already had this error, but I had so much errors with Anywhere, I don't remember what I did each time :)