← Back to team overview

sikuli-driver team mailing list archive

[Bug 1622761] [NEW] SikuliX 1.1.0 IDE failing to start in macOS 12 Beta

 

Public bug reported:

I've recently updated to the 10.12 macOS Sierra beta and since then have
had trouble starting SikuliX IDE 1.1.0 (and Nightly 1.1.1). When I start
the IDE it seems to hang during the Init Window stage. Running with -d
flag, seems like there's an exception causing the gui not load:

[debug] RunTime: option -d detected --- log goes to SikulixLog.txt
Exception in thread "main" java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: LEFT
	at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:463)
	at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:424)
	at java.awt.Container.addImpl(Container.java:1127)
	at java.awt.Container.add(Container.java:973)
	at org.jdesktop.swingx.prompt.BuddySupport.addToComponentHierarchy(BuddySupport.java:72)
	at org.jdesktop.swingx.prompt.BuddySupport.ensureBuddiesAreInComponentHierarchy(BuddySupport.java:139)
	at org.jdesktop.swingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:163)
	at org.jdesktop.swingx.plaf.TextUIWrapper.install(TextUIWrapper.java:49)
	at org.jdesktop.swingx.JXSearchField.setUseNativeSearchFieldIfPossible(JXSearchField.java:528)
	at org.jdesktop.swingx.JXSearchField.<init>(JXSearchField.java:178)
	at org.sikuli.ide.SikuliIDE.createSearchField(SikuliIDE.java:2275)
	at org.sikuli.ide.SikuliIDE.initToolbar(SikuliIDE.java:2006)
	at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:324)
	at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:258)
	at org.sikuli.ide.Sikulix.main(Sikulix.java:21)


SikulixLog.txt logs:


[debug] Debug: setLogFile: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/SikulixLog.txt
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: loadOptions: check: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: loadOptions: check: /Users/AUser
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: loadOptions: check: /Users/AUser/Library/Application Support/Sikulix/SikulixStore
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: global init: entering as: IDE
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: ScreenDevice 0 contains (0,0) --- will be used as primary
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: fSxBase: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: runs as sikulix.jar in: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
[debug (9/12/16 2:39:49 PM)] RunTimeINIT: exists libs folder at: /Users/AUser/Library/Application Support/Sikulix/SikulixLibs_201504150100
***** show environment for IDE (build 201504150100)
user.home: /Users/AUser
user.dir (work dir): /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
user.name: AUser
java.io.tmpdir: /var/folders/g6/m1lchlrs0yb9r3nqgtcwclqw0000gp/T
running 64Bit on Mac OSX (10.12) as application .app (not from /Applications folder)
java 8-64 version 1.8.0_101-b13 vm 25.101-b13 class 52.0 arch x86_64
app data folder: /Users/AUser/Library/Application Support/Sikulix
libs folder: /Users/AUser/Library/Application Support/Sikulix/SikulixLibs_201504150100
executing jar: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/sikulix.jar
*** classpath dump sikulix
  0: /Users/AUser/Downloads/SikuliX%201.1.1%20Nightly/SikuliX.app/Contents/Java/sikulix.jar
*** classpath dump end
***** show environment end
[debug (9/12/16 2:39:49 PM)] RunTimeIDE: global init: leaving
[debug (9/12/16 2:39:49 PM)] RunTimeIDE: initIDEbefore: entering
[debug (9/12/16 2:39:49 PM)] RunTimeIDE: initIDEbefore: leaving
[debug (9/12/16 2:39:49 PM)] init user preferences
[debug (9/12/16 2:39:49 PM)] IDE: running with Locale: en_US
[debug (9/12/16 2:39:49 PM)] IDE: initNativeSupport: starting
[debug (9/12/16 2:39:49 PM)] IDE: initNativeSupport: success
[debug (9/12/16 2:39:50 PM)] --- Sikuli parameters ---
[debug (9/12/16 2:39:50 PM)] 1: -d
[debug (9/12/16 2:39:50 PM)] RunTimeIDE: loadLib: libMacHotkeyManager.dylib
[info (9/12/16 2:39:50 PM)] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
[debug (9/12/16 2:39:50 PM)] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
[info (9/12/16 2:39:50 PM)] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
[debug (9/12/16 2:39:50 PM)] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
[debug (9/12/16 2:39:50 PM)] ScriptingSupport: initScriptingSupport: enter
[debug (9/12/16 2:39:54 PM)] JythonSupport: init: starting
[debug (9/12/16 2:39:54 PM)] JythonSupport: init: success
[debug (9/12/16 2:39:54 PM)] JythonSupport: ***** Jython sys.path
 0: /Users/AUser/Downloads/SikuliX%201.1.1%20Nightly/SikuliX.app/Contents/Java/sikulix.jar/Lib
 1: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/Lib
 2: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/sikulix.jar/Lib
 3: __classpath__
 4: __pyclasspath__/
