Hello, thank you for your help!

Basil Gasser, the error generated is the same but in different locations.

I debug the class ImpinjBlockPermalockOpSpecResu
lt and noticed that the error is generated when it creates an instance of
the object ImpinjBlockPermalockResultType, specifically this code:
result = new ImpinjBlockPermalockResultType (binary.subList (position,
                    ImpinjBlockPermalockResultType.length ()));

Ex:
LLRPBitList binary:
00000000000000000110010100011010000000000000000000000000001110011111010101000010
LLRPBitList list: 11110101
value: 245

The constructor's ImpinjBlockPermalockResultType class is passed  a
LLRPBitList list. I noticed that LLRPBitList was varying between  11101000
and 11110101 (232 and 245). This value is assigned to an  attribute named
"value" (attribute present in the parent class  unsignedByte) and is called
isValidValue a method that checks if this  value is between 0 and 6. So the
exception is thrown (throw new  IllegalArgumentException ("Value not
allowed")).

Await any suggestions.
------------------------------------------------------------------------------

_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to