java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.gijbelssiemen.herexamen.Model.Artist.getNaam()' on a null object reference

Stack Overflow | Siemen Gijbels | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NullPointerException I can't get rid of

    Stack Overflow | 7 months ago | Siemen Gijbels
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.gijbelssiemen.herexamen.Model.Artist.getNaam()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String com.gijbelssiemen.herexamen.Model.Artist.getNaam()' on a null object reference

      at com.gijbelssiemen.herexamen.TabFragment1.addArtistsToList()
    2. com.gijbelssiemen.herexamen
      TabFragment1.onViewCreated
      1. com.gijbelssiemen.herexamen.TabFragment1.addArtistsToList(TabFragment1.java:97)
      2. com.gijbelssiemen.herexamen.TabFragment1.onViewCreated(TabFragment1.java:66)
      2 frames