PLANATRONICS Posted September 16, 2015 Author Report Posted September 16, 2015 use this System.out.println(value.length()) inside if condition ; You have to get null pointer exception .. if not then we are assuming wrong. 5 22 1 4 4 4 2 4
PLANATRONICS Posted September 16, 2015 Author Report Posted September 16, 2015 this is just to make sure you are not printing "null" string. once aa values kanukkunnaka aaa values annitini ela add cheyydam?
rrc_2015 Posted September 16, 2015 Report Posted September 16, 2015 5 22 1 4 4 4 2 4 searchText + "/" + tags + "/" + category + "/" + workflowStatus + "/" + sortBy + "/" + sortType + "/" + maxResults + "/" + pageIndex Since these are null...they get added as "null" string. so length is 4. I mean your searchText became as - Crisp/<tags>/0/null/null/null when you split they came back as "null" string with length 4... so if condition will not catch this as null value.
vasu123 Posted September 16, 2015 Report Posted September 16, 2015 mee lo java pina call evaru theesukuntaru, job vacheyali theesukunte, confidece unte cheppandi, male candidates, monna friend adigadu evarunna unte cheppu ani, vadiki interview finalise ayyela undanta
rrc_2015 Posted September 16, 2015 Report Posted September 16, 2015 String is like God. it turns anything into itself ... I mean string ki emii add chesina string ayipothadiii ... including null.
rrc_2015 Posted September 16, 2015 Report Posted September 16, 2015 mee lo java pina call evaru theesukuntaru, job vacheyali theesukunte, confidece unte cheppandi, male candidates, monna friend adigadu evarunna unte cheppu ani, vadiki interview finalise ayyela undanta How many yrs experience ?? entha isthadu me friend ?
vasu123 Posted September 16, 2015 Report Posted September 16, 2015 How many yrs experience ?? entha isthadu me friend ? fresher
rrc_2015 Posted September 16, 2015 Report Posted September 16, 2015 fresher Resume looks how many yrs Ani asking
PLANATRONICS Posted September 16, 2015 Author Report Posted September 16, 2015 String is like God. it turns anything into itself ... I mean string ki emii add chesina string ayipothadiii ... including null. ya ya got it bhayya......
PLANATRONICS Posted September 16, 2015 Author Report Posted September 16, 2015 braces pettu null tharvatha bhayya idhi work ayye avakasam undha? single line of code kadha ni choosthunna....
PLANATRONICS Posted September 16, 2015 Author Report Posted September 16, 2015 bhayya idhi work ayye avakasam undha? single line of code kadha ni choosthunna.... ltt
TOM_BHAYYA Posted September 16, 2015 Report Posted September 16, 2015 bhayya idhi work ayye avakasam undha? single line of code kadha ni choosthunna....avvudhhanukunta .. Nen eclipse lo try cheyale
ramudu3 Posted September 16, 2015 Report Posted September 16, 2015 tom sodarab , meeru Java tech aaaa??? avvudhhanukunta .. Nen eclipse lo try cheyale
rrc_2015 Posted September 16, 2015 Report Posted September 16, 2015 While adding strings itself, check for null values and add empty strings instead of nulls When you split check for empty string insured of null values in if condition
Recommended Posts