[debug (9/12/16 2:39:54 PM)] JythonSupport: ***** Jython sys.path end
[debug (9/12/16 2:39:54 PM)] Jython: sikuli: Sikuli: starting init
[debug (9/12/16 2:39:55 PM)] RunTimeIDE: loadLib: libVisionProxy.dylib
[debug (9/12/16 2:39:55 PM)] Mouse: init
[debug (9/12/16 2:39:55 PM)] KeyBoard: init
[debug (9/12/16 2:39:55 PM)] RunTimeIDE: loadLib: libMacUtil.dylib
[debug (9/12/16 2:39:55 PM)] Jython: requested to use as default region: R[0,0 1280x800]@S(0)
[debug (9/12/16 2:39:56 PM)] Jython: sikuli: Sikuli: ending init
[debug (9/12/16 2:39:56 PM)] JythonScriptRunner: running Jython 2.7.0 
[debug (9/12/16 2:39:56 PM)] ScriptingSupport: initScriptingSupport: added: jython
[debug (9/12/16 2:39:56 PM)] ScriptingSupport: initScriptingSupport: warning: org.sikuli.scriptrunner.IScriptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be instantiated
[debug (9/12/16 2:39:56 PM)] ScriptingSupport: initScriptingSupport: exit with defaultrunner: jython (py)
[debug (9/12/16 2:39:56 PM)] IDE: Adding components to window
[debug (9/12/16 2:39:56 PM)] [I18N] menuRecent
[debug (9/12/16 2:39:56 PM)] IDE: creating tabbed editor
[debug (9/12/16 2:39:56 PM)] IDE: creating message area
[debug (9/12/16 2:39:56 PM)] IDE: creating combined work window
[debug (9/12/16 2:39:56 PM)] IDE: Putting all together
[debug (9/12/16 2:41:44 PM)] RunTimeIDE: final cleanup
[debug (9/12/16 2:41:44 PM)] FileManager: deleteFileOrFolder:
/var/folders/g6/m1lchlrs0yb9r3nqgtcwclqw0000gp/T/Sikulix

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  SikuliX 1.1.0 IDE failing to start in macOS 12 Beta

Status in Sikuli:
  New

