[b136 dev 1] crashed and now all is lost including the entire workflow

I created a new small workflow and left it running overnight. It looks like my config did have a setting to save every ten minutes to files but nothing seemed to have been saved. Ran into some memory problems and the stop button became greyed out, it was still partially responsive, I could move the scroll bars (eventually) and I could see the animation of the task running but the stop button was just greyed out and did nothing, I tried for an hour to stop it. Finally, I ended the task via windows. There is a folder in the user/projects for my new workflow but when I restarted SQX it is not in the workflow list. The folder is devoid of any of the strategies but does contain a project.cfx file and some logs.... I've attached those....


Attachments
m15-EU-market-01.zip
(16.84 KiB)
  • Votes +5
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

bentra

11.04.2022 20:51

Task created

b
#2

bentra

11.04.2022 20:57


I took a snip from the debug logs upon startup. It seems to be related to the workflow that will not load.


14:51:25.688 [main] INFO  c.s.w.server.AbstractUIWebServer - GUI started, you can access it on http://localhost:8080 14:51:25.690 [main] DEBUG c.strategyquant.webguilib.BrowserGUI - Opening url:http://localhost:8080/?nocache=1649703085690 14:51:25.690 [main] INFO  c.strategyquant.webguilib.BrowserGUI - Loading URL in CEF browser 14:51:25.694 [Thread-261] DEBUG c.s.tradinglib.project.ProjectEngine - Loading project 'm15-EU-market-01'. 14:51:25.730 [Thread-261] ERROR c.s.tradinglib.project.SQProject - Checking project 'm15-EU-market-01' xml failed. Exc. java.lang.NullPointerException: Cannot invoke "java.util.zip.ZipEntry.getName()" because "<local3>" is null at com.strategyquant.tradinglib.file.SQFileManager.getZipContent(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.file.SQFileManager.loadTaskConfig(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.SQProject.checkTasksConfig(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.SQProject.initProject(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.SQProject.<init>(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.loadProject(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.loadAvailableProjects(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.<init>(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.getInstance(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.list(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.webguilib.servlet.MainServlet.onGetConfigs(Unknown Source) ~[SQWebGUILib.jar:na] at com.strategyquant.webguilib.servlet.MainServlet.access$400(Unknown Source) ~[SQWebGUILib.jar:na] at com.strategyquant.webguilib.servlet.MainServlet$10.run(Unknown Source) ~[SQWebGUILib.jar:na] 14:51:25.731 [Thread-261] ERROR c.s.tradinglib.project.ProjectEngine - Cannot load project m15-EU-market-01. Exc. java.lang.NullPointerException: Cannot invoke "java.util.zip.ZipEntry.getName()" because "<local3>" is null at com.strategyquant.tradinglib.file.SQFileManager.getZipContent(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.file.SQFileManager.loadTaskConfig(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.SQProject.checkTasksConfig(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.SQProject.initProject(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.SQProject.<init>(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.loadProject(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.loadAvailableProjects(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.<init>(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.getInstance(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.tradinglib.project.ProjectEngine.list(Unknown Source) ~[SQTradingLib.jar:na] at com.strategyquant.webguilib.servlet.MainServlet.onGetConfigs(Unknown Source) ~[SQWebGUILib.jar:na] at com.strategyquant.webguilib.servlet.MainServlet.access$400(Unknown Source) ~[SQWebGUILib.jar:na] at com.strategyquant.webguilib.servlet.MainServlet$10.run(Unknown Source) ~[SQWebGUILib.jar:na] 14:51:25.731 [Thread-261] DEBUG c.s.tradinglib.project.ProjectEngine - Loading project 'Optimizer'. 14:51:25.737 [Thread-261] DEBUG c.s.tradinglib.project.ProjectEngine - Loading project 'Retester'. 14:51:25.739 [Thread-280] DEBUG c.s.strategyquant.SQInstaller - Checking for new SQX Installer 14:51:25.743 [Thread-261] DEBUG com.strategyquant.lib.SQUtils - Cannot get attribute 'resultsCount', it doesn't exist 14:51:25.743 [Thread-261] DEBUG com.strategyquant.lib.SQUtils - Cannot get attribute 'stabilityRange', it doesn't exist 14:51:25.743 [Thread-261] DEBUG com.strategyquant.lib.SQUtils - Cannot get attribute 'pctToPass', it doesn't exist 14:51:25.869 [Thread-280] DEBUG c.s.strategyquant.SQInstaller - Installed version: 1 14:51:25.870 [Thread-280] DEBUG c.s.strategyquant.SQInstaller - Available version: 1





b
#3

bentra

11.04.2022 21:37
Although I can't reproduce the not saving of the files, they are saving to disk on schedule now. I also tried to reproduce the failed workflow but creating a flow and then ending the task, but even then it still saved and wasn't corrupt. 
b
#4

bentra

12.04.2022 03:43

Attachment launcher_2022_04_10.log added

launcher_2022_04_10.log
(1.14 KiB)
launcher log
b
#5

bentra

12.04.2022 03:45

Attachment log_2022_04_11.zip added

log_2022_04_11.zip
(962.45 KiB)
logs from today.

There is no crash log in the root, I guess because I ended the task myself.
b
#6

bentra

12.04.2022 16:04
Voted for this task.
E
#7

Emmanuel

14.04.2022 15:34
Voted for this task.
g
#8

geektrader

15.04.2022 17:53
Voted for this task.
IN
#9

altenburg90

18.04.2022 02:48
Voted for this task.
Cc
#10

Cyber

08.05.2022 05:10
Voted for this task.
TT
#11

Tamas

06.09.2022 19:21
Fixed in build 136 dev3
TT
#12

Tamas

06.09.2022 19:21

Status changed from New to Fixed


Votes: +5

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please