Configuring OpenTelemetry Collector to Export Zipkin traces - zipkin

I'm attempting to configure the open telemetry collector in Kubernetes. I took the jaeger all in one deployment which is here: https://www.jaegertracing.io/docs/1.22/opentelemetry/ and ported it to kubernete running on my minikube.
The problem is I can't seem to get the open telemetry collector to receive the jaeger traces and send it to my proxy container. My jaeger all in one app seems to be working in my minikube instance. Traces are being sent through the hot rap app and I can view the traces in the jaeger UI.
My open telemetry collector looks like the following:
receivers:
jaeger:
protocols:
grpc:
endpoint: 0.0.0.0:14250
thrift_compact:
endpoint: 0.0.0.0:6831
thrift_http:
endpoint: 0.0.0.0:14268
logging:
loglevel: debug
exporters:
zipkin:
endpoint: "http://proxy.collector-agent.svc.cluster.local:80/v1/observations/api/v2/spans"
insecure: true
logging:
loglevel: debug
processors:
batch:
extensions:
health_check:
pprof:
endpoint: :1888
zpages:
endpoint: :55679
service:
extensions: [pprof, zpages, health_check]
pipelines:
traces:
receivers: [jaeger]
processors: [batch]
exporters: [zipkin]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging]
It doesn't seem that the open-tel collector is even receiving the jaeger traces. The logs from the container are below..
dev-MacBook-Pro otel-agent % kubectl logs otel-collector-6c4db7687c-h9pm9
2021-03-10T16:53:39.394Z info service/service.go:411 Starting OpenTelemetry Collector... {"Version": "v0.22.0-7-gc8bc12e3", "GitHash": "c8bc12e3", "NumCPU": 2}
2021-03-10T16:53:39.404Z info service/service.go:593 Using memory ballast {"MiBs": 683}
2021-03-10T16:53:39.404Z info service/service.go:255 Setting up own telemetry...
2021-03-10T16:53:39.406Z info service/telemetry.go:102 Serving Prometheus metrics {"address": ":8888", "level": 0, "service.instance.id": "85884852-3e34-4b13-b24e-03d7e9f49868"}
2021-03-10T16:53:39.406Z info service/service.go:292 Loading configuration...
2021-03-10T16:53:39.409Z info service/service.go:303 Applying configuration...
2021-03-10T16:53:39.409Z info service/service.go:324 Starting extensions...
2021-03-10T16:53:39.409Z info builder/extensions_builder.go:53 Extension is starting... {"component_kind": "extension", "component_type": "health_check", "component_name": "health_check"}
2021-03-10T16:53:39.409Z info healthcheckextension/healthcheckextension.go:40 Starting health_check extension {"component_kind": "extension", "component_type": "health_check", "component_name": "health_check", "config": {"TypeVal":"health_check","NameVal":"health_check","Port":13133}}
2021-03-10T16:53:39.410Z info builder/extensions_builder.go:59 Extension started. {"component_kind": "extension", "component_type": "health_check", "component_name": "health_check"}
2021-03-10T16:53:39.410Z info builder/extensions_builder.go:53 Extension is starting... {"component_kind": "extension", "component_type": "zpages", "component_name": "zpages"}
2021-03-10T16:53:39.410Z info zpagesextension/zpagesextension.go:42 Register Host's zPages {"component_kind": "extension", "component_type": "zpages", "component_name": "zpages"}
2021-03-10T16:53:39.413Z info zpagesextension/zpagesextension.go:55 Starting zPages extension {"component_kind": "extension", "component_type": "zpages", "component_name": "zpages", "config": {"TypeVal":"zpages","NameVal":"zpages","Endpoint":"localhost:55679"}}
2021-03-10T16:53:39.413Z info builder/extensions_builder.go:59 Extension started. {"component_kind": "extension", "component_type": "zpages", "component_name": "zpages"}
2021-03-10T16:53:39.414Z info builder/exporters_builder.go:302 Exporter is enabled. {"component_kind": "exporter", "exporter": "zipkin"}
2021-03-10T16:53:39.414Z info service/service.go:339 Starting exporters...
2021-03-10T16:53:39.414Z info builder/exporters_builder.go:92 Exporter is starting... {"component_kind": "exporter", "component_type": "zipkin", "component_name": "zipkin"}
2021-03-10T16:53:39.414Z info builder/exporters_builder.go:97 Exporter started. {"component_kind": "exporter", "component_type": "zipkin", "component_name": "zipkin"}
2021-03-10T16:53:39.414Z info memorylimiter/memorylimiter.go:108 Memory limiter configured {"component_kind": "processor", "component_type": "memory_limiter", "component_name": "memory_limiter", "limit_mib": 1572864000, "spike_limit_mib": 536870912, "check_interval": 5}
2021-03-10T16:53:39.414Z info builder/pipelines_builder.go:203 Pipeline is enabled. {"pipeline_name": "traces/1", "pipeline_datatype": "traces"}
2021-03-10T16:53:39.414Z info service/service.go:352 Starting processors...
2021-03-10T16:53:39.414Z info builder/pipelines_builder.go:51 Pipeline is starting... {"pipeline_name": "traces/1", "pipeline_datatype": "traces"}
2021-03-10T16:53:39.414Z info builder/pipelines_builder.go:61 Pipeline is started. {"pipeline_name": "traces/1", "pipeline_datatype": "traces"}
2021-03-10T16:53:39.414Z info builder/receivers_builder.go:230 Receiver is enabled. {"component_kind": "receiver", "component_type": "jaeger", "component_name": "jaeger", "datatype": "traces"}
2021-03-10T16:53:39.414Z info builder/receivers_builder.go:105 Ignoring receiver as it is not used by any pipeline {"component_kind": "receiver", "component_type": "zipkin", "component_name": "zipkin", "receiver": "zipkin"}
2021-03-10T16:53:39.414Z info service/service.go:364 Starting receivers...
2021-03-10T16:53:39.414Z info builder/receivers_builder.go:70 Receiver is starting... {"component_kind": "receiver", "component_type": "jaeger", "component_name": "jaeger"}
2021-03-10T16:53:39.415Z info static/strategy_store.go:201 No sampling strategies provided or URL is unavailable, using defaults {"component_kind": "receiver", "component_type": "jaeger", "component_name": "jaeger"}
2021-03-10T16:53:39.415Z info builder/receivers_builder.go:75 Receiver started. {"component_kind": "receiver", "component_type": "jaeger", "component_name": "jaeger"}
2021-03-10T16:53:39.415Z info healthcheck/handler.go:128 Health Check state change {"component_kind": "extension", "component_type": "health_check", "component_name": "health_check", "status": "ready"}
2021-03-10T16:53:39.415Z info service/service.go:267 Everything is ready. Begin running and processing data.
Even when I send a ton of jaeger traces nothing ever seems to be received by the collector. Is there a way to debug further or a configuration I'm missing? Any help would be greatly appreciated.

