{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/6252","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6252/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6252/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6252/events","html_url":"https://github.com/bazelbuild/bazel/issues/6252","id":363938705,"node_id":"MDU6SXNzdWUzNjM5Mzg3MDU=","number":6252,"title":"Crash because of \"Could not initialize class sun.security.ssl.SSLContextImpl$DefaultSSLContext\"","user":{"login":"jmmv","id":879272,"node_id":"MDQ6VXNlcjg3OTI3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/879272?v=4","gravatar_id":"","url":"https://api.github.com/users/jmmv","html_url":"https://github.com/jmmv","followers_url":"https://api.github.com/users/jmmv/followers","following_url":"https://api.github.com/users/jmmv/following{/other_user}","gists_url":"https://api.github.com/users/jmmv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmv/subscriptions","organizations_url":"https://api.github.com/users/jmmv/orgs","repos_url":"https://api.github.com/users/jmmv/repos","events_url":"https://api.github.com/users/jmmv/events{/privacy}","received_events_url":"https://api.github.com/users/jmmv/received_events","type":"User","site_admin":false},"labels":[{"id":1020659653,"node_id":"MDU6TGFiZWwxMDIwNjU5NjUz","url":"https://api.github.com/repos/bazelbuild/bazel/labels/team-Apple","name":"team-Apple","color":"f1f442","default":false},{"id":1020665933,"node_id":"MDU6TGFiZWwxMDIwNjY1OTMz","url":"https://api.github.com/repos/bazelbuild/bazel/labels/untriaged","name":"untriaged","color":"c34ddd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-26T09:36:11Z","updated_at":"2018-10-17T20:40:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"With a Bazel built from head 73516f333f75c037d25c82f23cc5ee0731f05308 and on macOS Mojave, I tried the following in Bazel's own source tree at that revision:\r\n\r\n```\r\nbazel build --nobuild -k //...\r\nERROR: /Users/jmmv/os/bazel/tools/jdk/BUILD:32:17: in java_home attribute of java_runtime rule //tools/jdk:absolute_javabase: $(ABSOLUTE_JAVABASE) not defined\r\nERROR: /Users/jmmv/os/bazel/tools/j2objc/BUILD:26:1: no such target '//third_party/java/j2objc:proto_plugin': target 'proto_plugin' not declared in package 'third_party/java/j2objc' defined by /Users/jmmv/os/bazel/third_party/java/j2objc/BUILD and referenced by '//tools/j2objc:j2objc_proto_toolchain'\r\nERROR: /Users/jmmv/os/bazel/tools/j2objc/BUILD:26:1: no such target '//third_party/java/j2objc:proto_runtime': target 'proto_runtime' not declared in package 'third_party/java/j2objc' defined by /Users/jmmv/os/bazel/third_party/java/j2objc/BUILD and referenced by '//tools/j2objc:j2objc_proto_toolchain'\r\nInternal error thrown during build. Printing stack trace: java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$DefaultSSLContext\r\n\tat java.base/java.lang.Class.forName0(Native Method)\r\n\tat java.base/java.lang.Class.forName(Unknown Source)\r\n\tat java.base/java.security.Provider$Service.getImplClass(Unknown Source)\r\n\tat java.base/java.security.Provider$Service.newInstance(Unknown Source)\r\n\tat java.base/sun.security.jca.GetInstance.getInstance(Unknown Source)\r\n\tat java.base/sun.security.jca.GetInstance.getInstance(Unknown Source)\r\n\tat java.base/javax.net.ssl.SSLContext.getInstance(Unknown Source)\r\n\tat java.base/javax.net.ssl.SSLContext.getDefault(Unknown Source)\r\n\tat java.base/javax.net.ssl.SSLSocketFactory.getDefault(Unknown Source)\r\n\tat java.base/javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(Unknown Source)\r\n\tat java.base/javax.net.ssl.HttpsURLConnection.<init>(Unknown Source)\r\n\tat java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(Unknown Source)\r\n\tat java.base/sun.net.www.protocol.https.Handler.openConnection(Unknown Source)\r\n\tat java.base/java.net.URL.openConnection(Unknown Source)\r\n\tat com.google.devtools.build.lib.bazel.repository.downloader.HttpConnector.connect(HttpConnector.java:93)\r\n\tat com.google.devtools.build.lib.bazel.repository.downloader.HttpConnectorMultiplexer.establishConnection(HttpConnectorMultiplexer.java:301)\r\n\tat com.google.devtools.build.lib.bazel.repository.downloader.HttpConnectorMultiplexer.connect(HttpConnectorMultiplexer.java:126)\r\n\tat com.google.devtools.build.lib.bazel.repository.downloader.HttpDownloader.download(HttpDownloader.java:225)\r\n\tat com.google.devtools.build.lib.bazel.repository.downloader.HttpDownloader.download(HttpDownloader.java:131)\r\n\tat com.google.devtools.build.lib.bazel.repository.HttpArchiveFunction.fetch(HttpArchiveFunction.java:96)\r\n\tat com.google.devtools.build.lib.rules.repository.RepositoryDelegatorFunction.compute(RepositoryDelegatorFunction.java:213)\r\n\tat com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:418)\r\n\tat com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:368)\r\n\tat java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)\r\n\tat java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)\r\n\tat java.base/java.util.concurrent.ForkJoinPool$WorkQueue.localPopAndExec(Unknown Source)\r\n\tat java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)\r\n\tat java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)\r\n```\r\n\r\nI wouldn't be surprised if the very first error (the one about `ABSOLUTE_JAVABASE`) is not related... but I haven't investigated."},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/430781197","html_url":"https://github.com/bazelbuild/bazel/issues/6252#issuecomment-430781197","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/6252","id":430781197,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc4MTE5Nw==","user":{"login":"jmmv","id":879272,"node_id":"MDQ6VXNlcjg3OTI3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/879272?v=4","gravatar_id":"","url":"https://api.github.com/users/jmmv","html_url":"https://github.com/jmmv","followers_url":"https://api.github.com/users/jmmv/followers","following_url":"https://api.github.com/users/jmmv/following{/other_user}","gists_url":"https://api.github.com/users/jmmv/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmv/subscriptions","organizations_url":"https://api.github.com/users/jmmv/orgs","repos_url":"https://api.github.com/users/jmmv/repos","events_url":"https://api.github.com/users/jmmv/events{/privacy}","received_events_url":"https://api.github.com/users/jmmv/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T20:40:23Z","updated_at":"2018-10-17T20:40:23Z","author_association":"CONTRIBUTOR","body":"I don't know. This was with Blaze built at head; the release is irrelevant."}}
{"actor":{"display_login":"jmmv"}}