javax.json.JsonException

Provider org.glassfish.json.JsonProviderImpl not found

Samebug tips5

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web26

  • Provider org.glassfish.json.JsonProviderImpl not found
  • Provider org.glassfish.json.JsonProviderImpl not found
  • Provider org.glassfish.json.JsonProviderImpl not found
  • Stack trace

    • javax.json.JsonException: Provider org.glassfish.json.JsonProviderImpl not found at javax.json.spi.JsonProvider.provider(JsonProvider.java:97) at javax.json.Json.createReader(Json.java:220) at io.datafx.io.converter.JsonConverter.initialize(JsonConverter.java:100) at io.datafx.io.converter.JsonConverter.initialize(JsonConverter.java:62) at io.datafx.io.InputStreamDataReader.setInputStream(InputStreamDataReader.java:109) at io.datafx.io.RestSource.createRequest(RestSource.java:118) at io.datafx.io.RestSource.next(RestSource.java:141) at io.datafx.provider.ListDataProvider$2.callTask(ListDataProvider.java:245) at io.datafx.core.concurrent.PublishingTask.call(PublishingTask.java:61) at io.datafx.core.concurrent.PublishingTask.call(PublishingTask.java:44) at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javafx.concurrent.Service.lambda$null$492(Service.java:725) at java.security.AccessController.doPrivileged(Native Method) at javafx.concurrent.Service.lambda$executeTask$493(Service.java:724) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.glassfish.json.JsonProviderImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at javax.json.spi.JsonProvider.provider(JsonProvider.java:94) ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 month ago
    Once, 1 month ago
    2 times, 2 months ago
    95 times, 2 months ago
    2 times, 3 months ago
    1669 more bugmates