← Back to team overview

openjdk team mailing list archive

[Bug 222317] Re: uncaught exception: java.lang.StackOverflowError

 

I'm sorry to say this, but it seems that this issue still remains in
openjdk-6 version 6b14-1.4.1-0ubuntu7.

I'm trying to run Liferay w/ openjdk-6 (with -Djava.awt.headless=true)
but some of the administration functionality is broken because of this
issue. Here's what Tomcat's log says:

13:45:58,729 ERROR [IncludeTag:165] 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

-- 
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 “openjdk-6” package in Ubuntu: Fix Released

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