openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00300
[Bug 222317] Re: uncaught exception: java.lang.StackOverflowError
After enabling the hardy-proposed, I successfully upgraded openjdk-6-jdk
from 6b09-0ubuntu2 to 6b09-0ubuntu2, but this time I got the different
error:
:/usr/share/doc/openjdk-6-demo/demo/jfc/Notepad$ java -jar Notepad.jar
uncaught exception: java.lang.Error: Probable fatal error:No fonts found.
java.lang.Error: Probable fatal error:No fonts found.
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1088)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
at sun.font.FontManager.findDeferredFont(FontManager.java:916)
at sun.font.FontManager.findFont2D(FontManager.java:1904)
at sun.font.FontManager.findFont2D(FontManager.java:1865)
at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)
at sun.font.FontManager.initialiseDeferredFont(FontManager.java:967)
at sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:254)
at sun.font.CompositeFont.getSlotFont(CompositeFont.java:334)
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:77)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:358)
at sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:349)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:301)
at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1010)
at javax.swing.JComponent.getFontMetrics(JComponent.java:1608)
at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639)
at javax.swing.text.PlainView.updateMetrics(PlainView.java:209)
at javax.swing.text.PlainView.setSize(PlainView.java:490)
at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1718)
at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:921)
at javax.swing.plaf.basic.BasicTextAreaUI.getPreferredSize(BasicTextAreaUI.java:120)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1643)
at javax.swing.JTextArea.getPreferredSize(JTextArea.java:634)
at javax.swing.text.JTextComponent.getPreferredScrollableViewportSize(JTextComponent.java:1976)
at javax.swing.JTextArea.getPreferredScrollableViewportSize(JTextArea.java:711)
at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:92)
at java.awt.Container.preferredSize(Container.java:1665)
at java.awt.Container.getPreferredSize(Container.java:1650)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1645)
at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:492)
at java.awt.Container.preferredSize(Container.java:1665)
at java.awt.Container.getPreferredSize(Container.java:1650)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1645)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1665)
at java.awt.Container.getPreferredSize(Container.java:1650)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1645)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1665)
at java.awt.Container.getPreferredSize(Container.java:1650)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1645)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1665)
at java.awt.Container.getPreferredSize(Container.java:1650)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1645)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:911)
at java.awt.Container.preferredSize(Container.java:1665)
at java.awt.Container.getPreferredSize(Container.java:1650)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1645)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1665)
at java.awt.Container.getPreferredSize(Container.java:1650)
at java.awt.Window.pack(Window.java:700)
at Notepad.main(Notepad.java:143)
--
uncaught exception: java.lang.StackOverflowError
https://bugs.launchpad.net/bugs/222317
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in Source Package "openjdk-6" in Ubuntu: Incomplete
Bug description:
Java crashes when try to run the Notepad demo:
:/usr/share/doc/openjdk-6-demo/demo/jfc/Notepad$ java -jar Notepad.jar
uncaught exception: java.lang.StackOverflowError
java.lang.StackOverflowError
at sun.font.NativeFont.getMapper(NativeFont.java:245)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
at sun.font.NativeFont.getMapper(NativeFont.java:246)
lsb_release -rd:
Description: Ubuntu 8.04
Release: 8.04
apt-cache policy openjdk-6-jdk:
openjdk-6-jdk:
Installed: 6b09-0ubuntu2
Candidate: 6b09-0ubuntu2
Version table:
*** 6b09-0ubuntu2 0
500 http://us.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status
Note my Ubuntu installation is Jeos without GUI.
References