Bug description:
  I've recently updated to the 10.12 macOS Sierra beta and since then
  have had trouble starting SikuliX IDE 1.1.0 (and Nightly 1.1.1). When
  I start the IDE it seems to hang during the Init Window stage. Running
  with -d flag, seems like there's an exception causing the gui not
  load:

  [debug] RunTime: option -d detected --- log goes to SikulixLog.txt
  Exception in thread "main" java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: LEFT
  	at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:463)
  	at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:424)
  	at java.awt.Container.addImpl(Container.java:1127)
  	at java.awt.Container.add(Container.java:973)
  	at org.jdesktop.swingx.prompt.BuddySupport.addToComponentHierarchy(BuddySupport.java:72)
  	at org.jdesktop.swingx.prompt.BuddySupport.ensureBuddiesAreInComponentHierarchy(BuddySupport.java:139)
  	at org.jdesktop.swingx.plaf.TextUIWrapper$DefaultWrapper.replaceUIIfNeeded(TextUIWrapper.java:163)
  	at org.jdesktop.swingx.plaf.TextUIWrapper.install(TextUIWrapper.java:49)
  	at org.jdesktop.swingx.JXSearchField.setUseNativeSearchFieldIfPossible(JXSearchField.java:528)
  	at org.jdesktop.swingx.JXSearchField.<init>(JXSearchField.java:178)
  	at org.sikuli.ide.SikuliIDE.createSearchField(SikuliIDE.java:2275)
  	at org.sikuli.ide.SikuliIDE.initToolbar(SikuliIDE.java:2006)
  	at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:324)
  	at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:258)
  	at org.sikuli.ide.Sikulix.main(Sikulix.java:21)

  
  SikulixLog.txt logs:

  
  [debug] Debug: setLogFile: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/SikulixLog.txt
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: loadOptions: check: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: loadOptions: check: /Users/AUser
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: loadOptions: check: /Users/AUser/Library/Application Support/Sikulix/SikulixStore
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: global init: entering as: IDE
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: ScreenDevice 0 contains (0,0) --- will be used as primary
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: fSxBase: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: runs as sikulix.jar in: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
  [debug (9/12/16 2:39:49 PM)] RunTimeINIT: exists libs folder at: /Users/AUser/Library/Application Support/Sikulix/SikulixLibs_201504150100
  ***** show environment for IDE (build 201504150100)
  user.home: /Users/AUser
  user.dir (work dir): /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java
  user.name: AUser
  java.io.tmpdir: /var/folders/g6/m1lchlrs0yb9r3nqgtcwclqw0000gp/T
  running 64Bit on Mac OSX (10.12) as application .app (not from /Applications folder)
  java 8-64 version 1.8.0_101-b13 vm 25.101-b13 class 52.0 arch x86_64
  app data folder: /Users/AUser/Library/Application Support/Sikulix
  libs folder: /Users/AUser/Library/Application Support/Sikulix/SikulixLibs_201504150100
  executing jar: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/sikulix.jar
  *** classpath dump sikulix
    0: /Users/AUser/Downloads/SikuliX%201.1.1%20Nightly/SikuliX.app/Contents/Java/sikulix.jar
  *** classpath dump end
  ***** show environment end
  [debug (9/12/16 2:39:49 PM)] RunTimeIDE: global init: leaving
  [debug (9/12/16 2:39:49 PM)] RunTimeIDE: initIDEbefore: entering
  [debug (9/12/16 2:39:49 PM)] RunTimeIDE: initIDEbefore: leaving
  [debug (9/12/16 2:39:49 PM)] init user preferences
  [debug (9/12/16 2:39:49 PM)] IDE: running with Locale: en_US
  [debug (9/12/16 2:39:49 PM)] IDE: initNativeSupport: starting
  [debug (9/12/16 2:39:49 PM)] IDE: initNativeSupport: success
  [debug (9/12/16 2:39:50 PM)] --- Sikuli parameters ---
  [debug (9/12/16 2:39:50 PM)] 1: -d
  [debug (9/12/16 2:39:50 PM)] RunTimeIDE: loadLib: libMacHotkeyManager.dylib
  [info (9/12/16 2:39:50 PM)] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
  [debug (9/12/16 2:39:50 PM)] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
  [info (9/12/16 2:39:50 PM)] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
  [debug (9/12/16 2:39:50 PM)] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
  [debug (9/12/16 2:39:50 PM)] ScriptingSupport: initScriptingSupport: enter
  [debug (9/12/16 2:39:54 PM)] JythonSupport: init: starting
  [debug (9/12/16 2:39:54 PM)] JythonSupport: init: success
  [debug (9/12/16 2:39:54 PM)] JythonSupport: ***** Jython sys.path
   0: /Users/AUser/Downloads/SikuliX%201.1.1%20Nightly/SikuliX.app/Contents/Java/sikulix.jar/Lib
   1: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/Lib
   2: /Users/AUser/Downloads/SikuliX 1.1.1 Nightly/SikuliX.app/Contents/Java/sikulix.jar/Lib
   3: __classpath__
   4: __pyclasspath__/
  [debug (9/12/16 2:39:54 PM)] JythonSupport: ***** Jython sys.path end
  [debug (9/12/16 2:39:54 PM)] Jython: sikuli: Sikuli: starting init
  [debug (9/12/16 2:39:55 PM)] RunTimeIDE: loadLib: libVisionProxy.dylib
  [debug (9/12/16 2:39:55 PM)] Mouse: init
  [debug (9/12/16 2:39:55 PM)] KeyBoard: init
  [debug (9/12/16 2:39:55 PM)] RunTimeIDE: loadLib: libMacUtil.dylib
  [debug (9/12/16 2:39:55 PM)] Jython: requested to use as default region: R[0,0 1280x800]@S(0)
  [debug (9/12/16 2:39:56 PM)] Jython: sikuli: Sikuli: ending init
  [debug (9/12/16 2:39:56 PM)] JythonScriptRunner: running Jython 2.7.0 
  [debug (9/12/16 2:39:56 PM)] ScriptingSupport: initScriptingSupport: added: jython
  [debug (9/12/16 2:39:56 PM)] ScriptingSupport: initScriptingSupport: warning: org.sikuli.scriptrunner.IScriptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be instantiated
  [debug (9/12/16 2:39:56 PM)] ScriptingSupport: initScriptingSupport: exit with defaultrunner: jython (py)
  [debug (9/12/16 2:39:56 PM)] IDE: Adding components to window
  [debug (9/12/16 2:39:56 PM)] [I18N] menuRecent
  [debug (9/12/16 2:39:56 PM)] IDE: creating tabbed editor
  [debug (9/12/16 2:39:56 PM)] IDE: creating message area
  [debug (9/12/16 2:39:56 PM)] IDE: creating combined work window
  [debug (9/12/16 2:39:56 PM)] IDE: Putting all together
  [debug (9/12/16 2:41:44 PM)] RunTimeIDE: final cleanup
  [debug (9/12/16 2:41:44 PM)] FileManager: deleteFileOrFolder:
  /var/folders/g6/m1lchlrs0yb9r3nqgtcwclqw0000gp/T/Sikulix

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


Follow ups