Phonerecord

Hey there! I'm having some serious issues with some code. For everything that involves manipulations the actual records I always get a: Exception in thread "main" java.lang.NullPointerException at PhoneDirectory.findNumber(PhoneDirectory.java:145) at PhoneDirectory.main(PhoneDirectory.java:43) Java Result: 1 I've been really racking my brain over this. The array values themselves ought to be null, but I can't think of a workaround for it. https://gist.github.com/anonymous/3f585eb24f11da3f. Gaming pioner - Story of Joona "Natu" Leppänen For Joona "Natu" Leppänen, 30, computergame Counter-Strike was lifesaver after the death of his parents. Ence Esports manager made e-sports to his job after 15 years gamingcareer. 16-years old Joona manages to catch his mother when she falls head ahead to radiator. Because of cytostatic treatment hes mothers lungs are full of fluid and she cant breath while laying. Son has sleeped next to mother almost a year. Since hes mothers cancer renewd. Alright, I've got the files linked up a-okay. Nice. I know how to address a method (Main is PhoneDirectory.java and the referencing file is PhoneRecord.java). The private array in PhoneDirectory that takes from PhoneRecord is records (static PhoneRecord records = new PhoneRecord 50 ;). This is all in my Professor's base code and we have to build on it. Cool. There is a constructor in PhoneRecord that I need to address, but I have no idea how too. It needs to be in the format of "records. ##Hello I'm working a existing project where it has classess with private lists. The problem is that (imo) I'm noticing in several places its using the getter to add a new element or delete element from the list. Is this the usual way to work with the lists? I don't think getter methods are supposed to changes the properties of a class object. ## Example: __Class Declarations:__ class Record{ private String number, name; public Record(){number This is an automatic summary, original ( reduced by 70%. gt The House and Senate stood in recess for the week, and a House GOP leadership aide said there were no talks happening between the two chambers. gt The Senate adjourned for its Memorial Day break early Saturday after a chaotic late-night session during which senators failed to pass a White House-backed House bill reforming the phone collection.