Advertisement
fedorm

Untitled

Jul 3rd, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 16.47 KB | None | 0 0
  1. .07 12:47:20.425 INFO  [TechProcessImpl] TP searchProduct 9905100100001
  2. 03.07 12:47:20.425 INFO  [CatalogService] getGoodsByBarCode barcode = 9905100100001
  3. 03.07 12:47:20.429 INFO  [CatalogService] get product by barcode '9905100100001' result: null
  4. 03.07 12:47:20.429 INFO  [SpeedLog] CatalogGoods: dataFinder.getProductByBarcode, barcode = 9905100100001 time = 4 ms
  5. 03.07 12:47:20.430 INFO  [SpeedLog] CatalogGoods#getGoodsByBarCode, barcode = 9905100100001 time = 5 ms
  6. 03.07 12:47:20.433 INFO  [CatalogService] Get product by item '9905100100001' result null
  7. 03.07 12:47:20.433 INFO  [SpeedLog] searchProduct time  time = 8 ms
  8. 03.07 12:47:20.437 TRACE [MLServiceImpl] entering isEnabled()
  9. 03.07 12:47:20.437 TRACE [MLServiceImpl] leaving isEnabled(). the result is: true
  10. 03.07 12:47:20.437 TRACE [MLServiceImpl] entering isMlCoupon(String). The argument is: "9905100100001"
  11. 03.07 12:47:20.438 TRACE [MLServiceImpl] leaving isMlCoupon(String). The result is: false
  12. 03.07 12:47:20.438 TRACE [SCService] entering isEnabled()
  13. 03.07 12:47:20.438 TRACE [SCService] leaving isEnabled(). the result is: true
  14. 03.07 12:47:20.438 TRACE [SCService] entering isSmChCoupon(String). The argument is: "9905100100001"
  15. 03.07 12:47:20.438 TRACE [SCService] leaving isSmChCoupon(String). The result is: false
  16. 03.07 12:47:20.439 TRACE [MLServiceImpl] entering isEnabled()
  17. 03.07 12:47:20.439 TRACE [MLServiceImpl] leaving isEnabled(). the result is: true
  18. 03.07 12:47:20.440 TRACE [MLServiceImpl] entering isMlCard(String, boolean). The argument are: "9905100100001"
  19. 03.07 12:47:20.440 TRACE [MLServiceImpl] leaving isMlCard(String, boolean). The result is: false
  20. 03.07 12:47:20.460 TRACE [CardPluginEmulator] entering getCardInfo(String). The argument is: 9905100100001
  21. 03.07 12:47:20.461 TRACE [CardPluginEmulator] entering readProperties(IntegrationProperties, Logger)
  22. 03.07 12:47:20.462 TRACE [CardPluginEmulator] leaving readProperties(IntegrationProperties, Logger). The result is: CardPluginEmulatorProperties{getInfoUrl=http://127.0.0.1:10071/card-plugin-processing/emulator/get-card, writeOffUrl=http://127.0.0.1:10071/card-plugin-processing/emulator/write-off, rollbackUrl=http://127.0.0.1:10071/card-plugin-processing/emulator/rollback, connectionTimeout=1000, readTimeout=1000, cardNoPrefixes=[151, 152], cardNoLength=7}; it took 1 [ms]
  23. 03.07 12:47:20.462 TRACE [CardPluginEmulator] leaving getCardInfo(String). The card (no: "9905100100001") does not belong to our processing for sure!
  24. 03.07 12:47:20.462 DEBUG [ExampleCardPlugin] entering getCardInfo(CardInfoSearchParams). The arguments are: request [ru.crystals.pos.cards.service.PluginCardSearchRequest@1a5b4e8]
  25. 03.07 12:47:20.465 DEBUG [ExampleCardPlugin] leaving getCardInfo(CardInfoSearchParams). The card [9905100100001] does not exist in the processing for sure
  26. 03.07 12:47:20.520 WARN  [BonusBalanceSupplier] Processing "CashCardsApplication" has provided no bonus balance for card "9905100100001"
  27. 03.07 12:47:20.537 ERROR [SegmentProcessingClient] Client 110769 not found
  28. 03.07 12:47:20.564 TRACE [TechProcessImpl] entering applyClientRequisites(ClientEntity). The argument is: holder [ClientEntity [id=110769; guid=110769; deleted=false]]
  29. 03.07 12:47:20.564 TRACE [TechProcessImpl] leaving applyClientRequisites(ClientEntity). Cash template prohibits usage of personal-sensitive data to send e-receipt to a card-ho;der
  30. 03.07 12:47:20.577 ERROR [ExternalEncryptedEventPacket] Thread-45   Ошибка расшифровки пакета
  31. java.security.InvalidKeyException: Unwrapping failed
  32.     at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)
  33.     at javax.crypto.Cipher.unwrap(Cipher.java:2550)
  34.     at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.encryptAesKey(ExternalPacketCipher.java:57)
  35.     at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.decode(ExternalPacketCipher.java:48)
  36.     at ru.crystals.pos.prismabridge.external.ExternalEncryptedEventPacket.parseEvent(ExternalEncryptedEventPacket.java:44)
  37.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.decodePacket(PrismaEmulatorRunnable.java:168)
  38.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.readBytes(PrismaEmulatorRunnable.java:91)
  39.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.run(PrismaEmulatorRunnable.java:71)
  40.     at java.lang.Thread.run(Thread.java:745)
  41. Caused by: javax.crypto.BadPaddingException: Decryption error
  42.     at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
  43.     at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
  44.     at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
  45.     at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)
  46.     ... 8 more
  47. 03.07 12:47:21.601 INFO  [DocumentSender] ping = true
  48. 03.07 12:47:21.893 INFO  [TransferManager] OD found 0 documents to register
  49. 03.07 12:47:21.916 INFO  [DocumentSender] OD found 0 transactions to register
  50. 03.07 12:47:21.919 INFO  [DocumentSender] response message = Created
  51. 03.07 12:47:21.919 INFO  [TransferManager] Send document status : 161 > WAIT_ACKNOWLEDGEMENT            file name : 1/Document_20190703124721_918_3388_1.ser
  52. 03.07 12:47:21.921 INFO  [CheckService] SetSentToServerStatus : 161 > WAIT_ACKNOWLEDGEMENT file name : 1/Document_20190703124721_918_3388_1.ser
  53. 03.07 12:47:21.924 INFO  [DocumentSender] document 1/Document_20190703124721_918_3388_1.ser has been registered
  54. 03.07 12:47:21.924 INFO  [TransferManager] Send document status : 161 > SENT            file name : 1/Document_20190703124721_918_3388_1.ser
  55. 03.07 12:47:21.927 INFO  [CheckService] SetSentToServerStatus : 161 > SENT file name : 1/Document_20190703124721_918_3388_1.ser
  56. 03.07 12:47:21.948 INFO  [DocumentSender] OD found 0 payment transactions
  57. 03.07 12:47:22.013 INFO  [TechProcessImpl] eventControlKey: ControlKey [scanCode=10, command=kbdEnter]
  58. 03.07 12:47:22.015 INFO  [TechProcessImpl] TP searchProduct 00515
  59. 03.07 12:47:22.019 INFO  [CatalogService] Get product by item '00515' result ProductPieceEntity[name=Пряник яблочный сочный (Россия), item=00515]
  60. 03.07 12:47:22.021 INFO  [SpeedLog] getProductRestrictions  time = 1 ms
  61. 03.07 12:47:22.021 INFO  [SpeedLog] searchProduct time  time = 4 ms
  62. 03.07 12:47:22.047 INFO  [SpeedLog] (CHECK_CONTAINER) show product container time = 0,022 sec; average speed = 0,062 sec; position test num = 3.0; product item 00515; <22>
  63. 03.07 12:47:22.047 INFO  [CommonLogger] busy = false
  64. 03.07 12:47:22.060 ERROR [ExternalEncryptedEventPacket] Thread-45   Ошибка расшифровки пакета
  65. java.security.InvalidKeyException: Unwrapping failed
  66.     at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)
  67.     at javax.crypto.Cipher.unwrap(Cipher.java:2550)
  68.     at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.encryptAesKey(ExternalPacketCipher.java:57)
  69.     at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.decode(ExternalPacketCipher.java:48)
  70.     at ru.crystals.pos.prismabridge.external.ExternalEncryptedEventPacket.parseEvent(ExternalEncryptedEventPacket.java:44)
  71.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.decodePacket(PrismaEmulatorRunnable.java:168)
  72.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.readBytes(PrismaEmulatorRunnable.java:91)
  73.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.run(PrismaEmulatorRunnable.java:71)
  74.     at java.lang.Thread.run(Thread.java:745)
  75. Caused by: javax.crypto.BadPaddingException: Decryption error
  76.     at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
  77.     at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
  78.     at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
  79.     at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)
  80.     ... 8 more
  81. 03.07 12:47:22.070 ERROR [ExternalEncryptedEventPacket] Thread-45   Ошибка расшифровки пакета
  82. java.security.InvalidKeyException: Unwrapping failed
  83.     at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)
  84.     at javax.crypto.Cipher.unwrap(Cipher.java:2550)
  85.     at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.encryptAesKey(ExternalPacketCipher.java:57)
  86.     at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.decode(ExternalPacketCipher.java:48)
  87.     at ru.crystals.pos.prismabridge.external.ExternalEncryptedEventPacket.parseEvent(ExternalEncryptedEventPacket.java:44)
  88.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.decodePacket(PrismaEmulatorRunnable.java:168)
  89.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.readBytes(PrismaEmulatorRunnable.java:91)
  90.     at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.run(PrismaEmulatorRunnable.java:71)
  91.     at java.lang.Thread.run(Thread.java:745)
  92. Caused by: javax.crypto.BadPaddingException: Decryption error
  93.     at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
  94.     at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
  95.     at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
  96.     at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)
  97.     ... 8 more
  98. 03.07 12:47:22.144 INFO  [TechProcessImpl] TechProcess add position id: null; number: 1; item: 00515; type: ProductPieceEntity; count: 1000; sum: 6818; sumDiscount: 0; dateTime: (NULL); num-in-original: null
  99. 03.07 12:47:22.156 INFO  [SpeedLog] TP addPosition time = 11 ms
  100. 03.07 12:47:22.300 INFO  [TechProcessImpl] eventFunctionKey: FunctionKey [scanCode=32, command=kbdSubtotal]
  101. 03.07 12:47:22.314 INFO  [CommonLogger] busy = true
  102. 03.07 12:47:22.316 TRACE [TechProcessImpl] Start warn divide alco
  103. 03.07 12:47:22.316 TRACE [TechProcessImpl] End warn devide alco
  104. 03.07 12:47:22.322 INFO  [TechProcessImpl] goToDiscounts
  105. 03.07 12:47:22.335 INFO  [LoyalBridgeServiceImpl] --------------- begin discount calculation ---------------
  106. 03.07 12:47:22.335 INFO  [FiscalPrinter] getFactoryNum
  107. 03.07 12:47:22.335 INFO  [FiscalPrinter] FactoryNum = 0000033881
  108. 03.07 12:47:22.335 INFO  [FiscalPrinter] getRegNum
  109. 03.07 12:47:22.336 INFO  [FiscalPrinter] RegNum = NFM.3388.1.0.1562082998963
  110. 03.07 12:47:22.336 INFO  [FiscalPrinter] getEklzNum
  111. 03.07 12:47:22.336 INFO  [FiscalPrinter] EklzNum = 0d319dd5-d622-48c9-9567-d84a9c462236
  112. 03.07 12:47:22.336 INFO  [FiscalPrinter] getVerBios
  113. 03.07 12:47:22.336 INFO  [FiscalPrinter] VerBios = 27
  114. 03.07 12:47:22.343 INFO  [LoyalProductFinder] Time finding items (1) = 2 ms
  115. 03.07 12:47:22.343 INFO  [LoyalProductsConverter] Time searching loyal goods for 1 productItems = 2 ms
  116. 03.07 12:47:22.343 INFO  [LoyalCalculatorConverter] Time converting 1 positions = 0 ms
  117. 03.07 12:47:22.565 WARN  [LoyaltyRestrictionsServiceImpl] checkRestrictions: no limits received
  118. 03.07 12:47:22.566 INFO  [DoProcessing] ============ LoyalCalculation: doDiscount start ============
  119. 03.07 12:47:22.566 INFO  [DoProcessing] GeneralInteractionMethod: MAXIMUM_DISCOUNT
  120. 03.07 12:47:22.574 INFO  [DoProcessing] ============ LoyalCalculation: doDiscount success ============
  121. 03.07 12:47:22.585 TRACE [MLServiceImpl] entering getMlCardNo(Purchase). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
  122. 03.07 12:47:22.586 TRACE [MLServiceImpl] leaving getMlCardNo(Purchase). The result is: null
  123. 03.07 12:47:22.587 TRACE [MLServiceImpl] entering getMlCouponNo(PurchaseEntity). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
  124. 03.07 12:47:22.587 TRACE [MLServiceImpl] leaving getMlCouponNo(PurchaseEntity). The result is: null
  125. 03.07 12:47:22.587 TRACE [SCService] entering isEnabled()
  126. 03.07 12:47:22.588 TRACE [SCService] leaving isEnabled(). the result is: true
  127. 03.07 12:47:22.588 TRACE [SCService] entering calcDiscount(Purchase). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
  128. 03.07 12:47:22.590 TRACE [SCService] Send request <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  129. <ChequeRequest xmlns="http://smartcheckout.ru/xsd/s10ren.xsd" ChequeType="Soft">
  130.     <RequestID>1562147240542</RequestID>
  131.     <Card>
  132.         <CardNumber>9905100100001</CardNumber>
  133.     </Card>
  134.     <DateTime>2019-07-03T12:47:22.589+03:00</DateTime>
  135.     <POS>1</POS>
  136.     <Number>1562147240542</Number>
  137.     <Summ>68.18</Summ>
  138.     <Discount>0.000</Discount>
  139.     <SummDiscounted>68.18</SummDiscounted>
  140.     <Item>
  141.         <PositionNumber>1</PositionNumber>
  142.         <Article>00515</Article>
  143.         <ArticleName>Пряник яблочный сочный (Россия)</ArticleName>
  144.         <Price>68.18</Price>
  145.         <Quantity>1.000</Quantity>
  146.         <Summ>68.18</Summ>
  147.         <Discount>0.000</Discount>
  148.         <SummDiscounted>68.18</SummDiscounted>
  149.     </Item>
  150. </ChequeRequest>
  151.  
  152. 03.07 12:47:22.590 TRACE [SCService] entering getServices()
  153. 03.07 12:47:22.591 TRACE [SCService] getting services (IN MEMORY)
  154. 03.07 12:47:22.591 TRACE [SCService] leaving getServices(). The result size is: 2
  155. 03.07 12:47:22.613 TRACE [SCService] Received response: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  156. <ChequeRequestResponce xmlns="http://smartcheckout.ru/xsd/s10ren.xsd">
  157.     <RequestID>1562147240542</RequestID>
  158.     <Processed>2019-07-03T12:47:22.597+03:00</Processed>
  159.     <ReturnCode>0</ReturnCode>
  160.     <CashierMessageTO>0</CashierMessageTO>
  161.     <Summ>68.18</Summ>
  162.     <Discount>0.000</Discount>
  163.     <SummDiscounted>68.18</SummDiscounted>
  164.     <Item>
  165.         <PositionNumber>1</PositionNumber>
  166.         <Article>00515</Article>
  167.         <ArticleName>Пряник яблочный сочный (Россия)</ArticleName>
  168.         <Price>68.18</Price>
  169.         <MinPrice>0</MinPrice>
  170.         <Quantity>1.000</Quantity>
  171.         <Summ>68.18</Summ>
  172.         <Discount>0.000</Discount>
  173.         <SummDiscounted>68.18</SummDiscounted>
  174.     </Item>
  175. </ChequeRequestResponce>
  176.  
  177. 03.07 12:47:22.613 TRACE [SCReceiptConverter] ml discounts: {position-key [marking: 00515; original-price: 6818]=0}
  178. 03.07 12:47:22.613 TRACE [SCReceiptConverter] it was inferred that no SC POS discounts were given on position [key: position-key [marking: 00515; original-price: 6818]]: SC discount value is: 0
  179. 03.07 12:47:22.614 TRACE [SCService] leaving calcDiscount(Purchase). The result is: Purchase:[number=null;dateCreate=(NULL);operationType=null;checkSum=6818;discount=0]; it took 26 [ms]
  180. 03.07 12:47:22.614 INFO  [DoProcessing] ============ LoyalCalculation: doDiscount start ============
  181. 03.07 12:47:22.614 INFO  [DoProcessing] GeneralInteractionMethod: MAXIMUM_DISCOUNT
  182. 03.07 12:47:22.614 INFO  [DoProcessing] ============ LoyalCalculation: doDiscount success ============
  183. 03.07 12:47:22.615 INFO  [DoProcessing] ============ LoyalCalculation: doDiscount start ============
  184. 03.07 12:47:22.615 INFO  [DoProcessing] GeneralInteractionMethod: MAXIMUM_DISCOUNT
  185. 03.07 12:47:22.615 INFO  [DoProcessing] ============ LoyalCalculation: doDiscount success ============
  186. 03.07 12:47:22.616 TRACE [MLServiceImpl] entering getMlCardNo(Purchase). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
  187. 03.07 12:47:22.616 TRACE [MLServiceImpl] leaving getMlCardNo(Purchase). The result is: null
  188. 03.07 12:47:22.616 TRACE [MLServiceImpl] entering getMlCouponNo(PurchaseEntity). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
  189. 03.07 12:47:22.616 TRACE [MLServiceImpl] leaving getMlCouponNo(PurchaseEntity). The result is: null
  190. 03.07 12:47:22.616 INFO  [LoyalServiceImpl] Discount calculation (Purchase #8; Positions: 1
  191. 03.07 12:47:22.616 WARN  [LoyalServiceImpl] extractNonDiscountRelatedFields: the argument is NULL! Null will be returned!
  192. 03.07 12:47:22.628 INFO  [LoyalBridgeServiceImpl] Total time of discount calculation = 293 ms
  193. 03.07 12:47:22.628 INFO  [LoyalBridgeServiceImpl] ---------------- end discount calculation ----------------
  194. 03.07 12:47:22.633 INFO  [SpeedLog] TechProcess discounts processing on cheque with 1 positions [sale] time = 310 ms
  195. 03.07 12:47:22.633 INFO  [CommonLogger] value = 0
  196. 03.07 12:47:22.651 TRACE [TechProcessImpl] Start warn divide amount
  197. 03.07 12:47:22.651 INFO  [TechProcessImpl] goToPayments
  198. 03.07 12:47:22.658 INFO  [CheckContainer] startPayments() surcharge = 6818
  199. 03.07 12:47:22.663 INFO  [CheckContainer] isPaymentComplete = false
  200. 03.07 12:47:22.663 INFO  [CheckContainer] prevState = ADD_POSITION
  201. 03.07 12:47:22.663 INFO  [CheckContainer] paid = 0
  202. 03.07 12:47:22.663 INFO  [CheckContainer] surcharge = 6818
  203. 03.07 12:47:22.663 INFO  [CheckContainer] getPaymentFiscalizeError = NONE
  204. 03.07 12:47:22.663 INFO  [CheckContainer] Current payment container is ru.crystals.pos.visualization.payments.cash.CashPaymentContainer
  205. 03.07 12:47:22.668 INFO  [CommonLogger] busy = false
  206. 03.07 12:47:22.669 INFO  [SpeedLog] (SUBTOTAL) time = 0,355;
  207. 03.07 12:47:22.672 INFO  [CommonLogger] busy = false
  208. 03.07 12:47:27.090 INFO  [TransferManager] Nothing yet not processed on server to resend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement