I am not sure if this will fix it but your constructor for line item doesnt match the name of the class exactly. LineItem, but you have lineItem as the constructor name.