Anybody familiar with error org.mozilla.javascript.UniqueTag to NUMBER
<p>@delnan helped me convert a set of booleans into decimal equivalent using ? 1 : 0 which has worked well, I then look up a string message but now get an error message referring to a type conversion based on org.mozilla unique tag. can anyone tell me what this might relate to?
this is the full code segment:</p>

<pre><code>var bit1 = Boolean0 ? 1 : 0;
var bit2 = Boolean1 ? 1 : 0;
var bit3 = Boolean2 ? 1 : 0;

StatusValue = bit1 + (2 * bit2) + (4 * bit3);

//finds the StatusText for the StatusValue
var messageText = ["FAULT", "FAULT", "FAULT", "FAULT", "HAND", "HAND", "STOPPED", "RUNNING"];
StatusString = messageText[StatusValue];
</code></pre>

<p><strong>Error</strong> processing local event: Execution error in service 
Execution error in service script : Unable To Convert From org.mozilla.javascript.UniqueTag to NUMBER.</p>
