java.lang.NullPointerException

Oracle Community | 807554 | 2 decades 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

    java and X-windows

    Oracle Community | 2 decades ago | 807554
    java.lang.NullPointerException
  2. 0

    getGraphics() raises NullPointerException

    Oracle Community | 1 decade ago | 84907
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sun.awt.X11GraphicsEnvironment.registerFontPropertiesFonts()
    2. Java RT
      BufferedImage.getGraphics
      1. sun.awt.X11GraphicsEnvironment.registerFontPropertiesFonts(X11GraphicsEnvironment.java:540)
      2. sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java:989)
      3. sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java:777)
      4. sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:57)
      5. sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:161)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:86)
      8. sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:151)
      9. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      10. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      11. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      12. java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      13. java.lang.Class.newInstance0(Class.java:296)
      14. java.lang.Class.newInstance(Class.java:249)
      15. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
      16. java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1053)
      17. java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1043)
      17 frames
    3. foe.logit
      Headless.main
      1. foe.logit.Headless.main(Headless.java:29)
      1 frame