[1.1.0] IDE: problems with scripts having an image file with size 0 byte (however this happened ;-)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
High
|
RaiMan |
Bug Description
Sikuli 1.1.0, Windows 7 x64.
When attempting to save a .sikuli in the IDE, instead of saving, the contents of the .sikuli folder are deleted and the IDE returns the error message "[error] EditorPane: read returned null". The contents of the previous .sikuli script are still present in a tab labelled 'Untitled'.
When attempting to save the tab labelled untitled, the IDE returns this error message, and the .sikuli folder is not generated:
"[error] EditorPane: read returned null"
Restarting the IDE then returns:
"[error] EditorPane: read returned null"
"[error] IDE: restoreScriptFr
Permissions for the folders in question allow reading and writing, so doubt it is a file permissions issue.
Steps to reproduce:
1. Create a large script (>200 images, >1000 lines)
2. Attempt to save.
summary: |
- "EditorPane: read returned null" when attempting to open .sikuli + "EditorPane: read returned null" when attempting to save or open .sikuli |
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.1 |
summary: |
- "EditorPane: read returned null" when attempting to save or open .sikuli + [1.1.0] IDE: problems when loading scripts with many lines at startup + restore |
summary: |
- [1.1.0] IDE: problems when loading scripts with many lines at startup - restore + [1.1.0] IDE: problems when saving scripts with many lines and then with + startup restore |
For further contents, the last few lines of the log - no errors prior to this:
[debug] Image: loaded: HomeTab_ ReencodingNotic e.png (file:/ C:/Users/ username/ Documents/ Sikuli/ project/ win7.sikuli/ HomeTab_ ReencodingNotic e.png) ReencodingNotic e.png (17 KB) (# 102 KB 1572 -- 2 % of 64 MB) isteners from: loadFile username/ Documents/ Sikuli/ project/ win7.sikuli/ username/ Documents/ Sikuli/ project/ one.sikuli/ username/ Documents/ Sikuli/ project/ one.sikuli/ username/ Documents/ Sikuli/ project/ project. sikuli/ username/ Documents/ Sikuli/ project/ project. sikuli/ username/ Documents/ Sikuli/ project/ one.sikuli/ username\ AppData\ Local\Temp\ Sikulix_ 1224545332
[debug] Image: cached: HomeTab_
[error] EditorPane: read returned null
[debug] EditorPane: updateDocumentL
[debug] Image: purge: ImagePath: /C:/Users/
[debug] ImagePath: new BundlePath:
/C:/Users/
[debug] Image: purge: ImagePath: /C:/Users/
[debug] ImagePath: new BundlePath:
/C:/Users/
[debug] search: from 0 forward: true
[debug] search: from 0 forward: true
[debug] search: from 0 forward: true
[debug] MenuAction.doQuit
[debug] IDE: doQuit requested
[debug] Image: purge: ImagePath: /C:/Users/
[debug] ImagePath: new BundlePath:
/C:/Users/
[debug] Sikulix: cleanUp: 0
[debug] RunTimeIDE: final cleanup
[debug] FileManager: deleteFileOrFolder:
C:\Users\