I get a java.lang.NullPointerException in my Class Article in line 5.
In one class I create the object Article article = new Article(),
then I call article.addPrice(quantity, price); with quantity being an Integer with the value '1' and price being a Float with the value '1.32'.
1: public class Article {
2: private List prices;
3: public void addPrice(Integer quantity, Float qtyPrice){
4: Price price = new Price(quantity, qtyPrice);
5: this.prices.add(price);
6: }
7: }