This question was inspired by this answer concerning rebels escaping at the battle of Endor
The answer references this piece of dialog from a new hope:
BEN
How long before you can make the jump to light speed?
HAN
It'll take a few moments to get the coordinates from the navi-computer.
The ship begins to rock violently as lasers hit it.
LUKE
Are you kidding? At the rate they're gaining...
HAN
Traveling through hyperspace isn't like dusting crops, boy! Without precise calculations we could fly right through a star or bounce too close to a supernova and that'd end your trip real quick, wouldn't it?
Here's my problem, the universe is essentially empty, stars effectively have an angular size of 0. So if you're not heading straight for any of the large bodies inside the solar system you're in (be it stars, planets or asteroid belts), shouldn't you be fine just jumping into hyperspace and fly straight 99.999999... percent of the time? That is, if all you want to achieve is get away, not get anywhere specific.
I understand why you would have a computer calculate your route if there's no particular hurry, but isn't the risk of hitting anything way smaller than the risk of getting hit by ships that are right on your tail? Or am I missing something here?
Additionally, you could perform a jump of just a few lightyears, which reduces the chances of hitting anything even more.
I'd like to see someone bring out actual estimation of encountering a sufficiently dangerous object on a 1 lightyear path between two solar systems.