Skip to Content
0
Former Member
May 04, 2016 at 11:49 AM

NPE in SAPGUI 7.40r2 on RHEL 7.2

126 Views

Hi,

I'm getting NullPointerException when starting SAPGUI 7.40 rev 2 on my Linux box (RedHat Enterprise Linux 7.2 / Open Client).

[nza@t450 bin]$ ./guilogon

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

at com.sap.platin.base.logon.landscape.LandscapeUtil.addBackup(LandscapeUtil.java:1292)

at com.sap.platin.base.logon.landscape.LandscapeUtil.getCachedLandscape(LandscapeUtil.java:865)

at com.sap.platin.base.logon.landscape.LandscapeUtil.getCachedLandscape(LandscapeUtil.java:842)

at com.sap.platin.base.logon.util.GlobalConnectionData.loadLandscape(GlobalConnectionData.java:73)

at com.sap.platin.base.logon.util.GlobalConnectionData.loadLandscape(GlobalConnectionData.java:44)

at com.sap.platin.base.config.GuiConfiguration.loadDefaultLandscape(GuiConfiguration.java:1032)

at com.sap.platin.base.config.GuiConfiguration.getLandscape(GuiConfiguration.java:995)

at com.sap.platin.base.logon.GuiLogonLS.loadLandscape(GuiLogonLS.java:1871)

at com.sap.platin.base.logon.GuiLogonLS.initViewType(GuiLogonLS.java:1177)

at com.sap.platin.base.logon.GuiLogonLS.initComponents(GuiLogonLS.java:508)

at com.sap.platin.base.logon.GuiLogonLS.<init>(GuiLogonLS.java:342)

at com.sap.platin.base.logon.GuiLogonLS.getLogonFrame(GuiLogonLS.java:2078)

at com.sap.platin.base.logon.GuiLogonManager.getLogonFrame(GuiLogonManager.java:63)

at com.sap.platin.base.logon.GuiLogonManager.setVisibleLogonFrame(GuiLogonManager.java:83)

at com.sap.platin.base.logon.GuiImpl$2.run(GuiImpl.java:158)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)

at com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:79)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Environment:

[nza@t450 bin]$ ./guilogon -checkscript

guilogon -checkscript output:

Before processing:

PLATINHOME =

PLATIN_JAVA = /home/nza/soft/jre1.8.0_91/bin/java

uname = Linux

PATH = /usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/ibm/c4eb/bin:/home/nza/.local/bin:/home/nza/bin:/usr/kerberos/bin:/home/nza/sqllib/bin:/home/nza/sqllib/adm:/home/nza/sqllib/misc

After processing:

THISSCRIPTPATH = ./../../SAPGUI7.40rev2/bin/guilogon

PLATINHOME = /opt/ibm/sap/SAPGUI7.40rev2

PLATIN_JAVA = /home/nza/soft/jre1.8.0_91/bin/java

PLATIN_DEBUG =

JRE_ARGS = -Xms32M -Xmx512M

START_JARS = /opt/ibm/sap/SAPGUI7.40rev2/jar/GuiStartS.jar

STARTCLASS = com.sap.platin.Gui

RFC_TRACE =

Command to start:

/home/nza/soft/jre1.8.0_91/bin/java -Xms32M -Xmx512M -cp /opt/ibm/sap/SAPGUI7.40rev2/jar/GuiStartS.jar com.sap.platin.Gui

[nza@t450 bin]$ /home/nza/soft/jre1.8.0_91/bin/java -version

java version "1.8.0_91"

Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Java HotSpot(TM) Server VM (build 25.91-b14, mixed mode)

[nza@t450 bin]$ uname -r

3.10.0-327.13.1.el7.x86_64

[nza@t450 bin]$ yum list installed | grep qt

ibus-qt.x86_64 1.3.2-4.el7 @base/$releasever

imsettings-qt.x86_64 1.6.3-9.el7 @base/$releasever

qt.i686 1:4.8.5-11.el7 @base/$releasever

qt.x86_64 1:4.8.5-11.el7 @base/$releasever

qt-settings.noarch 19-23.5.el7 @base/$releasever

qt-x11.i686 1:4.8.5-11.el7 @base/$releasever

qt-x11.x86_64 1:4.8.5-11.el7 @base/$releasever

qt3.x86_64 3.3.8b-51.el7 @base/$releasever

(This conf above is with 32bit Java, but is failing with the system-default 64bit 1.8.0_91-b14 Oracle Java too)