two different state wages on NJ W2

One wage and tax statement on my NJ W2 has state wages and state income tax, while another box has a substantially smaller amount for state wages and no state income tax. When I transferred the W2 electronically with Turbo Tax, the program combined the two state wages and entered the state income box from the first box.  Why the different amounts, and is Turbo Tax transferring the information correctly. Meanwhile, the same situation didn't occur on my NY W2. Just for your reference, I live in NJ, but worked in NY for this particular job.