-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.NullPointerException: Attempt to de-reference a null object - Error - Post v1.14 Upgrade #95
Comments
Do you have any inactive currencies that may be referenced in your records? |
Hi Andrew We do have multiple currencies, but they are all active. On the object we Martin On 5 December 2014 at 08:45, Andrew Fawcett notifications@github.com
|
That is odd, would you be able to enable support access and steps to repo on your org for me to take a closer look? With this enable i can see the actual line of code in the tool its failing on, this will help a lot. I'll need your org Id once you've enabled it. If not we can arrange sometime a GTM perhaps so you can see what i'm doing. |
Thanks Andrew, can we do a GTM? Possible sometime tomorrow morning or Thursday? Or whenever suits you? Thanks On 9 December 2014 at 15:22, Andrew Fawcett notifications@github.com
|
Sorry for not getting back to you, i'm in the UK, can you do an early am call say 7 or 8am? Or failing that an evening call say 7 or 8pm? |
Hi Andrew As a belt and braces approach I did set up nightly scheduled runs of the Roll Up batch, which may have "fixed" or at least masked the issue. With my overnight batch I am getting an error in the Apex Jobs list, see below: 26/01/2015 02:00 Batch Apex Completed First error: Invalid Id for pse__Milestone__c 27 27 27 Eggleton, Martin 26/01/2015 02:02 RollupJob Is that related? I am still very happy to have a call if that would be the best way forward. let me know. |
Fixed in v1.17. |
Thank you! On 7 February 2015 at 23:27, Andrew Fawcett notifications@github.com
|
Hi
We were suffering with the "DLRs falling out of Sync" issue and upgraded yesterday to v1.14 to see if that would resolve the issue, however, since upgrading we have been receiving the following error:
System.NullPointerException: Attempt to de-reference a null object
I have switched on debugging and here is the relevant section.
Any help, pointers or tips gratefully accepted.
Thanks
Debug Log Extract
12:02:00.226 (226149094)|ENTERING_MANAGED_PKG|dlrs
12:02:00.258 (258143043)|SOQL_EXECUTE_BEGIN|[76]|Aggregations:0|select Name,dlrs__Active__c,dlrs__AggregateOperation__c,dlrs__AggregateResultField__c,dlrs__CalculationMode__c,dlrs__ChildObject__c,dlrs__FieldToAggregate__c,dlrs__ParentObject__c,dlrs__RelationshipCriteria__c,dlrs__RelationshipCriteriaFields__c,dlrs__RelationshipField__c,dlrs__CalculateJobId__c,CurrencyIsoCode from dlrs__LookupRollupSummary__c where CalculationMode__c in :calculationModeNames and ChildObject__c in :childObjectNames and Active__c = true order by ParentObject__c, RelationshipField__c
12:02:00.266 (266120257)|SOQL_EXECUTE_END|[76]|Rows:6
12:02:00.406 (406530765)|SOQL_EXECUTE_BEGIN|[145]|Aggregations:0|SELECT pse__Project__c, Sum(RRV__c) lre0, Sum(RRV__c) lre1, Max(pse__Project__r.CurrencyIsoCode) mastercc FROM pse__Resource_Request__c WHERE pse__Project__c in :masterIds GROUP BY pse__Project__c
12:02:00.416 (416704017)|SOQL_EXECUTE_END|[145]|Rows:1
12:02:00.418 (418115482)|SOQL_EXECUTE_BEGIN|[60]|Aggregations:0|select IsoCode, ConversionRate from CurrencyType
12:02:00.419 (419777112)|SOQL_EXECUTE_END|[60]|Rows:28
12:02:00.425 (425133289)|METHOD_EXIT|[7]|01pw0000001zm9N|dlrs.RollupService.triggerHandler()
12:02:00.425 (425336695)|FATAL_ERROR|System.NullPointerException: Attempt to de-reference a null object
(dlrs)
Trigger.dlrs_pse_Resource_RequestTrigger: line 7, column 1
12:02:00.425 (425363379)|FATAL_ERROR|System.NullPointerException: Attempt to de-reference a null object
(dlrs)
Trigger.dlrs_pse_Resource_RequestTrigger: line 7, column 1
The text was updated successfully, but these errors were encountered: