Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OpsProcessor cannot be accessed by a thread other than....

Status
Not open for further replies.

SaberPOS

Programmer
Mar 12, 2021
12
US
Hey everyone. Has anyone come across this error with Simphony before? We are using Gen1 Transaction Services and attempting a PostTransactionEx2Request. It looks to be a printing error but not sure what about the printing configuration would cause a threading issue.

Thanks in advance.

Code:
& ppMenuItems‚ SimphonyPosApi_ComboMealEx[]& ppComboMeals‚ SimphonyPosApi_SvcChargeEx& pServiceChg‚ SimphonyPosApi_DiscountEx[]& pSubTotalDiscount‚ SimphonyPosApi_TmedDetailItemEx2[]& pTmedDetailEx‚ SimphonyPosApi_TotalsResponseEx& totalsResponse‚ String[]& ppCheckPrintLines‚ String[]& ppVoucherOutput‚ SimphonyPosApi_Extensibility[]& checkExtensibilityDetails),
12/06/23 10:27:39.776, 5, 0,API         ,       40,Simphony Pos Api: Post transaction error for check 338: OpsProcessor cannot be accessed by a thread other than the one it was started on.,
12/06/23 10:27:39.776, 5, 0,API         ,       40,Simphony Pos Api: Simphony POS API error message: OpsProcessor cannot be accessed by a thread other than the one it was started on.‚ Stack trace:    at Micros.Ops.OpsProcessor.VerifyAccess()
   at Micros.Ops.OpsProcessor.OpenRequest(OpsRequest request)
   at Micros.Ops.OpsProcessor.GetPrinterFromGroup(PrinterType printerType‚ List`1 printers‚ PrinterID definedPrinter‚ PrinterGroupSelection data)
   at Micros.PosCore.DataStore.DbRecords.WorkstationPrinters.FindPrinterIdInternal(PrinterType printerType‚ Boolean doLookup)
   at Micros.PosCore.Printing.PrintGuestCheck.GetPrinters()
   at Micros.PosCore.Printing.PrintGuestCheck.CreatePrintJob(PrintJob& job‚ Boolean& onDemand‚ Boolean& isCustReceipt)
   at Micros.PosCore.Printing.GuestCheckPrinting.Print(GuestCheckPrintParameters parameters‚ PrintJob& onDemandCustomeReceiptPrintJob‚ Print2ndCheckQuestion print2ndCheckQuestion‚ Enum e‚ Boolean tfCurCnvActive)
   at SimphonyPosApi.TSOPS.DoPrinting(SimphonyPosApi_GuestCheck& pGuestCheck‚ GuestCheck check‚ TenderInfo tmedInfo‚ DbEmployee empl)
   at SimphonyPosApi.TSOPS.PostCheck(SimphonyPosApi_GuestCheck& pGuestCheck‚ GuestCheck check‚ Int32 tenderObjNum)
   at SimphonyPosApi.TSOPS.PostNewTransaction(SimphonyPosApi_GuestCheck& pGuestCheck‚ SimphonyPosApi_MenuItemEx[]& ppMenuItems‚ SimphonyPosApi_ComboMealEx[]& ppComboMeals‚ SimphonyPosApi_SvcChargeEx& pServiceChg‚ SimphonyPosApi_DiscountEx[]& pSubTotalDiscount‚ SimphonyPosApi_TmedDetailItemEx2[]& pTmedDetailEx‚ SimphonyPosApi_TotalsResponseEx& totalsResponse‚ String[]& ppCheckPrintLines‚ String[]& ppVoucherOutput‚ SimphonyPosApi_Extensibility[]& checkExtensibilityDetails)
   at SimphonyPosApi.TransactionServicesClass.PostTransactionEx2(SimphonyPosApi_GuestCheck& pGuestCheck‚ SimphonyPosApi_MenuItemEx[]& ppMenuItemsEx‚ SimphonyPosApi_ComboMealEx[]& ppComboMealsEx‚ SimphonyPosApi_SvcChargeEx& pServiceChgEx‚ SimphonyPosApi_DiscountEx[]& pSubTotalDiscountEx‚ SimphonyPosApi_TmedDetailItemEx2[]& pTmedDetailEx2‚ SimphonyPosApi_TotalsResponseEx& pTotalsResponseEx‚ String[]& ppCheckPrintLines‚ String[]& ppVoucherOutput‚ SimphonyPosApi_Extensibility[] checkExtensibilityDetails)
   at SimphonyPosApi_Web.SimphonyPosAPIWeb.PostTransactionEx2(PostTransactionEx2Request request)
   at SimphonyPosApi_Web.SimphonyPosAPIWeb.PostTransactionEx2(String& pGuestCheck‚ String& ppMenuItemsEx‚ String& ppComboMealsEx‚ String& pSvcChargeEx‚ String& pSubTotalDiscountEx‚ String& pTmedDetailEx2‚ String& pTotalsResponseEx‚ String& ppCheckPrintLines‚ String& ppVoucherOutput‚ String checkExtensibilityDetails),]
 
Yes. We made 3 or 4 test transactions and received that message each time.
 
Yeah I was thinking the same. Extensibility app. We are just making calls with Transaction Services but I wonder if they have an extension in place that be causing the issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top