java.lang.NullPointerException: string is null

Oracle Community | 807549 | 1 decade 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

    Url read from applets security problem

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

    SIMPLE APPLET GETTING RUNTIME ERRORS

    Oracle Community | 1 decade ago | 807594
    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
      TestApplet.paint
      1. TestApplet.paint(testApplet.java:26)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. sun.awt.RepaintArea.paint(RepaintArea.java:177)
      2. sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
      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)
      7. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      8. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      9. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      10. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      11. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      11 frames