As the aircraft descended through the lower layer of clouds at approximately 8000 feet , the pilots saw the Bengawan Solo River and decided to attempt to ditch in the river with the flaps and gear retracted.