← Back to team overview

sikuli-driver team mailing list archive

[Bug 1840891] Re: Sikulix IDE 1.1.4, Win7, Java 1.8, Script runner doesn't start

 

** Tags added: jython

** Tags added: ide idestartup scriptrun

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1840891

Title:
  Sikulix IDE 1.1.4, Win7, Java 1.8, Script runner doesn't start

Status in Sikuli:
  New

Bug description:
  1.1.4-SNAPSHOT-#368-2019-08-20_12:33/Windows6.1/Java8(64)1.8.0_211-b12

  I have Problems starting up the Scriptrunner, IDE Comes up but with Errors and some stacktraces.
  Here is the Output in the console:

  R:\Sikulix>java -jar sikulix.jar -v
  [DEBUG]startUp: IDE: Running: R:\Sikulix\sikulix.jar
  [DEBUG]startUp: IDE: AppData: \\ksrenapp01\home\xenas\Anwendungsdaten\Sikulix
  [DEBUG]startUp: IDE: starting
  [DEBUG]startUp: IDE: no extensions.txt nor valid content
  [DEBUG]startUp: IDE: adding extension: \\ksrenapp01\home\xenas\Anwendungsdaten\S
  ikulix\Extensions\jython-standalone-2.7.1.jar
  [DEBUG]startUp: IDE: adding extension: \\ksrenapp01\home\xenas\Anwendungsdaten\S
  ikulix\Extensions\jruby-complete-9.2.0.0.jar
  [DEBUG]startUp: IDE: Classpath: R:\Sikulix\sikulix.jar;\\ksrenapp01\home\xenas\A
  nwendungsdaten\Sikulix\Extensions\jython-standalone-2.7.1.jar;\\ksrenapp01\home\
  xenas\Anwendungsdaten\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
  [DEBUG]startUp: IDE: *********************** leaving start

  R:\Sikulix>[DEBUG]startUp: IDE: no extensions.txt nor valid content
  [78 debug] RunTime:temp folder ok: E:\Users\xenas\AppData\Local\Temp\46\Sikulix_
  1067598756
  Options: *** options dump
  Options: testing =
  Options: OptionsFile = \\ksrenapp01\home\xenas\Anwendungsdaten\Sikulix\SikulixSt
  ore\SikulixOptions.txt
  Options: *** options dump end
  ***** show environment for 1.1.4-SNAPSHOT-#368-2019-08-20_12:33 IDE
  user.home: E:\Users\xenas
  user.dir (work dir): R:\Sikulix
  user.name: xenas
  java.io.tmpdir: E:\Users\xenas\AppData\Local\Temp\46
  running 64Bit(amd64) on w (6.1) from a jar
  java 8 version 1.8 vm 25.211-b12 class 52.0 arch 64
  app data folder: \\ksrenapp01\home\xenas\Anwendungsdaten\Sikulix
  executing jar: R:\Sikulix\sikulix.jar
  *** classpath dump sikulix
    0: file:/R:/Sikulix/sikulix.jar
    1: file://ksrenapp01/home/xenas/Anwendungsdaten/Sikulix/Extensions/jython-stan
  dalone-2.7.1.jar
    2: file://ksrenapp01/home/xenas/Anwendungsdaten/Sikulix/Extensions/jruby-compl
  ete-9.2.0.0.jar
  *** classpath dump end
  ***** show environment end
  [655 debug] init user preferences
  [670 debug] IDE: running with Locale: de
  [DEBUG]startUp: IDE: --- Sikuli parameters ---
  [DEBUG]startUp: IDE: 1: -v
  [686 debug] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
  [936 debug] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
  [936 debug] IDE: Init ScriptingSupport
  [951 debug] IDESupport: enter
  [3962 debug] Runner: added: Robot [robot] text/robot
  [3962 debug] Runner: added: PowerShell [ps1] text/powershell
  [3962 debug] Runner: added: SikulixJar [jar] text/jar
  [3962 debug] Runner: added: PackedSikulix [zip] application/zip
  [3962 debug] Runner: added: Text [txt] text/text
  [3962 debug] Runner: added: NetworkRunner [] NET
  [4087 debug] Runner: added: Jython [py] text/jython
  [4087 debug] Runner: added: PackedSikulix [skl] text/skl
  [4087 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScri
  ptRunner: warning: not possible
  [4149 debug] Runner: added: JRuby [rb] text/ruby
  [4149 debug] Runner: added: Sikulix [] directory/sikulix
  [4555 debug] Runner: added: JavaScript [js] text/javascript
  [4555 debug] IDESupport: added: Jython
  [4555 debug] IDESupport: added: JRuby
  [4555 debug] IDESupport: added: JavaScript
  [4555 debug] IDESupport: added: Text
  [4555 debug] IDESupport: exit: defaultrunner: Jython (py)
  [4555 debug] IDE: Reading Preferences
  [4570 debug] Screen: initScreens: starting
  [4570 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment(
  )
  [4570 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment(
  ).getScreenDevices()
  [4570 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
  [4570 debug] Screen: Monitor 0: (0, 0) 1823 x 1139
  [4570 debug] Screen: initScreens: ending
  [4570 debug] IDE: Adding components to window
  [4586 debug] IDE: [I18N] menuRecent
  [4602 debug] IDE: [I18N] menuToolAndroid
  [4617 debug] IDE: creating tabbed editor
  [4711 debug] IDE: creating message area
  [4789 debug] EditorConsolePane: starting redirection to message area

  And the coresponding Output in IDE debug-area:

  Exception in thread "Thread-32" org.sikuli.script.SikuliXception: Cannot initialize Script runner Jython
  	at org.sikuli.script.runners.AbstractScriptRunner.init(AbstractScriptRunner.java:77)
  	at org.sikuli.ide.EditorPane$2.run(EditorPane.java:357)
  Caused by: java.lang.NullPointerException
  	at org.sikuli.script.runnerSupport.JythonSupport.interpreterExecString(JythonSupport.java:302)
  	at org.sikuli.script.runners.JythonRunner.doInit(JythonRunner.java:89)
  	at org.sikuli.script.runners.AbstractScriptRunner.init(AbstractScriptRunner.java:69)
  	... 1 more
  Exception in thread "Thread-31" org.sikuli.script.SikuliXception: Cannot initialize Script runner Jython
  	at org.sikuli.script.runners.AbstractScriptRunner.init(AbstractScriptRunner.java:77)
  	at org.sikuli.ide.EditorPane$2.run(EditorPane.java:357)
  Caused by: java.lang.NullPointerException
  	at org.sikuli.script.runnerSupport.JythonSupport.interpreterExecS
  tring(JythonSupport.java:302)
  	at org.sikuli.script.runners.JythonRunner.doInit(JythonRunner.java:89)
  	at org.sikuli.script.runners.AbstractScriptRunner.init(AbstractScriptRunner.java:69)
  	... 1 more

  I really don't have any idea what is going wrong, any hepl is
  apreciated!

  Best Regards,
  Xenofon

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1840891/+subscriptions


References