Gradle sync in progress won't finish - android-studio

I am attempting to migrate to Android Studio from Eclipse and have newly installed v0.8.0 (updated to v0.8.2) Android Studio. I cannot get Gradle to finish syncing. I have tried restarting the application and reading various answers everywhere including here on StackOverflow.
I have included a idea.log below, I'm not sure if it is useful. There's more but I couldn't paste the whole thing.
>
2014-08-05 10:40:55,922 [ 94335] INFO - .manage.ContentRootDataService - Importing excluded root 'source_root(C:/Users/XXX/SkyDrive/workspace/BaseGameUtils/build)' for content root 'file://C:/Users/XXX/SkyDrive/workspace/BaseGameUtils' of module 'BaseGameUtils'
2014-08-05 10:40:55,923 [ 94336] INFO - .manage.ContentRootDataService - Importing content root 'C:/Users/XXX/SkyDrive/workspace/google_play_services_froyo/libproject' for module 'libproject'
2014-08-05 10:40:55,923 [ 94336] INFO - .manage.ContentRootDataService - Importing excluded root 'source_root(C:/Users/XXX/SkyDrive/workspace/google_play_services_froyo/libproject/.gradle)' for content root 'file://C:/Users/XXX/SkyDrive/workspace/google_play_services_froyo/libproject' of module 'libproject'
2014-08-05 10:40:55,923 [ 94336] INFO - .manage.ContentRootDataService - Importing excluded root 'source_root(C:/Users/XXX/SkyDrive/workspace/google_play_services_froyo/libproject/build)' for content root 'file://C:/Users/XXX/SkyDrive/workspace/google_play_services_froyo/libproject' of module 'libproject'
2014-08-05 10:40:56,415 [ 94828] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 275 ms
2014-08-05 10:40:56,416 [ 94829] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2014-08-05 10:40:56,416 [ 94829] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
2014-08-05 10:46:40,477 [ 438890] INFO - api.vfs.impl.local.FileWatcher - Change requests:16384, filtered:8176
2014-08-05 10:54:08,569 [ 886982] INFO - api.vfs.impl.local.FileWatcher - Change requests:32768, filtered:16967
2014-08-05 10:54:36,414 [ 914827] INFO - api.vfs.impl.local.FileWatcher - Change requests:49152, filtered:27454
2014-08-05 10:55:08,059 [ 946472] INFO - api.vfs.impl.local.FileWatcher - Change requests:65536, filtered:37942
2014-08-05 10:55:57,283 [ 995696] INFO - api.vfs.impl.local.FileWatcher - Change requests:81920, filtered:48317
2014-08-05 10:56:29,933 [1028346] INFO - api.vfs.impl.local.FileWatcher - Change requests:98304, filtered:58698
2014-08-05 10:57:00,543 [1058956] INFO - api.vfs.impl.local.FileWatcher - Change requests:114688, filtered:69077
2014-08-05 11:00:09,281 [1247694] INFO - api.vfs.impl.local.FileWatcher - Change requests:131072, filtered:78600
2014-08-05 11:01:34,618 [1333031] INFO - api.vfs.impl.local.FileWatcher - Change requests:147456, filtered:88166
2014-08-05 11:02:34,206 [1392619] INFO - api.vfs.impl.local.FileWatcher - Change requests:163840, filtered:98057
2014-08-05 11:03:51,512 [1469925] INFO - api.vfs.impl.local.FileWatcher - Change requests:180224, filtered:107389
2014-08-05 11:05:06,966 [1545379] INFO - api.vfs.impl.local.FileWatcher - Change requests:196608, filtered:116798
2014-08-05 11:06:16,132 [1614545] INFO - api.vfs.impl.local.FileWatcher - Change requests:212992, filtered:126086

Related

Show In File Explorer not working on Android Studio 3.6.3 on Linux

