java.lang.ClassCastException: java.lang.String

Oracle Community | 807551 | 1 decade ago
  1. 0

    "ctx = new InitialDirContext(Hashtable)" throws class cast exception

    Oracle Community | 1 decade ago | 843797
    java.lang.ClassCastException: java.lang.String
  2. 0

    InitialDirContext(Hashtable enviroment)

    Oracle Community | 1 decade ago | 807551
    java.lang.ClassCastException: java.lang.String
  3. 0

    Vector and AbstractTableModel

    Oracle Community | 1 decade ago | 843805
    java.lang.ClassCastException: java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    get the row id of an spinner item populated from database

    Stack Overflow | 4 years ago | user1381760
    java.lang.ClassCastException: java.lang.String
  6. 0

    How to upload Byte array (image) on facebook wall with android application?

    Stack Overflow | 4 years ago | TKumar
    java.lang.ClassCastException: java.lang.String

    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

      java.lang.String

      at com.sun.naming.internal.ResourceManager.getInitialEnvironment()
    2. Java RT
      InitialDirContext.<init>
      1. com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceManager.java:129)
      2. javax.naming.InitialContext.init(InitialContext.java:215)
      3. javax.naming.InitialContext.<init>(InitialContext.java:195)
      4. javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
      4 frames
    3. Unknown
      showResults.start
      1. showResults.login(showResults.java:134)
      2. showResults.getResults(showResults.java:110)
      3. showResults.start(showResults.java:94)
      3 frames
    4. Java RT
      Thread.run
      1. sun.applet.AppletPanel.run(AppletPanel.java:355)
      2. java.lang.Thread.run(Thread.java:536)
      2 frames