You need to sign in to do that
Don't have an account?
neao18
Strange null pointer issue!
hi all,
What i am doing is :
string temp = string.valueof(wpl.start);
string tempd = temp.remove('start:[datetimed=');
where wpl is my wraper list object and start is my object inside wrapper.
its working for the first line but when i add second line it gives me null pointer. but my temp var is not null as i have value displaying in visualforce from it??
if wpl is a wraper list object than your code should be like this
string temp = string.valueof(wpl[0].start);
string tempd = temp.remove('start:[datetimed=');
Otherwise i have 2 Query
1.what is the start data type in to your wrapper class.
2. To go into the depth please post your code