Janrupf/ultralight-java-reborn

UltralightView#loadURL(String) causes an std::runtime_error

Opened this issue · 1 comments

I'm trying to display a web page from a local html file. When i pass to method UltralightView#loadURL(String) URL with scheme file://, this message prints to the standard error stream and program execution interrupts:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Thread not attached to JVM

URLs with the http:// and https:// schemes works fine.

Thanks!

Same problem here. http:// and https:// work mostly fine (apart from a deadlock in some cases, which i also don't understand), but loading a file:// throws this exception