[119]null pointerException in retester

i try to do retest using GBPJPY H1


then i click start, it shown as below:

11:37:49 Error while running project 'Retester'.
        java.lang.NullPointerException
at com.strategyquant.datalib.dataseries.TimeDataSeriesBase.size(Unknown Source)
at com.strategyquant.tradinglib.strategy.PreparedChartData.<init>(Unknown Source)
at com.strategyquant.tradinglib.strategy.MarketData.cloneToPrepared(Unknown Source)
at com.strategy...
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / M15
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Main test - GBPJPY / H1
11:37:49 Initializing backtest data...
11:37:49 Starting strategies retesting...
11:37:49 ================================

you can duplicate it use the config i uploaded

some situations i observed:

* remove additional market 3 & 4, it works
* change precision of  additional market 3 & 4 from "1 min data tick simulation" to "selected timeframe only", it works
* change the time from 2017.3.5 to 2016.3.5, it works 

please check it 

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

sm
#1

samuel

10.03.2019 12:50

Task created

sm
#2

samuel

10.03.2019 13:01

Subject changed from null pointerException in retester to [119]null pointerException in retester

Description changed:

i try to do retest using GBPJPY H1

And i add four additional markets



then i click start, it shown as below:


11:37:49 Error while running project 'Retester'.
        java.lang.NullPointerException
at com.strategyquant.datalib.dataseries.TimeDataSeriesBase.size(Unknown Source)
at com.strategyquant.tradinglib.strategy.PreparedChartData.<init>(Unknown Source)
at com.strategyquant.tradinglib.strategy.MarketData.cloneToPrepared(Unknown Source)
at com.strategy...
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / M15
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Main test - GBPJPY / H1
11:37:49 Initializing backtest data...
11:37:49 Starting strategies retesting...
11:37:49 ================================


but after i delete the additional markets and re-added again , it works...

you can duplicate it use the config i uploaded, and after you can remove additional market 3 & 4, it has no error... (or add it again)

Attachment SQX.cfx added

sm
#3

samuel

10.03.2019 13:07

Description changed:

i try to do retest using GBPJPY H1

And i add four additional markets



then i click start, it shown as below:


11:37:49 Error while running project 'Retester'.
        java.lang.NullPointerException
at com.strategyquant.datalib.dataseries.TimeDataSeriesBase.size(Unknown Source)
at com.strategyquant.tradinglib.strategy.PreparedChartData.<init>(Unknown Source)
at com.strategyquant.tradinglib.strategy.MarketData.cloneToPrepared(Unknown Source)
at com.strategy...
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / M15
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Main test - GBPJPY / H1
11:37:49 Initializing backtest data...
11:37:49 Starting strategies retesting...
11:37:49 ================================

you can duplicate it use the config i uploaded


* remove additional market 3 & 4, it has no error...

* change precision of  additional market 3 & 4 from "1 min data tick simulation" to "selected timeframe only", it has no error too


please check it 

sm
#4

samuel

10.03.2019 13:08

Description changed:

i try to do retest using GBPJPY H1


then i click start, it shown as below:

11:37:49 Error while running project 'Retester'.
        java.lang.NullPointerException
at com.strategyquant.datalib.dataseries.TimeDataSeriesBase.size(Unknown Source)
at com.strategyquant.tradinglib.strategy.PreparedChartData.<init>(Unknown Source)
at com.strategyquant.tradinglib.strategy.MarketData.cloneToPrepared(Unknown Source)
at com.strategy...
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / M15
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Main test - GBPJPY / H1
11:37:49 Initializing backtest data...
11:37:49 Starting strategies retesting...
11:37:49 ================================

you can duplicate it use the config i uploaded


* remove additional market 3 & 4, it has no error...
* change precision of  additional market 3 & 4 from "1 min data tick simulation" to "selected timeframe only", it has no error too


please check it 

sm
#5

samuel

10.03.2019 13:36

Description changed:

i try to do retest using GBPJPY H1


then i click start, it shown as below:

11:37:49 Error while running project 'Retester'.
        java.lang.NullPointerException
at com.strategyquant.datalib.dataseries.TimeDataSeriesBase.size(Unknown Source)
at com.strategyquant.tradinglib.strategy.PreparedChartData.<init>(Unknown Source)
at com.strategyquant.tradinglib.strategy.MarketData.cloneToPrepared(Unknown Source)
at com.strategy...
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / M15
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Retest on additional markets - GBPJPY / H1
11:37:49 Data loaded from memory
11:37:49 Loading backtest data for Main test - GBPJPY / H1
11:37:49 Initializing backtest data...
11:37:49 Starting strategies retesting...
11:37:49 ================================

you can duplicate it use the config i uploaded

some situations i observed:


* remove additional market 3 & 4, it works
* change precision of  additional market 3 & 4 from "1 min data tick simulation" to "selected timeframe only", it works
* change the time from 2017.3.5 to 2016.3.5, it works 

please check it 

sm
#6

samuel

10.03.2019 13:51
it seems can't add a additional market with same start time and different end time that longer than main test data
MF
#7

Mark Fric

02.04.2019 10:42

Status changed from New to Waiting for information

sorry, I cannot reproduce it. It works for me also with your config.,


It also works if I have additional market with same start time and different end time that longer than main test data.


Do you have exact steps whow to reproduce this issue?

MF
#8

Mark Fric

03.04.2019 13:57

Status changed from Waiting for information to Refused


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please