cancel
Showing results for 
Search instead for 
Did you mean: 

Java Visual Admin does not start

Former Member
0 Kudos

Hi everyone!

I run NW 702_12 and when I try to start Java Visual Admin, the error below is showed:

SAPNFD:nfdadm 203> ./go

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20090310 (JIT enabled)

J9VM - 20090309_31291_LHdSMr

JIT  - 20090210_1447ifx1_r8

GC   - 200902_24)

Warning: Cannot convert string "-*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1" to type FontStruct

10/27/14 1:09 PM com.sap.engine.tools.launcher.Launcher Error : unable to invoke main class  com.sap.engine.services.adminadapter.gui.AdminFrameView

Exception in thread "main" com.sap.engine.tools.launcher.LauncherException

        at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:340)

        at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)

I use Putty with X-ming em DISPLAY variable is OK. The xclock is executed successfully.

Anyone had this problem?

Thanks!

Renato

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to install Xming fonts to resolve this issue.

Answers (2)

Answers (2)

giri_ayyagari
Active Participant
0 Kudos

Hi Renato

I had experienced same issue during my sysyem upgrades, installing X-ming fonts helped.

-giri

Former Member
0 Kudos

Hi guys!

The install of X-ming fonts solved the issue.

Thanks a lot!!

Renato

divyanshu_srivastava3
Active Contributor
0 Kudos

Great..!!

divyanshu_srivastava3
Active Contributor
0 Kudos

Can you please upload full logs ?

Have you tried checking other threads ?

Also, read this and see if this helps.

Regards,

Former Member
0 Kudos

Hi Divyanshu!

I read this thread and environment is configurated. Other threads always recommend to set the DISPLAY variable.

Follows the complete log.

com.sap.engine.tools.launcher.Launcher Error : unable to invoke main class  com.sap.engine.services.adminadapter.gui.AdminFrameView

com.sap.engine.tools.launcher.LauncherException

        at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:340)

        at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)

-------- caused by --------

java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:336)

        at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)

Caused by: 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.MWindowPeer.init(MWindowPeer.java:153)

        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:93)

        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:301)

        at java.awt.Frame.addNotify(Frame.java:502)

        at java.awt.Window.pack(Window.java:470)

        at com.sap.engine.services.adminadapter.gui.AboutWindow.initView(AboutWindow.java:28)

        at com.sap.engine.services.adminadapter.gui.AboutWindow.<init>(AboutWindow.java:14)

        at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFrameView.java:234)

        ... 7 more

-------- caused by --------

java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:336)

        at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)

Caused by: 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.MWindowPeer.init(MWindowPeer.java:153)

        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:93)

        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:301)

        at java.awt.Frame.addNotify(Frame.java:502)

        at java.awt.Window.pack(Window.java:470)

        at com.sap.engine.services.adminadapter.gui.AboutWindow.initView(AboutWindow.java:28)

        at com.sap.engine.services.adminadapter.gui.AboutWindow.<init>(AboutWindow.java:14)

        at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFrameView.java:234)

Thanks!

divyanshu_srivastava3
Active Contributor
0 Kudos

If you see the exception stack, the rendering problem can be because of JVM or fonts.

Try changing the JRE to the other you have on your OS and check for missing fonts in your current shell. Other option is to switch shell to bash or csh and set DISPLAY for sidadm and run VA again.

If this is not working, update us.

Regards,

Former Member
0 Kudos

Hello

Such issues occur because of incorrect export of DISPLAY variable. In your case, DISPLAY variable seems to be set correctly as xclock is working fine. Can you try setting DISPLAY variable to another client machine and see if it works there? Are you able to launch configtool and other GUI based tools? You may take a restart the client machine and try again.

Cheers,

Tapan