Related

Octodns can't add new zones to powerdns running with mysql backend

I'm running powerdns with mysql backend.
However, when I try to add new zones using octodns it fails with below error. Ideally octodns should create zone's entry in the database and also create a SOA record for it.
Can anyone help pls?
$ octodns-sync --config=./config/dev.yaml --debug --doit
2019-12-17T06:53:45 [140647765260032] INFO Manager init: config_file=./config/dev.yaml
2019-12-17T06:53:45 [140647765260032] INFO Manager init: max_workers=1
2019-12-17T06:53:45 [140647765260032] INFO Manager init: max_workers=False
2019-12-17T06:53:45 [140647765260032] DEBUG Manager init: configuring providers
2019-12-17T06:53:45 [140647765260032] DEBUG PowerDnsProvider[powerdns] init: id=powerdns, host=localhost, port=8081, nameserver_values=None, nameserver_ttl=600
2019-12-17T06:53:45 [140647765260032] DEBUG PowerDnsProvider[powerdns] init: id=powerdns, apply_disabled=False, update_pcent_threshold=0.30, delete_pcent_threshold=0.30
2019-12-17T06:53:45 [140647765260032] DEBUG YamlProvider[config] init: id=config, directory=./config, default_ttl=3600, enforce_order=1
2019-12-17T06:53:45 [140647765260032] DEBUG YamlProvider[config] init: id=config, apply_disabled=False, update_pcent_threshold=0.30, delete_pcent_threshold=0.30
2019-12-17T06:53:45 [140647765260032] INFO Manager sync: eligible_zones=[], eligible_targets=[], dry_run=False, force=False
2019-12-17T06:53:45 [140647765260032] INFO Manager sync: zone=example.com.
2019-12-17T06:53:45 [140647765260032] INFO Manager sync: sources=['config'] -> targets=['powerdns']
2019-12-17T06:53:45 [140647765260032] DEBUG Manager sync: populating, zone=example.com.
2019-12-17T06:53:45 [140647765260032] DEBUG Manager configured_sub_zones: subs=dict_keys([])
2019-12-17T06:53:45 [140647765260032] DEBUG Zone init: zone=Zone<example.com.>, sub_zones=set()
2019-12-17T06:53:45 [140647765260032] DEBUG YamlProvider[config] populate: name=example.com., target=False, lenient=False
2019-12-17T06:53:45 [140647765260032] DEBUG Record init: zone.name=example.com., type= ARecord, name=
2019-12-17T06:53:45 [140647765260032] DEBUG YamlProvider[config] _populate_from_file: successfully loaded "./config/example.com.yaml"
2019-12-17T06:53:45 [140647765260032] INFO YamlProvider[config] populate: found 1 records, exists=False
2019-12-17T06:53:45 [140647765260032] DEBUG Manager sync: planning, zone=example.com.
2019-12-17T06:53:45 [140647765260032] INFO PowerDnsProvider[powerdns] plan: desired=example.com.
2019-12-17T06:53:45 [140647765260032] DEBUG Zone init: zone=Zone<example.com.>, sub_zones=set()
2019-12-17T06:53:45 [140647765260032] DEBUG PowerDnsProvider[powerdns] populate: name=example.com., target=True, lenient=True
2019-12-17T06:53:45 [140647765260032] DEBUG PowerDnsProvider[powerdns] _request: method=GET, path=zones/example.com.
2019-12-17T06:53:45 [140647765260032] DEBUG urllib3.connectionpool Starting new HTTP connection (1): localhost:8081
2019-12-17T06:53:45 [140647765260032] DEBUG urllib3.connectionpool http://localhost:8081 "GET /api/v1/servers/localhost/zones/example.com. HTTP/1.1" 404 9
2019-12-17T06:53:45 [140647765260032] DEBUG PowerDnsProvider[powerdns] _request: status=404
Traceback (most recent call last):
File "/home/sam/dns/env/bin/octodns-sync", line 8, in
sys.exit(main())
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/cmds/sync.py", line 39, in main
dry_run=not args.doit, force=args.force)
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/manager.py", line 315, in sync
plans = [p for f in futures for p in f.result()]
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/manager.py", line 315, in
plans = [p for f in futures for p in f.result()]
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/manager.py", line 56, in result
return self.func(*self.args, **self.kwargs)
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/manager.py", line 243, in _populate_and_plan
plan = target.plan(zone)
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/provider/base.py", line 51, in plan
exists = self.populate(existing, target=True, lenient=True)
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/provider/powerdns.py", line 174, in populate
resp = self._get('zones/{}'.format(zone.name))
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/provider/powerdns.py", line 46, in _get
return self._request('GET', path, data=data)
File "/home/sam/dns/env/lib/python3.5/site-packages/octodns/provider/powerdns.py", line 42, in _request
resp.raise_for_status()
File "/home/sam/dns/env/lib/python3.5/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://localhost:8081/api/v1/servers/localhost/zones/example.com.
I guess you're using powerdns 4.2+ with old octodns. The behavior has been changed.
It used to return 402 for non-existing zones, but it returns 404 now.
octodns fixed this 6 months ago, this might be fixed in 0.9.11.
If not, you can follow this code in master and patch them into the same file.
https://github.com/github/octodns/blame/master/octodns/provider/powerdns.py#L224

