A New Jersey judge has ruled that the state's Supreme Court chief justice won't have to testify in a suit by a former jurist who says she was wrongly denied disability benefits.