It appears that there is a valid SparseMatrixCSC, but cannot be shown.
julia> using SparseArrays
julia> A = [rand(-9:9, 2) for i in 1:2, j in 1:2]
2×2 Matrix{Vector{Int64}}:
[-6, -1] [-7, -6]
[5, 5] [0, -1]
julia> S = sparse(A)
2×2 SparseMatrixCSC{Vector{Int64}, Int64} with 4 stored entries:
[-6, -1] [-7, -6]
[5, 5] [0, -1]
julia> I, J, V = findnz(S); pop!.([I, J, V]);
julia> @info "see" I J V
┌ Info: see
│ I =
│ 3-element Vector{Int64}:
│ 1
│ 2
│ 1
│ J =
│ 3-element Vector{Int64}:
│ 1
│ 1
│ 2
│ V =
│ 3-element Vector{Vector{Int64}}:
│ [-6, -1]
│ [5, 5]
└ [-7, -6]
julia> S_revised = sparse(I, J, V)
2×2 SparseMatrixCSC{Vector{Int64}, Int64} with 3 stored entries:
Error showing value of type SparseMatrixCSC{Vector{Int64}, Int64}:
SYSTEM (REPL): showing an error caused an error
ERROR: MethodError: no method matching zero(::Type{Vector{Int64}})
The function `zero` exists, but no method is defined for this combination of argument types.
Closest candidates are:
zero(::Type{Union{}}, Any...)
@ Base number.jl:310
zero(::Type{Missing})
@ Base missing.jl:104
zero(::Missing)
@ Base missing.jl:101
...
Stacktrace:
[1] print_response(errio::IO, response::Any, backend::Union{…}, show_value::Bool, have_color::Bool, specialdisplay::Union{…})
@ REPL C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\REPL.jl:446
[2] (::REPL.var"#70#71"{REPL.LineEditREPL, Pair{Any, Bool}, Bool, Bool})(io::Any)
@ REPL C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\REPL.jl:405
[3] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
@ REPL C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\REPL.jl:678
[4] print_response(repl::REPL.AbstractREPL, response::Any, show_value::Bool, have_color::Bool)
@ REPL C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\REPL.jl:403
[5] (::REPL.var"#do_respond#100"{Bool, Bool, REPL.var"#116#134"{…}, REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::Any, ok::Bool)
@ REPL C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\REPL.jl:1035
[6] #invokelatest#2
@ .\essentials.jl:1055 [inlined]
[7] invokelatest
@ .\essentials.jl:1052 [inlined]
[8] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\LineEdit.jl:2755
[9] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\REPL.jl:1506
[10] (::REPL.var"#79#85"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL C:\Users\34682\.julia\juliaup\julia-1.11.5+0.x64.w64.mingw32\share\julia\stdlib\v1.11\REPL\src\REPL.jl:497
Some type information was truncated. Use `show(err)` to see complete types.