NPM test issue in VSTS

I have one private build agent in VSTS which I configured back in March this year, now I wanted to deploy a second one, but I'm having issue with NPM test task on the new build agent. It's using the same Agents package published by Microsoft, so I don't believe the issue should be there. I have install the same version of Node.js (6.10.1) and the same NPM version (5.10.10) on both agents, but the new one has issue where the task npm test executes in the build definition, but does not produce any result and neither is anything shown in the VSTS log files/console, it just hangs until timeout period is reached (80 minutes), or until I cancel it manually. When I run it locally on the agent it works perfectly fine, I also tried running it in the pipeline via the CMD task, not the NPM and it also works, so I know there is no issue with the server/connectivity/etc.
If someone experienced a similar issue, I would really welcome some insights into this problem, because as I've mentioned, same pipeline works on the first agent, so the configuration of the tasks, pipeline, code/folder structure cannot be the issue here.
Log file from the VSTS agent follows, manual cancel at the end after 7 minutes,
because normally it takes around 20 seconds (XXXXX is the path to project):
[2017-11-27 14:24:29Z INFO StepsRunner] Processing step: DisplayName='Execute React Unit Tests', ContinueOnError=False, Enabled=True
[2017-11-27 14:24:29Z INFO ExpressionManager] Evaluating: succeeded()
[2017-11-27 14:24:29Z INFO ExpressionManager] Expanded: True
[2017-11-27 14:24:29Z INFO ExpressionManager] Result: True
[2017-11-27 14:24:29Z INFO StepsRunner] Starting the step.
[2017-11-27 14:24:29Z INFO TaskManager] Loading task definition 'C:\VSTSAgent\_work\_tasks\Npm_fe47e961-9fa8-4106-8639-368c022d43ad\1.0.8\task.json'.
[2017-11-27 14:24:29Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Worker.IJobExtension'
[2017-11-27 14:24:29Z INFO BuildJobExtension] Build JobExtension resolving path use source provide: XXXXX
[2017-11-27 14:24:29Z INFO BuildJobExtension] The Default Path Root of Build JobExtension is build.sourcesDirectory: C:\VSTSAgent\_work\7\s
[2017-11-27 14:24:29Z INFO BuildJobExtension] After prefix Default Path Root provide by JobExtension: C:\VSTSAgent\_work\7\s\XXXXX
[2017-11-27 14:24:29Z INFO BuildJobExtension] Return absolute path after prefix DefaultPathRoot: C:\VSTSAgent\_work\7\s\XXXXX
[2017-11-27 14:24:29Z INFO TaskRunner] Build JobExtension resolved a rooted path:: C:\VSTSAgent\_work\7\s\XXXXX
[2017-11-27 14:24:29Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Worker.IJobExtension'
[2017-11-27 14:24:29Z INFO BuildJobExtension] Build JobExtension resolving path use source provide:
[2017-11-27 14:24:29Z INFO BuildJobExtension] The Default Path Root of Build JobExtension is build.sourcesDirectory: C:\VSTSAgent\_work\7\s
[2017-11-27 14:24:29Z INFO BuildJobExtension] After prefix Default Path Root provide by JobExtension: C:\VSTSAgent\_work\7\s
[2017-11-27 14:24:29Z INFO BuildJobExtension] Return absolute path after prefix DefaultPathRoot: C:\VSTSAgent\_work\7\s
[2017-11-27 14:24:29Z INFO TaskRunner] Build JobExtension resolved a rooted path:: C:\VSTSAgent\_work\7\s
[2017-11-27 14:24:29Z INFO NodeHandler] Inspect node_modules folder, make sure vsts-task-lib doesn't overwrite String.startsWith/endsWith.
[2017-11-27 14:24:29Z INFO NodeHandler] This task has already been scanned and corrected, no more operation needed.
[2017-11-27 14:24:29Z INFO HostContext] Well known directory 'Bin': 'C:\VSTSAgent\bin'
[2017-11-27 14:24:29Z INFO HostContext] Well known directory 'Root': 'C:\VSTSAgent'
[2017-11-27 14:24:29Z INFO HostContext] Well known directory 'Externals': 'C:\VSTSAgent\externals'
[2017-11-27 14:24:29Z INFO ProcessInvoker] Starting process:
[2017-11-27 14:24:29Z INFO ProcessInvoker] File name: 'C:\VSTSAgent\externals\node\bin\node.exe'
[2017-11-27 14:24:29Z INFO ProcessInvoker] Arguments: '"C:\VSTSAgent\_work\_tasks\Npm_fe47e961-9fa8-4106-8639-368c022d43ad\1.0.8\npm.js"'
[2017-11-27 14:24:29Z INFO ProcessInvoker] Working directory: 'C:\VSTSAgent\_work\7\s'
[2017-11-27 14:24:29Z INFO ProcessInvoker] Require exit code zero: 'True'
[2017-11-27 14:24:29Z INFO ProcessInvoker] Encoding web name: utf-8 ; code page: '65001'
[2017-11-27 14:24:29Z INFO ProcessInvoker] Force kill process on cancellation: 'False'
[2017-11-27 14:24:29Z INFO ProcessInvoker] Process started with process id 4124, waiting for process exit.
[2017-11-27 14:24:29Z INFO JobServerQueue] Try to append 1 batches web console lines, success rate: 1/1.
[2017-11-27 14:24:30Z INFO JobServerQueue] Try to upload 1 log files or attachments, success rate: 1/1.
[2017-11-27 14:24:32Z INFO JobServerQueue] Try to append 1 batches web console lines, success rate: 1/1.
[2017-11-27 14:24:33Z INFO JobServerQueue] Try to append 1 batches web console lines, success rate: 1/1.
[2017-11-27 14:24:34Z INFO JobServerQueue] Try to append 1 batches web console lines, success rate: 1/1.
[2017-11-27 14:24:34Z INFO JobServerQueue] Try to append 1 batches web console lines, success rate: 1/1.
[2017-11-27 14:31:34Z INFO Worker] Cancellation/Shutdown message received.

Jhipster Gatway app logs show "Config Server: Not found or not setup for this application"

This issue should have been fixed long back as per this
Github ticket
Why Am i still seeing this in logs.
Config Server: Not found or not setup for this application
2017-10-30 15:03:53.740 INFO 24700 --- [ main] foo.bar.id.gateway.GatewayApp :
----------------------------------------------------------
Application 'Gateway' is running! Access URLs:
Local: http://localhost:8180
External: http://ipadddress:8180
Profile(s): [swagger, dev]
----------------------------------------------------------
2017-10-30 15:03:53.740 INFO 24700 --- [ main] foo.bar.id.gateway.GatewayApp :
----------------------------------------------------------
Config Server: Not found or not setup for this application
----------------------------------------------------------
2017-10-30 15:03:55.310 INFO 24700 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_AppGATEWAY/Gateway:2c4703cd1cbf3617def055e786113743: registering service...
2017-10-30 15:03:55.328 INFO 24700 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_AppGATEWAY/Gateway:2c4703cd1cbf3617def055e786113743 - registration status: 204
2017-10-30 15:08:20.870 INFO 24700 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration
[1]: https://github.com/jhipster/generator-jhipster/issues/3166
If you expect that the config server may occasionally be unavailable when your application starts, you can make it keep trying after a failure. First, you need to set spring.cloud.config.fail-fast=true. Then you need to add spring-retry and spring-boot-starter-aop to your classpath. The default behavior is to retry six times with an initial backoff interval of 1000ms and an exponential multiplier of 1.1 for subsequent backoffs. You can configure these properties (and others) by setting the spring.cloud.config.retry.* configuration properties.
Docs:
https://cloud.spring.io/spring-cloud-config/reference/html/#config-client-retry
You need to set the following properties in your GitHub configuration repo.
configserver:
name: JHipster Registry config server
status: Connected to the JHipster Registry config server, using https://github.com/jhipster/jhipster-registry-sample-config !

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

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