I'm using KDE Neon Linux Distro (based on Ubuntu).
When i right-click on a file in Project view the Show In Explorer menu is there (although the text is Show In Dolphin because i'm using Dolphin File Explorer). When I clicked it, file explorer loading indicator appeared but the file explorer never opened.
I've checked idea.log in /home/<username>/.AndroidStudio3.6/system/log/ but can't find anything about the file explorer.
Here is latest lines of the log. The entire file contains 39,000 lines.
ms
2020-05-06 17:02:21,947 [ 722495] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 121 ms
2020-05-06 17:03:35,512 [ 796060] INFO - rationStore.ComponentStoreImpl - Saving appEditorColorsManagerImpl took 15 ms
2020-05-06 17:03:35,586 [ 796134] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 37 ms
2020-05-06 17:03:35,587 [ 796135] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 143 ms
2020-05-06 17:04:50,155 [ 870703] INFO - tellij.openapi.util.IconLoader - replace '/vcs/patch.svg' with '/icons/vcs/patch.svg'
2020-05-06 17:04:50,182 [ 870730] INFO - tellij.openapi.util.IconLoader - replace '/vcs/Shelve.svg' with '/icons/vcs/Shelve.svg'
2020-05-06 17:05:02,460 [ 883008] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 20 ms
2020-05-06 17:05:53,897 [ 934445] INFO - tellij.openapi.util.IconLoader - replace '/modules/testRoot.svg' with '/icons/modules/testRoot.svg'
2020-05-06 17:06:09,811 [ 950359] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 24 ms
2020-05-06 17:06:09,834 [ 950382] INFO - rationStore.ComponentStoreImpl - Saving Module: 'app'FacetManager took 12 ms
2020-05-06 17:06:09,913 [ 950461] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 36 ms
2020-05-06 17:06:09,923 [ 950471] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 167 ms
2020-05-06 17:06:17,948 [ 958496] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKatalibraryTable took 23 ms
2020-05-06 17:06:29,987 [ 970535] INFO - tellij.openapi.util.IconLoader - replace '/modules/testResourcesRoot.svg' with '/icons/modules/testResourcesRoot.svg'
2020-05-06 17:06:29,992 [ 970540] INFO - tellij.openapi.util.IconLoader - replace '/modules/excludeRoot.svg' with '/icons/modules/excludeRoot.svg'
2020-05-06 17:06:41,563 [ 982111] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKataRunManager took 15 ms, libraryTable took 77 ms
2020-05-06 17:06:41,571 [ 982119] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 181 ms
2020-05-06 17:07:50,844 [1051392] INFO - tellij.openapi.util.IconLoader - replace '/general/copyHovered.svg' with '/icons/general/copyHovered.svg'
2020-05-06 17:07:52,725 [1053273] INFO - #git4idea.commands.GitHandler - [BukaKata] git /usr/bin/git -c credential.helper= -c core.quotepath=false -c log.showSignature=false rm --ignore-unmatch --cached -- .idea/render.experimental.xml
2020-05-06 17:07:55,404 [1055952] INFO - rationStore.ComponentStoreImpl - Saving appFindSettings took 29 ms
2020-05-06 17:07:55,501 [1056049] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/risal/AndroidStudioProjects/BukaKata' BukaKataRunManager took 27 ms, libraryTable took 31 ms
2020-05-06 17:07:55,501 [1056049] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 161 ms
I've found the solution, it's very simple
just add /home inside the PATH variable in your /etc/environment, then restart
before
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
after
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home"
Don't forget the : as separator

Why is gradle building never finished on Android Studio 1.5?

I have installed the Android Studio latest version 1.5. But I have never built even the hello world project, because the gradle, building for the project, is running forever.
These are the AS logs:
2016-03-08 15:14:24,355 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-03-08 15:14:24,867 [ 512] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-141.2178183, 19 Aug 2015 00:00)
2016-03-08 15:14:24,867 [ 512] INFO - #com.intellij.idea.Main - OS: Windows 7 (6.1, x86)
2016-03-08 15:14:24,867 [ 512] INFO - #com.intellij.idea.Main - JRE: 1.8.0_73-b02 (Oracle Corporation)
2016-03-08 15:14:24,867 [ 512] INFO - #com.intellij.idea.Main - JVM: 25.73-b02 (Java HotSpot(TM) Server VM)
2016-03-08 15:14:24,908 [ 553] INFO - #com.intellij.idea.Main - JVM Args: -Xms256m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=150m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Djna.nosys=true -Djna.boot.library.path= -Djna.debug_load=true -Djna.debug_load.jna=true -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Didea.paths.selector=AndroidStudio1.3 -Didea.platform.prefix=AndroidStudio -Djb.vmOptions=C:\Program Files\Android\Android Studio\bin\studio.exe.vmoptions -Xbootclasspath/a:C:\Program Files\Android\Android Studio\lib\boot.jar -Didea.jre.check=false
2016-03-08 15:14:25,511 [ 1156] INFO - #com.intellij.idea.Main - JNA library loaded (32-bit) in 603 ms
2016-03-08 15:14:25,546 [ 1191] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2016-03-08 15:14:25,574 [ 1219] INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2016-03-08 15:14:33,199 [ 8844] INFO - llij.ide.plugins.PluginManager - 28 plugins initialized in 1591 ms
2016-03-08 15:14:33,203 [ 8848] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android NDK Support (1.0), Android Support (10.1.3.2), CVS Integration (11), Copyright (8.1), Coverage, EditorConfig (1.0), Git Integration (8.1), GitHub, Google Cloud Testing (1.0), Google Cloud Tools For Android Studio (0.2.8), Google Login (1.0), Google Services (0.1), Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (0.1), JavaFX (1.0), Maven Integration, Properties Support, SDK Updater (1.0), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), hg4idea (10.0)
2016-03-08 15:14:38,075 [ 13720] INFO - ellij.concurrency.JobScheduler - 50 ms execution limit failed for: com.intellij.openapi.progress.impl.CoreProgressManager$1#6d52b; elapsed time was 55ms
2016-03-08 15:14:38,150 [ 13795] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=739246080
2016-03-08 15:14:38,412 [ 14057] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: C:\Program Files\Android\Android Studio\bin\fsnotifier.exe
2016-03-08 15:14:38,490 [ 14135] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2016-03-08 15:14:41,844 [ 17489] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2016-03-08 15:14:44,532 [ 20177] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63343
2016-03-08 15:14:51,798 [ 27443] INFO - TestNG Runner - Create TestNG Template Configuration
2016-03-08 15:14:52,545 [ 28190] INFO - ellij.project.impl.ProjectImpl - 21 project components initialized in 4439 ms
2016-03-08 15:14:52,545 [ 28190] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2016-03-08 15:15:03,549 [ 39194] INFO - pl.stores.ApplicationStoreImpl - 88 application components initialized in 30087 ms
2016-03-08 15:15:04,818 [ 40463] INFO - .intellij.idea.IdeaApplication - App initialization took 44843 ms
2016-03-08 15:15:15,861 [ 51506] INFO - TestNG Runner - Create TestNG Template Configuration
2016-03-08 15:15:18,193 [ 53838] INFO - ellij.project.impl.ProjectImpl - 142 project components initialized in 6884 ms
2016-03-08 15:15:19,046 [ 54691] INFO - le.impl.ModuleManagerComponent - 2 module(s) loaded in 853 ms
2016-03-08 15:15:30,622 [ 66267] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 8454 ms
2016-03-08 15:15:31,511 [ 67156] INFO - #com.jetbrains.cidr.lang - Clearing symbols finished in 0 s.
2016-03-08 15:15:31,613 [ 67258] INFO - #com.jetbrains.cidr.lang - Loading symbols finished in 0 s.
2016-03-08 15:15:31,721 [ 67366] INFO - #com.jetbrains.cidr.lang - Building symbols finished in 0 s.
2016-03-08 15:15:31,806 [ 67451] INFO - #com.jetbrains.cidr.lang - Saving symbols finished in 0 s.
2016-03-08 15:15:38,983 [ 74628] INFO - ls.idea.gradle.GradleSyncState - Started sync with Gradle for project 'Hello'.
2016-03-08 15:15:42,082 [ 77727] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/Program Files/Java/jdk1.8.0_40
2016-03-08 15:15:42,170 [ 77815] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/Program Files/Java/jdk1.8.0_40
2016-03-08 15:15:42,798 [ 78443] INFO - util.EmbeddedDistributionPaths - Looking for embedded Maven repo at 'C:\Program Files\Android\Android Studio\gradle\m2repository'
2016-03-08 15:15:44,554 [ 80199] INFO - .project.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [-Pandroid.injected.build.model.only=true, -Pandroid.injected.build.model.only.advanced=true, -Pandroid.injected.invoked.from.ide=true, --init-script, C:\Users\Administrator\AppData\Local\Temp\asLocalRepo53.gradle, --init-script, C:\Users\Administrator\AppData\Local\Temp\ijinit31.gradle]
2016-03-08 15:16:03,871 [ 99516] INFO - tartup.impl.StartupManagerImpl - D:\Project\Hello\.idea\misc.xml case-sensitivity: false
2016-03-08 15:16:09,525 [ 105170] INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min)
2016-03-08 15:16:10,723 [ 106368] INFO - CompilerWorkspaceConfiguration - Available processors: 4
2016-03-08 15:16:11,201 [ 106846] INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestCompatibleScreens
2016-03-08 15:16:11,201 [ 106846] INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestSupportsInput
2016-03-08 15:16:17,403 [ 113048] INFO - tor.impl.FileEditorManagerImpl - Project opening took 66279 ms
2016-03-08 15:16:19,021 [ 114666] INFO - nject.config.XPathSupportProxy - XPath Support is not available
2016-03-08 15:19:48,535 [ 324180] INFO - on.console.RunIdeConsoleAction - Loading javax.script.* engines...
2016-03-08 15:19:49,052 [ 324697] INFO - on.console.RunIdeConsoleAction - org.codehaus.groovy.jsr223.GroovyScriptEngineFactory: *.groovy: Groovy/2.3.9 (Groovy Scripting Engine/2.0)
2016-03-08 15:20:29,379 [ 365024] WARN - options.ex.ConfigurableWrapper - XML does not provide id for class com.android.tools.idea.run.CloudTestingConfigurable
2016-03-08 15:20:30,007 [ 365652] WARN - ConfigurableExtensionPointUtil - Can't find parent for project.propCompiler (Compiler)
2016-03-08 15:25:18,774 [ 654419] WARN - options.ex.ConfigurableWrapper - XML does not provide id for class com.android.tools.idea.run.CloudTestingConfigurable
2016-03-08 15:25:18,782 [ 654427] WARN - ConfigurableExtensionPointUtil - Can't find parent for project.propCompiler (Compiler)
2016-03-08 15:28:49,224 [ 864869] INFO - tools.idea.ddms.adb.AdbService - Initializing adb using: C:\Users\Administrator\AppData\Local\Android\sdk\platform-tools\adb.exe, client support = true
2016-03-08 15:28:54,211 [ 869856] INFO - tools.idea.ddms.adb.AdbService - Successfully connected to adb
2016-03-08 15:28:54,213 [ 869858] INFO - nitor.AndroidToolWindowFactory - Successfully obtained debug bridge
2016-03-08 15:29:04,093 [ 879738] INFO - android.run.AndroidDebugRunner - device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
com.android.ddmlib.AdbCommandRejectedException: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:855)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:458)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:388)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:357)
at com.android.ddmlib.Device.executeShellCommand(Device.java:568)
at org.jetbrains.android.util.AndroidUtils.executeCommandOnDevice(AndroidUtils.java:396)
at org.jetbrains.android.logcat.AndroidLogcatUtil.startLogging(AndroidLogcatUtil.java:67)
at org.jetbrains.android.logcat.AndroidLogcatUtil.access$100(AndroidLogcatUtil.java:46)
at org.jetbrains.android.logcat.AndroidLogcatUtil$4.run(AndroidLogcatUtil.java:132)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
2016-03-08 15:29:58,949 [ 934594] INFO - openapi.editor.impl.EditorImpl - Cache hits:4096, total requests:4317,null

