java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be cast to com.simontuffs.onejar.JarClassLoader

one-jar | mkurzawa | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Images fail to load from inside main jar

    one-jar | 9 years ago | mkurzawa
    java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be cast to com.simontuffs.onejar.JarClassLoader
  2. 0

    How to get an URL for a resource directory when using OneJar?

    Stack Overflow | 3 years ago
    java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be cast to com.simontuffs.onejar.JarClassLoader
  3. 0

    744 Forum: ELVis Not Lonesome Tonight: Meets PAMELA!

    aerowinx.com | 2 years ago
    java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be cast to com.simontuffs.onejar.JarClassLoader
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    log4j error when running JAR

    fjep | 10 years ago | luis-cypher
    java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      sun.misc.Launcher$AppClassLoader cannot be cast to com.simontuffs.onejar.JarClassLoader

      at com.simontuffs.onejar.JarClassLoader.getByteStream()
    2. com.simontuffs.onejar
      Handler$1.getInputStream
      1. com.simontuffs.onejar.JarClassLoader.getByteStream(JarClassLoader.java:753)
      2. com.simontuffs.onejar.Handler$1.getInputStream(Handler.java:50)
      2 frames
    3. Java RT
      ImageFetcher.run
      1. sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:114)
      2. sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240)
      3. sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
      4. sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
      4 frames