READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

‘java.lang.NullPointerException’ Error

7 replies

RJL

Customer, bbp_participant, community, 67 replies.

Visit profile

11 years ago #114350

I’ve had this error a few times now…

 

java.lang.NullPointerException
at com.sonarbytes.gn.engine.OptimizerEngine.optimizeMultiWF(OptimizerEngine.java:158)
at com.sonarbytes.gn.engine.OptimizerEngine.optimize(OptimizerEngine.java:72)
at com.sonarbytes.gn.engine.WFOEngine.testExisting(WFOEngine.java:146)
at com.sonarbytes.gn.engine.WFOEngine.doInBackground(WFOEngine.java:84)
at com.sonarbytes.gn.engine.WFOEngine.doInBackground(WFOEngine.java:1)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
 

 

Most recently when running a WFM test, and the process just ultimately never finishes.

 

Any ideas?

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

11 years ago #133573

Do you know what setup leads to this error or do you get it just randomly?

0

RJL

Customer, bbp_participant, community, 67 replies.

Visit profile

11 years ago #133575

Hi Tomas,

 

Seems random…doesn’t always happen.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

11 years ago #133644

Ok will check it if I can find some ‘pattern’ causing this

0

Dan

Customer, bbp_participant, community, sq-ultimate, 31 replies.

Visit profile

11 years ago #133675

I have sent Mark 4 emails since Thursday in regards to the same Error that Is mentioned above when I try to use the WFO Forward Matrix. I HAVE RECEIVED NOT ONE RESPONSE BACK??? I’m also a potential new customer as I’m considering buying SQ which baffles me as I would think as a potential buyer I would be a priority especially when I’m testing out the product which I might buy that I’m receiving a major error???

As a business your most valuable asset isn’t your software or product’ you develop but instead are your clients, as with out clients especially potentially new ones(such as myself) you wont have a business to operate. Can you please advise as to the error below.

java.lang.NullPointerException
at com.sonarbytes.gn.engine.OptimizerEngine.performSimulatedWFOptimization(OptimizerEngine.java:332)
at com.sonarbytes.gn.engine.OptimizerEngine.optimizeWF(OptimizerEngine.java:260)
at com.sonarbytes.gn.engine.OptimizerEngine.optimizeMultiWF(OptimizerEngine.java:132)
at com.sonarbytes.gn.engine.OptimizerEngine.optimize(OptimizerEngine.java:72)
at com.sonarbytes.gn.engine.WFOEngine.testExisting(WFOEngine.java:146)
at com.sonarbytes.gn.engine.WFOEngine.doInBackground(WFOEngine.java:84)
at com.sonarbytes.gn.engine.WFOEngine.doInBackground(WFOEngine.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

0

clonex / Ivan Hudec

Customer, bbp_participant, community, sq-ultimate, contributor, author, editor, 268 replies.

Visit profile

11 years ago #133676

Whats your wfa settings ?

Odoslané z SM-G900F pomocou Tapatalku

0

Dan

Customer, bbp_participant, community, sq-ultimate, 31 replies.

Visit profile

11 years ago #133678

I’m using settings that I previously used with WFO which I didn’t receive the error back then but for some reason now I get the error when it’s done running it’s tests. Out Of Sample% 20/30 step by 5. Walk Forward Runs 4/15 step by 5 Parameter settings are fine, previously used with no error, optimizing two indicator settings and then Sl, TP,Time Ranges ect.. Instead of using the “Simulated” option which gives me the error. I’m going to try and use the “Exact” option and see if I get an error at the end again.

0

robotrend

Subscriber, bbp_participant, community, customer, 1 replies.

Visit profile

9 years ago #196175

I’ve had the same problem in WF run with Out of Sample (20 / 50 / 10) and run (5 /14 /3) do you have any solution?

0

Viewing 7 replies - 1 through 7 (of 7 total)