dcsimg
MComponentPeer.setFont
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Subash_Srinivasan
Posted On:   Wednesday, January 23, 2002 11:10 AM

I am using x-server to display the front end GUI of the java application running in USS. I am getting this error when I am using IBM JDK1.3 . But the same is working fine with IBM JDK1.1.8 Exception in thread "main" java.lang.InternalError: java/langNullPointerException at sun.awt.motif.MComponentPeer.setFont(Native Method) at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:103) at sun.awt.motif.MFramePeer. (MFramePeer.java:66) at sun.awt.motif.MToolkit.createFrame(MToolkit.java:197) at java.awt.Frame.addNotify(Frame.java:356) at java.awt.Window.show(Window.java:392) at ListVSAM. (ListVSAM.java:21) at ListVSAM.main(ListVSAM.java:26) Is this    More>>

I am using x-server to display the front end GUI of the java application running in USS. I am getting this error when I am using IBM JDK1.3 . But the same is working fine with IBM JDK1.1.8



Exception in thread "main" java.lang.InternalError: java/langNullPointerException
at sun.awt.motif.MComponentPeer.setFont(Native Method)
at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:103)
at sun.awt.motif.MFramePeer. (MFramePeer.java:66)
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:197)
at java.awt.Frame.addNotify(Frame.java:356)
at java.awt.Window.show(Window.java:392)
at ListVSAM. (ListVSAM.java:21)
at ListVSAM.main(ListVSAM.java:26)



Is this error is due to the server side (unix) or due to the X-window side?


Any help is appreciated.
Thanks in advance

   <<Less

Re: MComponentPeer.setFont

Posted By:   Subash_Srinivasan  
Posted On:   Friday, January 25, 2002 01:17 PM

I re-installed the X-server with new version. It is working fine now.
About | Sitemap | Contact