Resource Menu


RE : Error in CEXinteractor
Hi, I'm working on the CEX study. I've put one thruster (Xe+) and one cathod on a spacecraft. Without the CEXinteractor, the simulation works very well but when I turn on the CEXinteractor, there's an error message :

java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at spis.Util.io.Introspection.getUIDefinedInstance(Unknown Source) at spis.Top.Simulation.SimulationFromUIParams.init(Unknown Source) at spis.Top.Simulation.SimulationFromUIParams.(Unknown Source) at spis.Top.Top.NumTopFromUI.(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.python.core.PyReflectedConstructor.call(PyReflectedConstructor.java) at org.python.core.PyJavaInstance.init(PyJavaInstance.java) at org.python.core.PyJavaClass.call(PyJavaClass.java) at org.python.core.PyObject.call(PyObject.java) at Bin.JyTop4$py.BuildSim$3(D:\Documents\lupini\Spis3_7RC09\ThirdPart\Jython\jython-2.1\..\..\..\SpisUI\Bin\JyTop4.py:361) at Bin.JyTop4$py.call_function(D:\Documents\lupini\Spis3_7RC09\ThirdPart\Jython\jython-2.1\..\..\..\SpisUI\Bin\JyTop4.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.call(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at Bin.SpisNumCaller$py.BuildSim$6(D:\Documents\lupini\Spis3_7RC09\ThirdPart\Jython\jython-2.1\..\..\..\SpisUI\Bin\SpisNumCaller.py:175) at Bin.SpisNumCaller$py.call_function(D:\Documents\lupini\Spis3_7RC09\ThirdPart\Jython\jython-2.1\..\..\..\SpisUI\Bin\SpisNumCaller.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.call(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at Bin.Tasks.TaskJyTop$py.run$9(D:\Documents\zxsysatos002\SPIS\Spis3_7RC09\ThirdPart\Jython\jython-2.1\..\..\..\SpisUI\Bin\Tasks\TaskJyTop.py:168) at Bin.Tasks.TaskJyTop$py.call_function(D:\Documents\zxsysatos002\SPIS\Spis3_7RC09\ThirdPart\Jython\jython-2.1\..\..\..\SpisUI\Bin\Tasks\TaskJyTop.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.call(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at threading$py._Thread__bootstrap$45(/home/max/Spis2.99.05/SpisUI/../ThirdPart/Jython/jython-2.1/Lib/threading.py:378) at threading$py.call_function(/home/max/Spis2.99.05/SpisUI/../ThirdPart/Jython/jython-2.1/Lib/threading.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.call(PyFunction.java) at org.python.core.PyMethod.call(PyMethod.java) at org.python.core.PyObject.call(PyObject.java) at org.python.modules.FunctionThread.run(thread.java) Caused by: java.lang.ClassCastException: java.lang.Float at spis.Top.Default.GlobalParameter.getValueAsInt(Unknown Source) at spis.Vol.VolInteract.CEXInteractor.(Unknown Source) … 43 more Error in building volume interactor: Exception at spis.Vol.VolInteract.CEXInteractor instantiation Parameter scenario not found in global parameter list = returning default value

I don't know where is the error.

Thanks you very much for your help.

Jonathan

Hi Jonathan.

I had a similar issue with the CEX when I modelled FEEPs back in 2007 (that was with SPIS 3.6). Back than CEX part of the code did only cover the CEX generation for Cesium (Cs+). I don't know if the CEX part of the code has been updated since then (JFR will know) but you can easily find out if you try Cs+ instead of Xe+.

Best,

Bjarne

posted by Bjarne Andersson at May 26, 2009 1:48 PM