Unable to start Sikuli IDE after using it for some time

Asked by Krishna

Unable to start Sikuli IDE after using it for some time. After installation, i am able to work for some hrs, and from then when i try to start ide, it is not opening.

Again, we need to re-install to make it work fine again. Same is probelm seen with Sikuli-X-1.0rc3 (r905)-win32 and Sikuli-X-1.0rc2-win32

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Use Sikuli-IDE.bat or Sikuli-IDE-w.bat to start IDE.

Look faq 1766, wether you are affected.

Revision history for this message
Krishna (krishnamurthy-k) said :
#2

Still no IDE is started with both Sikuli-IDE.bat and Sikuli-IDE-w.bat. As per Faq 1766, i see no version issues with me. Please let me know the solution, i can see the java processes running in Task Manager. even the re-installation is also not working

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Running Java 6?

Revision history for this message
Krishna (krishnamurthy-k) said :
#4

yes

Revision history for this message
RaiMan (raimund-hocke) said :
#5

Might be a locale problem.

Try to start in a en-us environment.

Revision history for this message
Krishna (krishnamurthy-k) said :
#6

It is Starting as same. I am from India. Do you want me to edit the batch file?

Revision history for this message
RaiMan (raimund-hocke) said :
#7

What Windows version?

Add the parameter -Dsikuli.console=false to the java execute line in Sikuli-IDE.bat. Might give more information on command line when crashing.

Revision history for this message
Krishna (krishnamurthy-k) said :
#8

Windows XP Professional 2000. Added the statement

Below is the Exception seen on Console

[info] locale: en_US
Exception in thread "main" java.lang.NullPointerException
        at org.sikuli.ide.ImageButton.createFromString(ImageButton.java:241)
        at org.sikuli.ide.SikuliPane.replaceWithImage(SikuliPane.java:617)
        at org.sikuli.ide.SikuliPane.parseLine(SikuliPane.java:568)
        at org.sikuli.ide.SikuliPane.parseRange(SikuliPane.java:528)
        at org.sikuli.ide.SikuliPane.parse(SikuliPane.java:543)
        at org.sikuli.ide.SikuliPane.parse(SikuliPane.java:546)
        at org.sikuli.ide.SikuliPane.read(SikuliPane.java:427)
        at org.sikuli.ide.SikuliPane.loadFile(SikuliPane.java:372)
        at org.sikuli.ide.SikuliIDE.loadFile(SikuliIDE.java:838)
        at org.sikuli.ide.SikuliIDE.restoreSession(SikuliIDE.java:768)
        at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:713)
        at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:138)
        at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:973)

Revision history for this message
Best RaiMan (raimund-hocke) said :
#9

The problem:

When Sikuli IDE starts, it tries to open the script (or scripts), that where open, when Sikuli was last closed. This script contains an image reference, that no longer exists in the respective .sikuli folder (you might know, why this could happen - usually some Sikuli external manipulation by the user ;-)

the solution:

as I said before: see faq 1766:
- get latest version
- delete registry key

Revision history for this message
Krishna (krishnamurthy-k) said :
#10

Thanks RaiMan, that solved my question.

Revision history for this message
Krishna (krishnamurthy-k) said :
#11

I had deleted the last .sikuli folder where i have captured the screen shots, now i am able to open IDE. Thanks

Revision history for this message
sriganesh (sriganesh16) said :
#12

Thanks raiman, it really worked.

Revision history for this message
sourabh jain (sourabh-jain2202) said :
#13

Thanks.. It worked for me 2.