YunaBraska / github-workflow-plugin

Your Ultimate Wingman for GitHub Workflows and Actions! 🚀
https://github.com/YunaBraska/github-workflow-plugin
Apache License 2.0
47 stars 11 forks source link

Causing IDE Internal Errors #67

Open gilzow opened 4 months ago

gilzow commented 4 months ago

What happened? Upon starting the IDE (PhpStorm or WebStorm), IDE reports an Internal Error

How can we reproduce the issue? Steps to reproduce the behavior:

  1. Start IDE
  2. IDE reports error

Relevant log output stracktrace.txt

com.intellij.util.io.HttpRequests$HttpStatusException: Request failed with status code 404. Status=404, Url=https://raw.githubusercontent.com/platformsh/gha-retrieve-projectid/main/action.yml
    at com.intellij.util.io.HttpRequests.throwHttpStatusError(HttpRequests.java:657)
    at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:635)
    at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:360)
    at com.intellij.util.io.HttpRequests$RequestImpl.doReadBytes(HttpRequests.java:436)
    at com.intellij.util.io.HttpRequests$RequestImpl.readString(HttpRequests.java:425)
    at com.intellij.util.io.RequestBuilder.lambda$readString$4(RequestBuilder.java:81)
    at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:517)
    at com.intellij.util.io.HttpRequests.process(HttpRequests.java:499)
    at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:334)
    at com.intellij.util.io.RequestBuilder.readString(RequestBuilder.java:81)
    at com.intellij.util.io.RequestBuilder.readString(RequestBuilder.java:85)
    at com.github.yunabraska.githubworkflow.completion.GitHubWorkflowUtils.lambda$downloadContent$7(GitHubWorkflowUtils.java:271)
    at com.intellij.openapi.application.impl.ApplicationImpl$2.call(ApplicationImpl.java:277)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
    at java.base/java.lang.Thread.run(Thread.java:833)

induced.txt:

Following exceptions happened soon after this one, most probably they are induced.

2024-07-19T13:11:38.510
java.lang.Throwable: Cache failed for [/var/folders/vn/zd0yf845339b9vvd4l72hc600000gn/T/ide_github_workflow_plugin/gha-retrieve-projectid_main_schema.json] message [null]
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
    at com.github.yunabraska.githubworkflow.completion.GitHubWorkflowUtils.lambda$downloadContentAsync$4(GitHubWorkflowUtils.java:238)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Operating System

macOS 14.4.1 (23E224)

Plugin Version

1.0.1

IDE Name and Version

PhpStorm 2022.3 WebStorm 2023.11