So this Error came up when I was trying to code an assembler, the line that caused this was-
obFW.write(OPTAB.getRecord(Line[1]).value);
I solved it by first storing the Record, Returned by ‘getRecord()’ method, and then using the value of that Record. Maybe the error was caused because the returned object might no longer be in memory, I’m not sure.
Changed Code-
Record r=OPTAB.getRecord(Line[1]);
obFW.write(r.value.toString());
