Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoundsError for test that parses incorrect UUID #166

Closed
mbravenboer opened this issue May 15, 2023 · 1 comment · Fixed by #167
Closed

BoundsError for test that parses incorrect UUID #166

mbravenboer opened this issue May 15, 2023 · 1 comment · Fixed by #167

Comments

@mbravenboer
Copy link

      From worker 3:    │ === EXCEPTION SUMMARY ===
      From worker 3:    │ 
      From worker 3:    │ BoundsError: attempt to access 37-element view(::Vector{UInt8}, 122:158) with eltype UInt8 at index [38]
      From worker 3:    │  [1] throw_boundserror(A::SubArray{UInt8, 1, Vector{UInt8}, Tuple{UnitRange{Int32}}, true}, I::Tuple{Int64})
      From worker 3:    │    @ Base ./abstractarray.jl:703
      From worker 3:    │ 
      From worker 3:    │ ===========================
      From worker 3:    │ 
      From worker 3:    │ Original Error message:
      From worker 3:    │ 
      From worker 3:    │ ERROR: BoundsError: attempt to access 37-element view(::Vector{UInt8}, 122:158) with eltype UInt8 at index [38]
      From worker 3:    │ Stacktrace:
      From worker 3:    │   [1] throw_boundserror(A::SubArray{UInt8, 1, Vector{UInt8}, Tuple{UnitRange{Int32}}, true}, I::Tuple{Int64})
      From worker 3:    │     @ Base ./abstractarray.jl:703
      From worker 3:    │   [2] checkbounds
      From worker 3:    │     @ ./abstractarray.jl:668 [inlined]
      From worker 3:    │   [3] getindex
      From worker 3:    │     @ ./subarray.jl:314 [inlined]
      From worker 3:    │   [4] peekbyte
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/utils.jl:356 [inlined]
      From worker 3:    │   [5] typeparser(#unused#::Type{Base.UUID}, source::SubArray{UInt8, 1, Vector{UInt8}, Tuple{UnitRange{Int32}}, true}, pos::Int64, len::Int64, b::UInt8, code::Int16, pl::Parsers.PosLen, options::Parsers.Options)
      From worker 3:    │     @ Parsers ~/.julia/packages/Parsers/mPY37/src/hexadecimal.jl:94
      From worker 3:    │   [6] #23
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:382 [inlined]
      From worker 3:    │   [7] checkforsentinel
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:244 [inlined]
      From worker 3:    │   [8] stripwhitespace
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:89 [inlined]
      From worker 3:    │   [9] findquoted
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:220 [inlined]
      From worker 3:    │  [10] stripwhitespace
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:89 [inlined]
      From worker 3:    │  [11] _finddelimiter
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:368 [inlined]
      From worker 3:    │  [12] checkemptysentinel
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:40 [inlined]
      From worker 3:    │  [13] #6
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/components.jl:13 [inlined]
      From worker 3:    │  [14] _xparse
      From worker 3:    │     @ ~/.julia/packages/Parsers/mPY37/src/Parsers.jl:343 [inlined]
@quinnj
Copy link
Member

quinnj commented May 16, 2023

@Drvi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants