Hello @MaximeJ,
This is the error:
JavaError: <super: <class 'JavaError'>, <JavaError object>>
Java stacktrace:
java.lang.NullPointerException
at org.orekit.propagation.PropagatorsParallelizer.propagate(PropagatorsParallelizer.java:160)
I tried to replace the None
with an AttitudeProvider
given to the handler during creation, but I still get the error.
Also, are you aware that with DSST you can directly propagate in mean propagation type ?
It would be much faster than doing a conversion from osculating to mean at each step.
Yes I know this can be done, but since I need to add maneuvers to the propagators later on, I think I should use a NumericalPropagator
and then estimate the mean orbit. On this note, I found another issue, probably because of my lack of understanding of how the parallelizer works.
As I said before, if I remove the call to DSSTPropagator
and the __init__
method in the handler, the propagation works fine. So what I tried to do is this:
- Setup the parallelizer with the setup that works (described above)
- Propagate for 1 day
- Create a maneuver and add it to one of the propagators that is handled by the parallelizer
- Propagate again for 1 more day
However, for some reason when I try to run the second propagation, the code stalls. It seems like the propagation doesn’t even start. Indeed, I tried to add a print statement in the handleStep
method just to make sure, and it confirmed that the second propagation (step 4) doesn’t run. The first propagation (step 2) works perfectly fine instead. Since this is a separate issue maybe it’s worth opening another thread, so as to not create too much confusion in this one?
Best regards,
Emiliano