java.lang.NullPointerException

Atlassian JIRA | Justin Novack | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I thought I added -c just like it told me. {code}[root@stash /usr/local/src]# ./atlassian-stash-3.5.0-x64.bin -c Starting Installer ... java.lang.NullPointerException at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219) at sun.awt.FontConfiguration.init(FontConfiguration.java:107) at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:753) at sun.font.SunFontManager$2.run(SunFontManager.java:431) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.<init>(SunFontManager.java:376) at sun.awt.X11FontManager.<init>(X11FontManager.java:32) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) at sun.font.SunFontManager.getInstance(SunFontManager.java:250) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1018) at javax.swing.JComponent.getFontMetrics(JComponent.java:1615) at javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:318) at javax.swing.text.WrappedPlainView.updateChildren(WrappedPlainView.java:297) at javax.swing.text.WrappedPlainView.insertUpdate(WrappedPlainView.java:463) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1602) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1861) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:202) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:708) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130) at javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:273) at javax.swing.JEditorPane.setText(JEditorPane.java:1413) at javax.swing.JEditorPane.<init>(JEditorPane.java:291) at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source) at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source) at com.install4j.runtime.installer.Installer.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.Launcher.main(Unknown Source) Could not display the GUI. This application needs access to an X Server. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c *******************************************************************{code} *Workaround* Install the {{dejavu-sans-fonts}} fonts {code}yum install dejavu-sans-fonts{code} {code}apt-get install fonts-cantarell{code}

    Atlassian JIRA | 2 years ago | Justin Novack
    java.lang.NullPointerException
  2. 0

    I thought I added -c just like it told me. {code}[root@stash /usr/local/src]# ./atlassian-stash-3.5.0-x64.bin -c Starting Installer ... java.lang.NullPointerException at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219) at sun.awt.FontConfiguration.init(FontConfiguration.java:107) at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:753) at sun.font.SunFontManager$2.run(SunFontManager.java:431) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.<init>(SunFontManager.java:376) at sun.awt.X11FontManager.<init>(X11FontManager.java:32) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) at sun.font.SunFontManager.getInstance(SunFontManager.java:250) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1018) at javax.swing.JComponent.getFontMetrics(JComponent.java:1615) at javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:318) at javax.swing.text.WrappedPlainView.updateChildren(WrappedPlainView.java:297) at javax.swing.text.WrappedPlainView.insertUpdate(WrappedPlainView.java:463) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1602) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1861) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:202) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:708) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130) at javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:273) at javax.swing.JEditorPane.setText(JEditorPane.java:1413) at javax.swing.JEditorPane.<init>(JEditorPane.java:291) at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source) at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source) at com.install4j.runtime.installer.Installer.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.Launcher.main(Unknown Source) Could not display the GUI. This application needs access to an X Server. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c *******************************************************************{code} *Workaround* Install the {{dejavu-sans-fonts}} fonts {code}yum install dejavu-sans-fonts{code} {code}apt-get install fonts-cantarell{code}

    Atlassian JIRA | 2 years ago | Justin Novack
    java.lang.NullPointerException
  3. 0

    Problems trying to use JEditorPane Class

    Google Groups | 2 decades ago | Chris Williams
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception on startup

    GitHub | 10 months ago | Wavelandian
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sun.awt.FontConfiguration.getVersion()
    2. Java RT
      JEditorPane.<init>
      1. sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
      2. sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
      3. sun.awt.FontConfiguration.init(FontConfiguration.java:107)
      4. sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:753)
      5. sun.font.SunFontManager$2.run(SunFontManager.java:431)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. sun.font.SunFontManager.<init>(SunFontManager.java:376)
      8. sun.awt.X11FontManager.<init>(X11FontManager.java:32)
      9. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      10. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      11. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      12. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      13. java.lang.Class.newInstance(Class.java:379)
      14. sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
      15. java.security.AccessController.doPrivileged(Native Method)
      16. sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
      17. sun.font.SunFontManager.getInstance(SunFontManager.java:250)
      18. sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)
      19. sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1018)
      20. javax.swing.JComponent.getFontMetrics(JComponent.java:1615)
      21. javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:318)
      22. javax.swing.text.WrappedPlainView.updateChildren(WrappedPlainView.java:297)
      23. javax.swing.text.WrappedPlainView.insertUpdate(WrappedPlainView.java:463)
      24. javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1602)
      25. javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1861)
      26. javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:202)
      27. javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749)
      28. javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:708)
      29. javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
      30. javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:273)
      31. javax.swing.JEditorPane.setText(JEditorPane.java:1413)
      32. javax.swing.JEditorPane.<init>(JEditorPane.java:291)
      32 frames
    3. com.install4j.runtime
      Installer.main
      1. com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source)
      2. com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source)
      3. com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source)
      4. com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
      5. com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
      6. com.install4j.runtime.installer.Installer.main(Unknown Source)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. com.exe4j.runtime
      LauncherEngine.launch
      1. com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
      1 frame
    6. com.install4j.runtime
      Launcher.main
      1. com.install4j.runtime.launcher.Launcher.main(Unknown Source)
      1 frame