Titan error when one of the connected Cassandra nodes comes down

We have Titan setup with Cassandra as it's storage.backend. We have a cluster of 3 Cassandra nodes. We are seeing the following error when one of the Cassandra nodes fail/shutdown.
This is the error that gets logged. Any help on this will be really appreciated.
INFO CountingConnectionPoolMonitor:194 - AddHost: 10.76.54.7
ERROR ConnectionPoolMBeanManager:74 - com.netflix.MonitoredResources:type=ASTYANAX,name=KeyspaceTitanConnectionPool,ServiceType=connectionpool
ERROR ConnectionPoolMBeanManager:74 - com.netflix.MonitoredResources:type=ASTYANAX,name=ClusterTitanConnectionPool,ServiceType=connectionpool
INFO GraphDatabaseConfiguration:1518 - Generated unique-instance-id=3217005b14357-titan-m21e
INFO ConnectionPoolMBeanManager:53 - Registering mbean: com.netflix.MonitoredResources:type=ASTYANAX,name=ClusterTitanConnectionPool,ServiceType=connectionpool
INFO CountingConnectionPoolMonitor:194 - AddHost: 10.76.54.44
INFO CountingConnectionPoolMonitor:194 - AddHost: 10.76.54.57
INFO CountingConnectionPoolMonitor:194 - AddHost: 10.76.54.7
INFO ConnectionPoolMBeanManager:53 - Registering mbean: com.netflix.MonitoredResources:type=ASTYANAX,name=KeyspaceTitanConnectionPool,ServiceType=connectionpool
INFO CountingConnectionPoolMonitor:194 - AddHost: 10.76.54.44
INFO CountingConnectionPoolMonitor:194 - AddHost: 10.76.54.57
INFO CountingConnectionPoolMonitor:194 - AddHost: 10.76.54.7
INFO Backend:459 - Configuring index [search]
INFO plugins:151 - [Donald Ritter] loaded [], sites []
INFO ElasticSearchIndex:354 - Configured remote host: 10.76.54.15 : 9300
INFO ElasticSearchIndex:354 - Configured remote host: 10.76.54.24 : 9300
INFO ElasticSearchIndex:354 - Configured remote host: 10.77.170.171 : 9300
INFO Backend:176 - Initiated backend operations thread pool of size 16
INFO KCVSLog:730 - Loaded unidentified ReadMarker start time 2016-02-16T23:45:27.539Z into com.thinkaurelius.titan.diskstorage.log.kcvs.KCVSLog$MessagePuller#49f59d47

