The Oregonian reports that the 55-year-old man was rushed to a hospital, where he was being treated for neck lacerations.
The man's name was not available and the details of his legal case were not immediately clear.
County sheriff's Sgt. Robert Wurpes said the man pulled out the razor fragment after he was sentenced Monday by Circuit Judge Michael Wetzel.
The newspaper reports the man was bleeding profusely. Courtroom officials quickly called 911.