You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the standard "SISO-REF-010" there are lists containing defined DIS field-values.
For example there are "Electromagnetic Emitters [UID 75]", which is a 16-bit enumeration with possible values between zero and 65535.
Not all possible values have a counterpart.
Excerpt from SISO-REF-010-2023:
As you can see there are no counterparts for the numbers 0,1,8,9,11 and so on. On top of that these lists get updated almost every year.
In a theater simulation we cannot assume that all simulation systems are up to date and use the same SISO Ref Tables.
Here is an example error report from Open DIS when using it in a real world simulation environment: No corresponding enumeration found for value 1 of enum EmitterName java.lang.NullPointerException: Cannot invoke "edu.nps.moves.dis7.enumerations.EmitterName.getValue()" because the return value of "edu.nps.moves.dis7.pdus.EmitterSystem.getEmitterName()" is null
The library is non-responsing from this moment on and you have to restart the application.
It is caused by a simulation software in this network that uses the enum 1. It shouldn't, regarding the standard, but it does.
The error makes sense as the value 1 is undefined, but it shouldn't crash the Open DIS library.
The text was updated successfully, but these errors were encountered:
In the standard "SISO-REF-010" there are lists containing defined DIS field-values.
For example there are "Electromagnetic Emitters [UID 75]", which is a 16-bit enumeration with possible values between zero and 65535.
Not all possible values have a counterpart.
Excerpt from SISO-REF-010-2023:
As you can see there are no counterparts for the numbers 0,1,8,9,11 and so on. On top of that these lists get updated almost every year.
In a theater simulation we cannot assume that all simulation systems are up to date and use the same SISO Ref Tables.
Here is an example error report from Open DIS when using it in a real world simulation environment:
No corresponding enumeration found for value 1 of enum EmitterName java.lang.NullPointerException: Cannot invoke "edu.nps.moves.dis7.enumerations.EmitterName.getValue()" because the return value of "edu.nps.moves.dis7.pdus.EmitterSystem.getEmitterName()" is null
The library is non-responsing from this moment on and you have to restart the application.
It is caused by a simulation software in this network that uses the enum 1. It shouldn't, regarding the standard, but it does.
The error makes sense as the value 1 is undefined, but it shouldn't crash the Open DIS library.
The text was updated successfully, but these errors were encountered: