title: NullPointer exeption when retrieving data from Firebase database
body: <p>I try to retrive data from firebase database 
  but i have null pointer exeption 
  here is my model code </p>
  
  <pre><code>class Request {
      var Name: String? = null
      var Phone: String? = null
      var Street: String? = null
      var Home:String?= null
      var Flat:String?=null
      var Status: String?=null  
  }
  </code></pre>
  
  <p>Here is how i retrieve data </p>
  
  <pre><code>var mDatabase=FirebaseDatabase.getInstance().reference
  mDatabase.addValueEventListener(object : ValueEventListener {
      override fun onCancelled(p0: DatabaseError) {
          TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
      }
  
      override fun onDataChange(p0: DataSnapshot) {
          for (d in p0.children) {
              var modelRequest: Request? = d.child("Requests").child(user.toString()).getValue(Request::class.java)
              var ord: Order? =d.child("Orders").getValue(Order::class.java)
              Log.d("loadedList", "ok")
              requestList.add(modelRequest!!)
  
          }
  
      }
  })
  </code></pre>
  
  <p>Here is my data structure</p>
  
  <p><img src="https://i.stack.imgur.com/viAY0.png" alt="enter image description here"></p>