SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2018/12/27 23:38 4 Comments
2018/12/11 20:07 2 Comments
2017/04/20 16:35 1 Comment
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:59 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

fixx11forwardingfonterror

Fix: X11 Forwarding Font Error

I received this error when trying to install Oracle 10.2g on AIX 5.3. All Oracle requirements were met, so it didn't make sense. Turned out it missed the fonts on my CygWin - X op Windows installation.

Error:

Starting Oracle Universal Installer...

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-06-17_11-07-38AM. Please wait ...bash-3.2$ 

Warning: Cannot convert string "-*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1" to type FontStruct
Exception in thread "main" java.lang.InternalError: java/langNullPointerException
        at sun.awt.motif.MComponentPeer.pSetFont(Native Method)
        at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:308)
        at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:236)
        at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:279)
        at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:123)
        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:91)
        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:301)
        at java.awt.Frame.addNotify(Frame.java:502)
        at java.awt.Window.pack(Window.java:473)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.createCenterPanel(OiocOneClickInstaller.java:802)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:409)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:365)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2171)

This is how to check if the required fonts are installed:

C:\cygwin\bin>cygcheck -c -d | grep font
fontconfig              2.6.0-1
ghostscript-fonts-other 6.0-1
ghostscript-fonts-std   8.11-1
libfontconfig1          2.6.0-1
libfontenc1             1.0.4-2

As you can see, no fonts…

I changed my own howto on installing CygWin - X op Windows, and after also installing the correct fonts it worked, and this is, how the previous command output looks like when the fonts are installed:

C:\cygwin\bin>cygcheck -c -d | grep font
font-bh-dpi75                  1.0.0-1
font-bh-lucidatypewriter-dpi75 1.0.0-1
font-encodings                 1.0.2-1
fontconfig                     2.6.0-1
ghostscript-fonts-other        6.0-1
ghostscript-fonts-std          8.11-1
libfontconfig1                 2.6.0-1
libfontenc1                    1.0.4-2
mkfontdir                      1.0.4-1
mkfontscale                    1.0.5-1
You could leave a comment if you were logged in.
fixx11forwardingfonterror.txt · Last modified: 2013/04/21 10:21 by sjoerd