Comment 3 for bug 1402056

Revision history for this message
Voodoo (voodoo-master-6666) wrote : Re: [1.0.1] Try to open shared image in PatternWindow will cause a NullPointerException

I did a fresh install yesterday, see setup log:

[debug (12.12.14 20:49:51)] Debug: setLogFile: H:\Temp\SikuliX-1.1\SikuliX-1.1.0-SetupLog.txt
[debug (12.12.14 20:49:51)] RunSetup: ... starting with no args given
[debug (12.12.14 20:49:51)] RunSetup: Setup in: H:\Temp\SikuliX-1.1
using: H:\Temp\SikuliX-1.1\sikulixsetup-1.1.0.jar
[debug (12.12.14 20:49:51)] RunSetup: SikuliX Setup Build: 1.1.0 2014-12-12_01:01nightly
[debug (12.12.14 20:49:51)] RunSetup: RunningSystem: Windows 6.3
[debug (12.12.14 20:49:51)] RunSetup: parent of jar/classes: H:\Temp\SikuliX-1.1
[debug (12.12.14 20:49:51)] RunSetup: RunningJava: Java 7 (amd64) 1.7.0_72-b14

And here my test scripts:
# main.sikuli
import sys, os
sharedPath = os.path.abspath(os.path.join(getBundlePath(), ".."))
sys.path.insert(0, sharedPath)
import shared
reload(shared)
from shared import *
wait(Pattern("shared_image.png").exact()) # shows up after run and toggle twice with Ctrl + T

# shared.sikuli
from sikuli import *
"shared_image.png"

I have opened only the main script, if this matters.