[Archive] Java Error 1

Message by Anthony DeCicco:
Hello,
I had made it through to the Global parameters part of SPIS. Upon saving and continuing I was prompted by this error. I am uncertain as to what this error means.
Stacktrace:
java.lang.ArrayIndexOutOfBoundsException: 206
at com.artenum.penelope.field.data.IntDataArray.get(IntDataArray.java:106)
at com.artenum.penelope.field.data.IntDataArray.get(IntDataArray.java:28)
at org.spis.ui.ui2num.util.Ui2Num.buildMeshElementIdsFlagArray(Ui2Num.java:382)
at org.spis.ui.ui2num.util.Ui2Num.buildNumTopFromUI(Ui2Num.java:204)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:162)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:52)
at org.keridwen.core.messaging.AbstractCommand.execute(AbstractCommand.java:200)
at org.keridwen.core.messaging.DefaultBundleController$CallableCommand.call(DefaultBundleController.java:260)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thank you,
Anthony

Message by ruard:
Dear Anthony,
I think the problem comes from the definition of the spacecraft groups at the group editor level.
1- may you check if physicals of your space craft is well defined in .geo or .msh files?2- may you check the definition of groups of your spacecraft, specially the data field deployed by the group editor called “NodeFlagS”. It is possible to visualize it in the data miner in the category called “Preprocessing”. Be sure this data field is compound of one or several topologically balls.
3- If you have deployed several times your pre-processing data fields in the group editor, may you tell me which is the option you chose (Clean up and update all data fields, Clean up and update selected data fields or Keep all data fields) ?
By the way, what is your SPIS version?
Kind regards,
Benjamin

Message by Anthony DeCicco:
Benjamin,
You were definitely correct about errors in the definition of the .geo and .msh files. I had ill defined some of the surfaces and that seems to be the root of that error set. When I look at “Node Flag S,” the values are all 0 and I see tiny balls that comprise my spacecraft shape. I had defined separate surfaces along my spacecraft, should it have different values than 0?’’
Also, I have a new set of errors. I believe these are all related to the settings in the Poisson Solver under Global Parameters. Am I correct in that assumption?
java.lang.ArrayIndexOutOfBoundsException: 0
at spis.Solver.Poisson.PoissonInit.quicksort(PoissonInit.java:150)
at spis.Solver.Poisson.PoissonInit.renumcklb(PoissonInit.java:225)
at spis.Solver.Poisson.PoissonInit.cuthilMackee(PoissonInit.java:91)
at spis.Solver.Poisson.ConjGrad3DUnstructPoissonSolver.init(ConjGrad3DUnstructPoissonSolver.java:332)
at spis.Solver.Poisson.ConjGrad3DUnstructPoissonSolver.(ConjGrad3DUnstructPoissonSolver.java:185)
at spis.Top.Simulation.SimulationFromUIParams.init(SimulationFromUIParams.java:933)
at spis.Top.Simulation.SimulationFromUIParams.(SimulationFromUIParams.java:438)
at spis.Top.Top.NumTopFromUI.(NumTopFromUI.java:157)
at org.spis.ui.ui2num.util.Ui2Num.buildNumTopFromUI(Ui2Num.java:355)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:162)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:52)
at org.keridwen.core.messaging.AbstractCommand.execute(AbstractCommand.java:200)
at org.keridwen.core.messaging.DefaultBundleController$CallableCommand.call(DefaultBundleController.java:259)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thank you for all of your help,
Anthony

Message by Anthony DeCicco:
I’m also using version 5.1

Message by Anthony DeCicco:
UPDATE:
I am troubleshooting by using one of your pre-defined .xml for global paramters (NASA GEO-Worst Case). I reduced the elements in my mesh and have likewise eliminated the Poisson Errors. I am now left with the following errors:
java.lang.ArrayIndexOutOfBoundsException: 45566
at org.spis.ui.ui2num.util.PenelopeIdToSpisId.(PenelopeIdToSpisId.java:90)
at org.spis.ui.ui2num.util.Ui2Num.buildNumTopFromUI(Ui2Num.java:264)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:162)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:52)
at org.keridwen.core.messaging.AbstractCommand.execute(AbstractCommand.java:200)
at org.keridwen.core.messaging.DefaultBundleController$CallableCommand.call(DefaultBundleController.java:259)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-Anthony

Message by Anthony DeCicco:
UPDATE Part 2:
I have figured out that the ArrayIndexOutofBoundsException refers to the number of edges in a given mesh. The first error that refers to PenelopeIdtoSpisId appears to be the root cause. Does anyone know what a Penelope Id is and how I can fix this issue?
Thank you,
Anthony

Message by ruard:
Dear Anthony,
Go to the data miner, visualize the EdgeFlag data field and check its consistency. Otherwise, you can also compare its consistency with other valid projects given in sample with SPIS in directory data.
Previously, you wrote you reduced the elements in your mesh. Check you have well deployed the pre processing data fields during the group editor step with this new mesh.
Regards,
Benjamin

Message by Anthony DeCicco:
Hi Benjamin,
I found out what the error was after looking at that plot and that of the nodeflags. The issue was, I had not defined my spacecraft as a hole in the computational volume when I was in GMSH. I had assumed that GMSH would recognize that my definition of a physical surface would be sufficient for meshing purposes, but it is not and you must define the spacecraft as hole boundaries in the volume definition.
Thank you very much for all of your assistance,
Anthony