HAYWARD — A California Highway Patrol officer was struck by a vehicle Friday while issuing a ticket on the Nimitz Freeway, according to CHP spokesman Mike Davis.

The officer suffered minor injuries, and was treated at a local hospital and released, Davis said.

The vehicle that struck the officer was headed south on Interstate 880 just north of A Street when it hit the officer’s motorcycle and the vehicle on the right shoulder, Davis said.

“We would come to expect something like that happening at 2 a.m.,” Davis said. “But this was not a drunk driver. The driver was just not paying attention.”

The crash occurred about 12:40 p.m., and a traffic alert was issued five minutes later. One southbound lane was blocked for about 30 minutes, Davis said.

Davis added that he knows of two officers who died within the past two years under similar circumstances, and he said the officer involved in the Friday incident was “extremely lucky” to have escaped with minor injuries.

Alcohol and drugs did not appear to be a factor in the accident. Investigators will decide whether charges should be filed against the driver of the vehicle that clipped the officer.