Thursday 9th Apr 2020

0 Products |
0.00 ₴

Your Cart

Total
Sum total:
0.00 ₴
Go to cart
Wednesday, 25 March 2020 12:42

Error: index was out of bounds of array

Written by
Rate this item
(0 votes)

During the work of the CashFront cash program, when trying to make an X-report or Z-report, an error “The index was out of bounds of the array” may appear:

Log Error

Such an error occurs very rarely, but it happens during computer malfunctions (power surges, the simultaneous operation of a large number of programs, etc.). In this case, an incorrect entry is made in the current log, which leads to this error.

How to fix the error?

Open the database directory. Where it is, we can look in the settings, the tab "System", the synchronization directory:

Database path

Open this directory (folder) in Explorer, then enter the Jornal directory:

Path to the jornal

In it we are looking for a file called "Today's date", for example, 24.03.2020.txt:

Path to the log file

CAUTION!
Before you change the file, make a backup copy of it!

We open this file with any text editor (the most convenient Notepad ++) and look for line breaks in it, this is the cause of the error. Delete empty lines, save changes:

Error in log file

We try to make an X-report, if everything was done correctly, the report prints without errors:

Report without errors

 

Read 95 times Last modified on Saturday, 04 April 2020 16:08
  • Default
  • Title
  • Date
  • Random
load more hold SHIFT key to load all load all

Briefly:

Software development for trade;
Supply of computer equipment with installed software;
Control and accounting systems: scales, bar code scanners, check printers and other commercial equipment.

Newsletter

Do not miss our news!

Location:

58000, Ukraine, Chernivtsi
+380 (68) 196 8830
+380 (50) 374 9540
E-mail: office@cashfront.net


facebook business.site youtube twitter