1099nec

i live and work in nj however my 1099 nec has a pennsylvania address and box 6 is blank on there. do i need to file for both nj and pennsylvania or should i delete the pennsylvania nonresident on my tax return before i submit to file?