java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base)

docfetcher | *anonymous | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Class loader fails with java9

    docfetcher | 1 month ago | *anonymous
    java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base)
  2. 0

    i can't see any gui. (1.0.3)

    docfetcher | 6 years ago | *anonymous
    java.lang.ExceptionInInitializerError
  3. 0

    OffRoad: A desktop port of OsmAnd

    Google Groups | 10 months ago | ChrisFromFreeMind
    java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    System Crash

    docfetcher | 7 years ago | *anonymous
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base)

      at net.sourceforge.docfetcher.util.ClassPathHack.addURL()
    2. net.sourceforge.docfetcher
      Main.main
      1. net.sourceforge.docfetcher.util.ClassPathHack.addURL(ClassPathHack.java:32)
      2. net.sourceforge.docfetcher.util.ClassPathHack.addFile(ClassPathHack.java:28)
      3. net.sourceforge.docfetcher.util.SwtJarLoader.loadSwtJar(SwtJarLoader.java:46)
      4. net.sourceforge.docfetcher.Main.main(Main.java:27)
      4 frames