Modding Help Error causes crash to desktop, cause unknown [RESOLVED]

Discussion in 'Starbound Modding' started by Rat-Thing, Dec 17, 2020.

  1. Rat-Thing

    Rat-Thing Phantasmal Quasar

    I sincerely have no idea where this error could have come from. When I searched for this error on the forums I did see things that said it could be because i mixed up my brackets/parentheses, but as far as I can tell all the brackets/parentheses are correctly put in.

    I have the potential problem files for download. At least, the ones I am certain of. I've taken the liberty of adding "//Problem?"

    Code:
    [08:26:37.201] [Error] Application: exception thrown, shutting down: (JsonException) Json::get(1) out of range
    [0] 7ff6c242a213 Star::captureStack
    [1] 7ff6c2428f9e Star::StarException::StarException
    [2] 7ff6c23cc2f5 Star::Json::get
    [3] 7ff6c23cc9fc Star::Json::getInt
    [4] 7ff6c28aba0d Star::TreasureDatabase::TreasureDatabase
    [5] 7ff6c27bc105 std::make_shared<Star::TreasureDatabase>
    [6] 7ff6c27bfbc9 <lambda_98d6a6b2615bb1a3f8a0688d25420309>::operator()
    [7] 7ff6c27b1f4f std::_Invoker_functor::_Call<<lambda_98d6a6b2615bb1a3f8a0688d25420309> & __ptr64>
    [8] 7ff6c27b5a56 std::invoke<<lambda_98d6a6b2615bb1a3f8a0688d25420309> & __ptr64>
    [9] 7ff6c27b3729 std::_Invoke_ret<std::shared_ptr<Star::TreasureDatabase>,<lambda_98d6a6b2615bb1a3f8a0688d25420309> & __ptr64>
    [10] 7ff6c27c1da6 std::_Func_impl<<lambda_98d6a6b2615bb1a3f8a0688d25420309>,std::allocator<int>,std::shared_ptr<Star::TreasureDatabase> >::_Do_call
    [11] 7ff6c27c0677 std::_Func_class<std::shared_ptr<Star::PlantDatabase> >::operator()
    [12] 7ff6c27b99c3 Star::Root::loadMemberFunction<Star::TreasureDatabase>
    [13] 7ff6c27b6809 Star::Root::loadMember<Star::TreasureDatabase>
    [14] 7ff6c27c9cd2 Star::Root::treasureDatabase
    [15] 7ff6c27b2220 std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::SpawnTypeDatabase const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [16] 7ff6c27b5709 std::invoke<std::shared_ptr<Star::StatusEffectDatabase const > (__cdecl Star::Root::*& __ptr64)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [17] 7ff6c27b300c std::_Invoke_ret<std::shared_ptr<Star::StagehandDatabase const > (__cdecl Star::Root::*& __ptr64)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [18] 7ff6c27b22ae std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::VehicleDatabase const > (__cdecl Star::Root::*)(void) __ptr64,std::tuple<Star::Root * __ptr64>,std::tuple<> >
    [19] 7ff6c27b1a0e std::_Binder<std::_Unforced,std::shared_ptr<Star::ObjectDatabase const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 const>::operator()<>
    [20] 7ff6c27c1872 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::TreasureDatabase const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 const> >,std::allocator<int>,void>::_Do_call
    [21] 7ff6c2420f3b <lambda_7b083dc4bdd496712d99e51bb49515b5>::operator()
    [22] 7ff6c2421ce2 Star::WorkerPool::WorkerThread::run
    [23] 7ff6c2426d9e Star::ThreadImpl::runThread
    [24] 7ffddbd57c24 BaseThreadInitThunk
    [25] 7ffddc70d4d1 RtlUserThreadStart
    [08:26:37.201] [Info] Application: shutdown...
    [08:26:37.617] [Info] Root: Shutting down Root
    [08:26:38.763] [Info] Application: Destroying SDL Window
    [08:26:39.341] [Info] Application: stopped gracefully
     

    Attached Files:

  2. DrPvtSkittles

    DrPvtSkittles Master Astronaut

    Is that the whole log?
     
  3. Rat-Thing

    Rat-Thing Phantasmal Quasar

    That's the only error, since the game never gets past the loading screen.

    EDIT: I just noticed that it keeps calling the error around "TreasureDatabase". Would that mean it's a problem with one of the .treasurepool files?
     
    Last edited: Dec 25, 2020

Share This Page