I'm getting random errors comming from dokka that ...
# dokka
I'm getting random errors comming from dokka that look like this:
Copy code
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':arrow-dagger-effects-rx2:dokka'.
> Guice provision errors:
  1) Error injecting constructor, java.lang.RuntimeException: Exception while loading package-list from ExternalDocumentationLinkImpl(url=<http://docs.oracle.com/javase/6/docs/api/>, packageListUrl=<http://docs.oracle.com/javase/6/docs/api/package-list>)
    at org.jetbrains.dokka.ExternalDocumentationLinkResolver.<init>(ExternalDocumentationLinkResolver.kt:28)
    at org.jetbrains.dokka.ExternalDocumentationLinkResolver.class(ExternalDocumentationLinkResolver.kt:28)
    while locating org.jetbrains.dokka.ExternalDocumentationLinkResolver
      for parameter 4 at org.jetbrains.dokka.DeclarationLinkResolver.<init>(DeclarationLinkResolver.kt:13)
    while locating org.jetbrains.dokka.DeclarationLinkResolver
      for parameter 0 at org.jetbrains.dokka.PackageDocs.<init>(PackageDocs.kt:13)
    at org.jetbrains.dokka.PackageDocs.class(PackageDocs.kt:12)
    while locating org.jetbrains.dokka.PackageDocs
  1 error
It happens randomly and it's hard to reproduce. Maybe it blows up when the remote Oracle site is down?
It's likely that it has something to do with the site not being available. I got this error when I used a custom externalDocumentation and made a typo in the url