Hey, I found a bug that caused a NullPointerException relating to the Courier ports.
If you shipped something from a station (Haven't tested it on a planet yet, but I believe it cause the same issue), and then consequently cause decivilization on said station, opening the intel screen will cause a CTD with said NullPointerException.
This bug was causing crashes for me too. It took me a while to figure out what was going on. In my case, I had captured a small colony, it's original owners re-captured it, and then it decivilized. I didn't think anything of the deciv warnings because I didn't really care about the colony. You know until my game started crashing.
In my case, it was a volcanic world, so it happens to planets as well as stations. It may be worthwhile to note that the contract should have been finished before the decivilization occurred -- it was a one time contract to haul everything from the small colony to my central market world.
I fixed it by flying back to the planet and re-colonizing it without opening my intel screen. It seems like once the planet was re-colonized the crashes stopped.