Crash when acessing TArray of TSubclassOf

I solved the problem myself… It turns out that itemsDB was null. Thanks to everyone that tried to help me!