How to execute gremlin query with mogwai

Im trying to query a titan db 0.5.4 via mogwai, but when I run the following script i get the error: rexpro.exceptions.RexProScriptException: transaction is not open
and I found the same question here
P.S there is no tag for mogwai
script:
#!/usr/bin/env python3
from mogwai.connection import execute_query, setup
con = setup('127.0.0.1', graph_name="bio4j", username="re", password="re")
results = execute_query("2 * a",params={"a":2}, connection= con)
print(results)
results = execute_query("bio4j.E",params={}, connection= con)
print(results)
log:
$ ./bin/rexster.sh --start
0 [main] INFO com.tinkerpop.rexster.Application - .:Welcome to Rexster:.
93 [main] INFO com.tinkerpop.rexster.server.RexsterProperties - Using [/Users/Phoenix/Dropbox/Graph4Bio/Titan/rexhome/config/rexster.xml] as configuration source.
102 [main] INFO com.tinkerpop.rexster.Application - Rexster is watching [/Users/Phoenix/Dropbox/Graph4Bio/Titan/rexhome/config/rexster.xml] for change.
730 [main] INFO com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration - Generated unique-instance-id=0a69045d1736-AngryMac-local1
804 [main] INFO com.thinkaurelius.titan.diskstorage.Backend - Initiated backend operations thread pool of size 8
905 [main] INFO com.thinkaurelius.titan.diskstorage.log.kcvs.KCVSLog - Loaded unidentified ReadMarker start time Timepoint[1455128079919000 μs] into com.thinkaurelius.titan.diskstorage.log.kcvs.KCVSLog$MessagePuller#302c971f
908 [main] INFO com.tinkerpop.rexster.RexsterApplicationGraph - Graph [bio4j] - configured with allowable namespace [tp:gremlin]
932 [main] INFO com.tinkerpop.rexster.config.GraphConfigurationContainer - Graph bio4j - titangraph[berkeleyje:/Users/Phoenix/Dropbox/Graph4Bio/Bio4j/bio4j] loaded
939 [main] INFO com.tinkerpop.rexster.server.metrics.HttpReporterConfig - Configured HTTP Metric Reporter.
941 [main] INFO com.tinkerpop.rexster.server.metrics.ConsoleReporterConfig - Configured Console Metric Reporter.
2058 [main] INFO com.tinkerpop.rexster.server.HttpRexsterServer - HTTP/REST thread pool configuration: kernal[4 / 4] worker[8 / 8]
2060 [main] INFO com.tinkerpop.rexster.server.HttpRexsterServer - Using org.glassfish.grizzly.strategies.LeaderFollowerNIOStrategy IOStrategy for HTTP/REST.
2160 [main] INFO com.tinkerpop.rexster.server.HttpRexsterServer - Rexster Server running on: [http://localhost:8182]
2160 [main] INFO com.tinkerpop.rexster.server.RexProRexsterServer - Using org.glassfish.grizzly.strategies.LeaderFollowerNIOStrategy IOStrategy for RexPro.
2160 [main] INFO com.tinkerpop.rexster.server.RexProRexsterServer - RexPro thread pool configuration: kernal[4 / 4] worker[8 / 8]
2162 [main] INFO com.tinkerpop.rexster.server.RexProRexsterServer - Rexster configured with [DefaultSecurity].
2163 [main] INFO com.tinkerpop.rexster.server.RexProRexsterServer - RexPro Server bound to [0.0.0.0:8184]
2177 [main] INFO com.tinkerpop.rexster.server.ShutdownManager - Bound shutdown socket to /127.0.0.1:8183. Starting listener thread for shutdown requests.
152568 [Grizzly(2) SelectorRunner] INFO com.tinkerpop.rexster.protocol.EngineController - ScriptEngineManager has factory for: ECMAScript
152568 [Grizzly(2) SelectorRunner] INFO com.tinkerpop.rexster.protocol.EngineController - ScriptEngineManager has factory for: gremlin-groovy
152568 [Grizzly(2) SelectorRunner] INFO com.tinkerpop.rexster.protocol.EngineController - Registered ScriptEngine for: gremlin-groovy
152569 [Grizzly(2) SelectorRunner] INFO com.tinkerpop.rexster.protocol.EngineHolder - Initializing gremlin-groovy engine with additional imports.
153259 [Grizzly(2) SelectorRunner] INFO com.tinkerpop.rexster.protocol.EngineHolder - ScriptEngine initializing with a custom script
154074 [Grizzly(2) SelectorRunner] INFO com.tinkerpop.rexster.protocol.EngineController - ScriptEngineManager has factory for: Groovy
154076 [Grizzly(2) SelectorRunner] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - RexPro Session created: a2b416ce-75ea-4ecb-9835-b287162c90cb
154354 [Grizzly(4)] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - Try to destroy RexPro Session: a2b416ce-75ea-4ecb-9835-b287162c90cb
154355 [Grizzly(4)] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - RexPro Session destroyed or doesn't otherwise exist: a2b416ce-75ea-4ecb-9835-b287162c90cb
154356 [Grizzly(5)] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - RexPro Session created: 5b8a669f-615d-4f84-9d1e-2d10624347f0
154525 [Grizzly(7)] WARN com.tinkerpop.rexster.protocol.server.ScriptServer - Could not process script [bio4j.E] for language [groovy] on session [[B#6634722f] and request [[B#68f38099]
154527 [Grizzly(8)] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - Try to destroy RexPro Session: 5b8a669f-615d-4f84-9d1e-2d10624347f0
154527 [Grizzly(8)] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - RexPro Session destroyed or doesn't otherwise exist: 5b8a669f-615d-4f84-9d1e-2d10624347f0
154529 [Grizzly(1)] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - Try to destroy RexPro Session: 00000000-0000-0000-0000-000000000000
154529 [Grizzly(1)] INFO com.tinkerpop.rexster.protocol.session.RexProSessions - RexPro Session destroyed or doesn't otherwise exist: 00000000-0000-0000-0000-000000000000
Maintainer of mogwai here.
What version of mogwai are you using? in 0.7.7 there is no return value for setup method and the connection object should not be passed around. In fact when you call setup it creates a connection pool (a synchronous rexpro connection pool since there was no concurrency option specified). So in general, just call setup once for the life of your app and you can use execute query without any references.
Also this message in particular stands out:
154525 [Grizzly(7)] WARN com.tinkerpop.rexster.protocol.server.ScriptServer - Could not process script [bio4j.E] for language [groovy] on session [[B#6634722f] and request [[B#68f38099]
Is your graph configured with a graph name of "bio4j"? The default titan graph name is "graph" and the default graph object name mogwai uses is "g". If you have a graph name of "bio4j" you wouldn't reference this directly, you'd use the graph object name associated to the transaction. You can think of a graph-name as a database name in a SQL database, and the graph object being the transactional reference to said database. This is configured in the xml configuration file when starting titan. Particularly:
<graphs>
<graph>
<graph-name>graph</graph-name>
....
</graph>
</graphs>
So assuming you changed that from "graph" to "bio4j" and left the default graph_obj_name in the setup function as "g", then your query should read "g.E".

Intellij Idea 14 on Arch Linux opening to grey screen

I am trying to run Intellij Idea 14 on my Macbook which I have loaded with Arch Linux. I have installed both Idea and the Oracle JDK8 installed from AUR.
When I run idea.sh, the splashscreen shows up and after it finishes loading it opens to this screen.
Here is idea.log:
2015-10-29 17:02:33,298 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2015-10-29 17:02:33,312 [ 14] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-141.2735.5, 22 Sep 2015 00:00)
2015-10-29 17:02:33,312 [ 14] INFO - #com.intellij.idea.Main - OS: Linux (4.2.3-1-arch, amd64)
2015-10-29 17:02:33,312 [ 14] INFO - #com.intellij.idea.Main - JRE: 1.8.0_66-b17 (Oracle Corporation)
2015-10-29 17:02:33,312 [ 14] INFO - #com.intellij.idea.Main - JVM: 25.66-b17 (Java HotSpot(TM) 64-Bit Server VM)
2015-10-29 17:02:33,314 [ 16] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:./../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=225m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Dawt.useSystemAAFontSettings=on -Djb.vmOptionsFile=./idea64.vmoptions -XX:ErrorFile=/home/noah/java_error_in_IDEA_%p.log -Djb.restart.code=88 -Didea.paths.selector=IdeaIC14 -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
2015-10-29 17:02:33,341 [ 43] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 27 ms
2015-10-29 17:02:33,424 [ 126] INFO - .intellij.idea.IdeaApplication - WM detected: bspwm
2015-10-29 17:02:34,174 [ 876] INFO - llij.ide.plugins.PluginManager - 29 plugins initialized in 612 ms
2015-10-29 17:02:34,174 [ 876] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.1.0), Ant Support (1.0), Bytecode Viewer (0.1), CVS Integration (11), Copyright (8.1), Coverage, Eclipse Integration (3.0), EditorConfig (1.0), Git Integration (8.1), GitHub, Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (0.1), JavaFX (1.0), Maven Integration, Plugin DevKit (1.0), Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), UI Designer, XPathView + XSLT Support (4), XSLT-Debugger (1.4), hg4idea (10.0)
2015-10-29 17:02:34,790 [ 1492] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=739246080
2015-10-29 17:02:34,814 [ 1516] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /usr/share/intellijidea-ce/bin/fsnotifier64
2015-10-29 17:02:34,822 [ 1524] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2015-10-29 17:02:35,539 [ 2241] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2015-10-29 17:02:35,977 [ 2679] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2015-10-29 17:02:36,557 [ 3259] INFO - TestNG Runner - Create TestNG Template Configuration
2015-10-29 17:02:36,622 [ 3324] INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 409 ms
2015-10-29 17:02:36,622 [ 3324] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2015-10-29 17:02:36,865 [ 3567] INFO - pl.stores.ApplicationStoreImpl - 83 application components initialized in 2621 ms
2015-10-29 17:02:36,870 [ 3572] INFO - .intellij.idea.IdeaApplication - App initialization took 4204 ms
2015-10-29 17:06:05,892 [ 212594] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2015-10-29 17:06:05,893 [ 212595] INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 0 auto-detected files
Elapsed time on auto-detect: 0 ms
2015-10-29 17:06:05,907 [ 212609] INFO - dea.ddms.adb.AdbService$Ddmlib - DDMLib terminated
2015-10-29 17:06:05,907 [ 212609] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2015-10-29 17:06:05,927 [ 212629] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2015-10-29 17:06:05,927 [ 212629] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2015-10-29 17:06:05,927 [ 212629] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2015-10-29 17:06:06,002 [ 212704] WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0
2015-10-29 17:06:06,003 [ 212705] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2015-10-29 17:06:06,003 [ 212705] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2015-10-29 17:06:06,007 [ 212709] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
Any help would be greatly appreciated.
This is most likely due to your window manager, bspwm. If you set the following environment variable before starting IntelliJ, it should work.
_JAVA_AWT_WM_NONREPARENTING=1
As #thomas pointed out, the missing environment variable is causing this issue
Here're the steps to do that.
Copy this -> _JAVA_AWT_WM_NONREPARENTING=1
If you have nano installed:
Run sudo nano /etc/environment on terminal and enter the password if prompted
Scroll to the bottom
Paste by pressing Shift + Insert
Save by pressing Ctrl + O and confirm the path with Enter
Quit by pressing Ctrl + X
If you have vim installed:
Run sudo vim /etc/environment on terminal and enter the password if prompted
Scroll to the bottom
Enter insert mode by pressing i
Paste by pressing Shift + Insert
Exit the insert mode by pressing Esc
Save and exit by typing :wq and Enter
The error should be resolved. This is apparently documented along with Android Studio on the wiki

Resources