java.lang.NullPointerException: string is null

Oracle Community | 807594 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SIMPLE APPLET GETTING RUNTIME ERRORS

    Oracle Community | 1 decade ago | 807594
    java.lang.NullPointerException: string is null
  2. 0

    Url read from applets security problem

    Oracle Community | 1 decade ago | 807549
    java.lang.NullPointerException: string is null
  3. 0

    run time error using com.sun.image.codec.jpeg

    Oracle Community | 1 decade ago | 843836
    java.lang.NullPointerException: string is null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException from within String is confusing

    Stack Overflow | 4 years ago | Sebastian
    java.lang.NullPointerException
  6. 0

    Implementing a timer into an applet?

    Stack Overflow | 3 years ago | RJrules64
    java.lang.NullPointerException: String is null

    1 unregistered visitors
    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.NullPointerException

      string is null

      at sun.java2d.SunGraphics2D.drawString()
    2. Java RT
      SunGraphics2D.drawString
      1. sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2584)
      1 frame
    3. Unknown
      Convert.paint
      1. Convert.paint(Convert.java:51)
      1 frame
    4. Java RT
      EventQueue.dispatchEvent
      1. sun.awt.RepaintArea.paint(RepaintArea.java:177)
      2. sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:374)
      3. java.awt.Component.dispatchEventImpl(Component.java:3658)
      4. java.awt.Container.dispatchEventImpl(Container.java:1623)
      5. java.awt.Component.dispatchEvent(Component.java:3439)
      6. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      6 frames
    5. jva.awt
      EventDispatchThread.pumpOneEventForHierarchy
      1. jva.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      1 frame
    6. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      2. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      3. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      4. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      4 frames