@akenaton I got it. the PApplet sketch was not initialized, meaning that it was an empty variable, so I fixed the problem by initializing it as a new PApplet(), and after I got my values I reinitialized it with the .java file.
sketch = new PApplet();
coord = sketch.loadStrings("https://pastebin.com/raw/git52SPJ");
elemente = sketch.loadStrings("https://pastebin.com/raw/xpZNUzCW");
seed = sketch.loadStrings("https://pastebin.com/raw/VWZk096D");
sketch = new skBun();