JetBrains / kotlin-playground

Self-contained component to embed in websites for running Kotlin code
https://jetbrains.github.io/kotlin-playground/examples/
Apache License 2.0
455 stars 83 forks source link

[Bug] Online playground is not working #137

Closed rami3l closed 2 years ago

rami3l commented 2 years ago

pic

I don't know if this is the right place to post, but I came across the Kotlin Playground today and encountered the following error:

Exception in thread "main" java.io.FileNotFoundException: /var/task/tmp/578c4a4c065841fea2fa62b22ca58b9e/executor.policy (No such file or directory)
 at java.io.FileOutputStream.open0 (FileOutputStream.java:-2) 
 at java.io.FileOutputStream.open (FileOutputStream.java:270) 
 at java.io.FileOutputStream.<init> (FileOutputStream.java:213) 

Steps to reproduce:

  1. Go to https://play.kotlinlang.org/
  2. Click Run when the default "Hello, World" program shows up
nikpachoo commented 2 years ago

@rami3l, thank you! We are working on fixing the problem.

Harri1970 commented 2 years ago

I just started this Kotlin course and first hello world was not working, nice that I found this bug here. I will wait.

Bediruna commented 2 years ago

Yes, I am experiencing this as well. The android playground is not working as well. https://developer.android.com/training/kotlinplayground

blackcrown01 commented 2 years ago

still after 4hours since the bug was reported the kotlin playground still to this moment out ???

Bediruna commented 2 years ago

still after 4hours since the bug was reported the kotlin playground still to this moment out ???

Well actually I started experiencing this yesterday. So it's been more than that.

SmooveW commented 2 years ago

The one at developer.android.com/kotlinplayground is doing the same thing, assuming these are different instances and not just different front ends to the same thing. Suggests there is something wrong with Jetbrains.

Diegomaxi3 commented 2 years ago

https://play.kotlinlang.org/ -> change setting to JS, it will execute your program. I don't Know if it's the best way, but it give me time to practice.

nikpachoo commented 2 years ago

Thank you all for participating; everything works now. We understand that such downtime is highly undesirable, and we will make our efforts to exclude such situations in the future.