• Mack Dsoza
  • NEWBIE
  • 25 Points
  • Member since 2011

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 74
    Questions
  • 78
    Replies

If I am not getting any key as well as values from Map then please tell me that what are the things that needs to be checked.

Here is my map code,

Map<Id,asset__c> & here I am not getting any key value so what I have to do for it..

 

Regards...

14:48:14.241 (241756000)|SYSTEM_METHOD_EXIT|[466]|Decimal.doubleValue()

14:48:14.241 (241551000)|METHOD_ENTRY|[460]|01pN00000004EQf|GoalMappingBean.populateGoalAseetMapping(Object, String, String, String, Double, Double, Integer, Integer, String, String, Double, Double, Double)
14:48:14.241 (241695000)|SYSTEM_METHOD_ENTRY|[466]|Decimal.doubleValue()
14:48:14.241 (241733000)|EXCEPTION_THROWN|[466]|System.NullPointerException: Attempt to de-reference a null object 

System.NullPointerException: Attempt to de-reference a null object

I am getting above error while executing the below query on system log...

 

GoalAssetAssociation__c a = new GoalAssetAssociation__c();

a.Goal__c = 'a0HN0000000lMhDMAU';

a.GoalYearValue__c=2015.0;

update a; OR upsert a;

 

GoalYearValue__c if a field of type number with numeric value of 16 & decimal value is of 2.

 

Please tell me how can i store value in it...Since I am getting above error....


Double growthRate  = LifeInsuranceInterest__c.getInstance(description).Rate__c;

 

I am getting an error here, plz tell me what this error means...

 

ErrorError: Compile Error: Not of type Custom Settings at line 545 column 29

goalProfileList = new Goal_Profile__c[endYear - startYear];

 

Here Goal_Profile__c is my custom object but here what is happening...

Can we pass the paramenter in Goal_Profile__c custom object....