It happens when opening any b4a project. Yesterday everything was working fine. Also with b4i and b4j.
B4A - 'dh'
B4I - 'aj'
B4J - 'ca'
Don't know what happened but something got screwed on my PC.
Tried to uninstall and reinstall b4a but the error continues.
The type initializer for 'dh' threw an exception. - B4A
The type initializer for 'aj' threw an exception. - B4I
The type initializer for 'ca' threw an exception. - B4J
I ended up uninstalling and removing all b4x software files, performing a system restore on windows 10 and reinstalling all software. Now they are working.