java.lang.NullPointerException

Coderanch | Vidya Gupta | 5 years 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

    Displaying the Color on a frame based on the RGB values.

    Coderanch | 5 years ago | Vidya Gupta
    java.lang.NullPointerException
  2. 0

    Displaying the Color on a frame based on the RGB values.

    Coderanch | 5 years ago | Vidya Gupta
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      No message provided

      at sun.awt.FontConfiguration.getVersion()
    2. Java RT
      JFrame.<init>
      1. sun.awt.FontConfiguration.getVersion(Unknown Source)
      2. sun.awt.FontConfiguration.readFontConfigFile(Unknown Source)
      3. sun.awt.FontConfiguration.<init>(Unknown Source)
      4. sun.awt.windows.WFontConfiguration.<init>(Unknown Source)
      5. sun.awt.Win32GraphicsEnvironment.createFontConfiguration(Unknown Source)
      6. sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.java2d.SunGraphicsEnvironment.<init>(Unknown Source)
      9. sun.awt.Win32GraphicsEnvironment.<init>(Unknown Source)
      10. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      11. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      12. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      13. java.lang.reflect.Constructor.newInstance(Unknown Source)
      14. java.lang.Class.newInstance0(Unknown Source)
      15. java.lang.Class.newInstance(Unknown Source)
      16. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
      17. java.awt.Window.init(Unknown Source)
      18. java.awt.Window.<init>(Unknown Source)
      19. java.awt.Frame.<init>(Unknown Source)
      20. java.awt.Frame.<init>(Unknown Source)
      21. javax.swing.JFrame.<init>(Unknown Source)
      21 frames
    3. info.color
      ColorApp$1.run
      1. info.color.ColorApp.<init>(ColorApp.java:8)
      2. info.color.ColorApp$1.run(ColorApp.java:26)
      2 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      3. java.awt.EventQueue.access$000(Unknown Source)
      4. java.awt.EventQueue$1.run(Unknown Source)
      5. java.awt.EventQueue$1.run(Unknown Source)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      8. java.awt.EventQueue.dispatchEvent(Unknown Source)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      12. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      13. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      14. java.awt.EventDispatchThread.run(Unknown Source)
      14 frames