Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
java.lang.NullPointerException in getAvailableFontFamilyNames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java.lang.NullPointerException in getAvailableFontFamilyNames



My recently released game, War! Age of Imperialism isn't working on some of my customer's Mac systems. The error is a NPE when getAvailableFontFamilyNames is called.

A google search shows that this is a known bug....but the java-dev archive search was broken, so I couldn't get more info.

MY QUESTION: Is there a known workaround or list of "bad" fonts that cause this NPE to occur? It doesn't happen on either of my Mac development systems, so there must be some other way that bad fonts are introduced.

I must say I am a bit stressed out because the Java implementation on Mac is a moving target. Now that my small company's revenue is dependent upon this, I have real reason to complain. I hope a fix is released soon - it seems to affect lots of appliations. And it seems quite silly that a single bad font is not handled gracefully!

Thanks,

-Doug Donohoe
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.