do you get a NullPointer exception?

as i look into your code, your SchoolBuss class Constructor sets the name array into null again, is that the problem you get?

i mean this

public...