Error when Julia REPL starts

I am getting the following error when the REPL starts on its on upon connecting into the instance, however I can run the code and everything after this. Just reporting this here in case there is something that needs to be done about this.

Important Note: Pumas.jl is a proprietary package. It is free to use for non-commercial
academic teaching and research purposes. For commercial users, license fees apply.
Further, Pumas may not be used under any license agreement for patient management
services in a hospital or clinical settings. Please refer to End User License Agreement
(https://juliacomputing.com/eula) for details. Please contact sales@pumas.ai
for purchase.
ERROR: ERROR: Invalid history file (/home/jrun/data/.julia/logs/repl_history.jl) format:
If you have a history file left over from an older version of Julia,
try renaming or deleting it.
Invalid character: '\0' at line 15901Invalid history file (/home/jrun/data/.julia/logs/repl_history.jl) format:
If you have a history file left over from an older version of Julia,
try renaming or deleting it.
Invalid character: '\0' at line 15901
Stacktrace:
  [1] 
Stacktrace:error
( ::[1]String , error::(String::, String::, String::, String::, Int64::)String
,     @ ::BaseInt64 )./
error.jl:42   @ Base
  ./ [2]error.jl:42 hist_from_file
( hp[2]:: REPL.REPLHistoryProviderhist_from_file, (pathhp::::StringREPL.REPLHistoryProvider), 
path    @ ::REPLString )/opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/
REPL.jl:550   @ REPL
  /opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/ [3]REPL.jl:550 setup_interface
( repl[3]:: REPL.LineEditREPLsetup_interface, (hascolorrepl::::BoolREPL.LineEditREPL, , extra_repl_keymaphascolor::::AnyBool), 
extra_repl_keymap    @ ::REPLAny )/opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/
REPL.jl:990   @ REPL
  /opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/ [4]REPL.jl:990 setup_interface
( repl[4]:: REPL.LineEditREPLsetup_interface; (hascolorrepl::::BoolREPL.LineEditREPL, ; extra_repl_keymaphascolor::::AnyBool), 
extra_repl_keymap    @ ::REPLAny )/opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/
REPL.jl:895   @ REPL
  /opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/ [5]REPL.jl:895 setup_interface

     @ [5]/opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/ REPL.jl:895setup_interface [inlined]

   @  /opt/julia-1.7.1/share/julia/stdlib/v1.7/REPL/src/ [6]REPL.jl:895  [inlined](::Pkg.var"#3#4")
( repl[6]:: REPL.LineEditREPLhook_repl)(
repl    @ ::PkgREPL.LineEditREPL )/opt/julia-1.7.1/share/julia/stdlib/v1.7/Pkg/src/
Pkg.jl:580   @ VSCodeServer
  ~/data/.code-server-extensions/julialang.language-julia-1.6.17/scripts/packages/VSCodeServer/src/ [7]repl.jl:79 __atreplinit
( repl[7]:: REPL.LineEditREPL(::VSCodeServer.var"#2#5"{REPL.LineEditREPL}))(
)    @ 
Base   @  VSCodeServer./ client.jl:343./task.jl:423
 
 [8]
 [ Info: Disabling history file for this session
#invokelatest#2
    @ ./essentials.jl:716 [inlined]
  [9] invokelatest
    @ ./essentials.jl:714 [inlined]
 [10] _atreplinit
    @ ./client.jl:350 [inlined]
 [11] (::Base.var"#930#932"{Bool, Bool, Bool})(REPL::Module)
    @ Base ./client.jl:393
 [12] #invokelatest#2
    @ ./essentials.jl:716 [inlined]
 [13] invokelatest
    @ ./essentials.jl:714 [inlined]
 [14] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
    @ Base ./client.jl:379
 [15] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:309
 [16] _start()
    @ Base ./client.jl:495

[ Info: Disabling history file for this session

It looks like this can happen on rare occasions for unknown reasons. Try deleting /home/jrun/data/.julia/logs/repl_history.jl. Hopefully, that should fix this issue and hopefully it won’t show up again any time soon. If that doesn’t help then please let us know.