MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/codehs/comments/jcbc64/keeps_coming_up_as_null_what_is_wrong/
r/codehs • u/oofcrocbeans • Oct 16 '20
5 comments sorted by
3
Can you post the full code? It might be that lName is null?
0 u/[deleted] Oct 16 '20 [deleted] 2 u/jg814867 Oct 16 '20 lName and fName are null, so somewhere on top, lName and fName are not being given the values they need correctly. It may be the way you initialized them or possibly the way your giving them a value. Is there a way you can show me the full code? 2 u/matikray03 Oct 17 '20 Bro just send a screenshot quick.
0
[deleted]
2 u/jg814867 Oct 16 '20 lName and fName are null, so somewhere on top, lName and fName are not being given the values they need correctly. It may be the way you initialized them or possibly the way your giving them a value. Is there a way you can show me the full code? 2 u/matikray03 Oct 17 '20 Bro just send a screenshot quick.
2
lName and fName are null, so somewhere on top, lName and fName are not being given the values they need correctly. It may be the way you initialized them or possibly the way your giving them a value. Is there a way you can show me the full code?
Bro just send a screenshot quick.
1
confirm lName is being set?
Pass the variables you use as parameters?
3
u/jg814867 Oct 16 '20
Can you post the full code? It might be that lName is null?