P
P
Pavel2018-09-10 04:30:54
go
Pavel, 2018-09-10 04:30:54

Error "runtime error: invalid memory address or nil pointer dereference" what is the problem?

The error is displayed runtime error: invalid memory address or nil pointer dereference
Approximately at the moment

item_sheet_ln, ok = ln_sheet[ArrMid[i]]
    if r.Is_factor {
      vale *= item_sheet_ln.Factor
    }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2018-09-10
@index0h

Check what ArrMid[i]exists and what is item_sheet_lnnot nil.
In principle, nil can ber.Is_factor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question