There was probably an aircraft change between the time you checked in online and the time you boarded the plane. The gate reader (if they have them in SJC) should have beeped, alerting the agent that something was awry.
At any rate, they should have paged on board for you, checked their re-accom list or something. This is inexcusable and you should get some sort of explanation from NW.