sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51122
[Question #679576]: functionality of App class is not working on Windows Server 2012 R2
New question #679576 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679576
When I try to run App.listApps() following error is appeared
[debug] Screen: initScreens: starting
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] Screen: Monitor 0: (0, 0) 1440 x 900
[debug] Screen: initScreens: ending
[debug] RunTimeINIT: version: 1.1.4-SNAPSHOT build#: 225 (2019-03-07_10:14)
[debug] RunTimeINIT: global init: entering as: API
[debug] RunTimeINIT: runningAs: JAR (sikulixapi.jar) in: C:\workspace\SikuliTest\externalJAR
[debug] RunTimeAPI: global init: leaving
[debug] RunTimeAPI: initAPI: entering
[debug] RunTimeAPI: initAPI: leaving
[13843 debug] RunTimeAPI: addToWindowsSystemPath: added to systempath:
C:\Users\Administrator\AppData\Roaming\Sikulix\SikulixLibs
[13844 debug] RunTimeAPI: checkJavaUsrPath: added to ClassLoader.usrPaths
[13845 debug] RunTimeAPI: libsExport: folder exists: C:\Users\Administrator\AppData\Roaming\Sikulix\SikulixLibs (1.1.4 - 201903071014)
[13847 debug] RunTimeAPI: loadLib: WinUtil.dll (success)
Exception in thread "main" java.lang.NullPointerException
at org.sikuli.natives.WinUtil.getApps(WinUtil.java:426)
at org.sikuli.script.App.listApps(App.java:387)
at com.opshub.Test.main(Test.java:78)
[16925 debug] RunTimeAPI: ***** final cleanup at System.exit() *****
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.