Jump to content

Recommended Posts

Posted

kk...ATB for your interview

 

nen java kadu

 

may be CJ will be helpful for you

hmmm 

 

ok shinchan bhayyiah 

ATB

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

  • fake_Bezawada

    8

  • MysorePak

    7

  • LungiLingaraju

    5

  • porsche911

    5

Popular Days

Top Posters In This Topic

Posted

Bhayya adhi null ravadam ledhu object has values.. so when i debug i found the getmethod ki value set cheyadam ledhu andhuke adhi throw cheshtundhi anukunta.. eppudu set chesa let me run and see still if it throws npe....My bad for not checking the setmethod earlier..

Object null vastundi ? Normal ga raakoodadu. If it null then check object first

 

Posted

.euqals() emayna try chesi chudachu kadha bhayyiah object antunav emayna use vuntundhi emo kadha

Posted

agreed && condition checku kuda cheyadam ledhu.. just out of the loop and exception vasthundhi

anduke first null check cheyyali

So if that condition fails it will not go to next condition it will come out of if loop

 

Posted

Bhayya adhi null ravadam ledhu object has values.. so when i debug i found the getmethod ki value set cheyadam ledhu andhuke adhi throw cheshtundhi anukunta.. eppudu set chesa let me run and see still if it throws npe....My bad for not checking the setmethod earlier..

 

if u still stuck post the entire code man.... might be able to help u out

Posted

Bhayya aa setmethod value set chesthey now i am nto getting any NPE now.. Thanks Everyone for quick response elane suggestion isthun vunte edho okka roju java thoppu avutha .. once again thank everyone ... &D_@@  &D_@@  &D_@@

if u still stuck post the entire code man.... might be able to help u out

 

Posted

I think you can't use !=null and !=""...as it int value.....if the method returns a value other than '0'    use !=0 ...it should work.

Posted

yeah bhayya andhuke i am using !=0 bec its returning interger,

I think you can't use !=null and !=""...as it int value.....if the method returns a value other than '0'    use !=0 ...it should work.

 

Posted

Bhayya aa setmethod value set chesthey now i am nto getting any NPE now.. Thanks Everyone for quick response elane suggestion isthun vunte edho okka roju java thoppu avutha .. once again thank everyone ... &D_@@  &D_@@  &D_@@

 

u r welcome mysorepak 

×
×
  • Create New...