I tried parsing files with entities of the types LINE, POLYLINE and POINT, and they all came out as they should.
I also had a test with a polygon which should have the type SOLID (it might also be HATCH by looking at the source, I just know this is the type of data I need to read). However, this time the "entities" array is empty.
I've attached the .dxf-file here (but renamed it with a txt-extension for github upload):
areas_test.txt