I would try this even though it is not the same line number, it's close and it wouldn't hurt to do this if you haven't tried it yet. I would also delete all of the user-specific records for that form code and company in SY_ReportSetting.
The Form/Report code referenced in SY_LastFormUsed.m4t is invalid. Delete the record in SY_LastFormUsed.m4t for the affected report, company and user.
Determine the company key in SY_Company.m4t.
Note: This step is not necessary if only one company code exists.
Expand Modules, Library Master, and Utilities. Double-click Data File Display and Maintenance (DFDM).
Select ..\Mas90\Mas_System\Sy_Company.m4t.
Click the Key lookup button, and select the affected company code.
Note the company key (for example: 0000000003)
Determine the company key in SY_Company.m4t.
Expand Modules, Library Master, and Utilities. Double-click Data File Display and Maintenance (DFDM).
Select ..\Mas90\Mas_System\Sy_User.m4t.
Click the Key lookup button, and select the affected user code.
Note the user key (for example: 0000000008)
Delete the record in SY_LastFormUsed.m4t for the affected report, company and user.
Expand Modules, Library Master, and Utilities. Double-click Data File Display and Maintenance (DFDM).
In DFDM, select ..\Mas90\Mas_System\SY_LastFormUsed.m4t.
Click the Key lookup button and select a record that matches the module, company key, and report name.
Click the Delete button.
Test the report. If nothing happens, repeat step 3 again for each report setting until the report opens.
Close DFDM.
Run the report again