|
Quote: |
|
|
|
|
Originally Posted by LarsP |
|
|
|
|
|
|
|
|
Could you guys who have trouble with the Event and Rankings overview do the following:
1. Click on the gear icon in the top right, and click 'Developer Console'.
At the bottom of the Developer Console you should see these tabs:
Click 'Logs'.
2. Now go to the page were you get the error for either the Rankings or EventOverview.
3. Go back to the Developer Console and check the log. There should be a log entry with the same status as the error message you recieved.
4. Open this log, and scroll all the way down. Here it should say what exactly goes wrong, and where in the code it goes wrong.
5. Send me a screenshot or a copy of this part.
|
|
|
|
|
|
So this is the log I get for EventOverview:
49.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO; DB,INFO;NBA,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISU ALFORCE,INFO;WAVE,INFO;WORKFLOW,INFO
12:25:01.0 (587007)|USER_INFO|[EXTERNAL]|0053V000001ADqV|
[email protected]|(GMT+01:00) Irish Standard Time (Europe/Dublin)|GMT+01:00
12:25:01.0 (669396)|EXECUTION_STARTED
12:25:01.0 (677678)|CODE_UNIT_STARTED|[EXTERNAL]|0663V000000or4l|VF: /apex/EventOverview
12:25:01.0 (17904254)|SYSTEM_MODE_ENTER|true
12:25:01.0 (18390288)|HEAP_ALLOCATE|[79]|Bytes:3
12:25:01.0 (18430806)|HEAP_ALLOCATE|[84]|Bytes:152
12:25:01.0 (18449980)|HEAP_ALLOCATE|[399]|Bytes:408
12:25:01.0 (18467960)|HEAP_ALLOCATE|[412]|Bytes:408
12:25:01.0 (18482839)|HEAP_ALLOCATE|[520]|Bytes:48
12:25:01.0 (18510780)|HEAP_ALLOCATE|[139]|Bytes:6
12:25:01.0 (18527746)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:136
12:25:01.0 (18535611)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:5
12:25:01.0 (18548415)|METHOD_ENTRY|[1]|01p3V0000017QHt|EventOverviewController.EventOver viewController()
12:25:01.0 (18557924)|STATEMENT_EXECUTE|[1]
12:25:01.0 (18563772)|STATEMENT_EXECUTE|[1]
12:25:01.0 (18568141)|METHOD_EXIT|[1]|EventOverviewController
12:25:01.0 (18592676)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:12
12:25:01.0 (18611529)|VARIABLE_SCOPE_BEGIN|[6]|this|EventOverviewController|true|false
12:25:01.0 (19292004)|VARIABLE_ASSIGNMENT|[6]|this|{}|0x6a234c82
12:25:01.0 (19306947)|VARIABLE_SCOPE_BEGIN|[6]|controller|ApexPages.StandardController|true|fals e
12:25:01.0 (19747132)|VARIABLE_ASSIGNMENT|[6]|controller|"StandardController [null]"|0x2c60c0f8
12:25:01.0 (19766350)|STATEMENT_EXECUTE|[1]
12:25:01.0 (19768994)|STATEMENT_EXECUTE|[2]
12:25:01.0 (19771867)|STATEMENT_EXECUTE|[4]
12:25:01.0 (19784640)|HEAP_ALLOCATE|[8]|Bytes:6
12:25:01.0 (23373980)|STATEMENT_EXECUTE|[6]
12:25:01.0 (23381971)|STATEMENT_EXECUTE|[8]
12:25:01.0 (24220125)|HEAP_ALLOCATE|[8]|Bytes:4
12:25:01.0 (24261605)|VARIABLE_SCOPE_BEGIN|[8]|currentEvent|Event__c|true|false
12:25:01.0 (24299979)|VARIABLE_ASSIGNMENT|[8]|currentEvent|{}|0x3f927826
12:25:01.0 (24311524)|STATEMENT_EXECUTE|[10]
12:25:01.0 (24318583)|HEAP_ALLOCATE|[10]|Bytes:300
12:25:01.0 (24353768)|HEAP_ALLOCATE|[10]|Bytes:4
12:25:01.0 (24371749)|HEAP_ALLOCATE|[10]|Bytes:7
12:25:01.0 (24423243)|HEAP_ALLOCATE|[52]|Bytes:5
12:25:01.0 (24451826)|HEAP_ALLOCATE|[58]|Bytes:5
12:25:01.0 (24460710)|HEAP_ALLOCATE|[66]|Bytes:7
12:25:01.0 (27171369)|SOQL_EXECUTE_BEGIN|[10]|Aggregations:0|SELECT Red_Corner__r.Photo_URL__c, Red_Corner__r.Rank__c, Red_Corner__r.Name, Red_Corner__r.Weightclass__c, Blue_Corner__r.Photo_URL__c, Blue_Corner__r.Rank__c, Blue_Corner__r.Name, Boutorder__c, Fight_result__c, Result__c FROM Fight__c WHERE Event__c = :tmpVar1 ORDER BY Boutorder__c ASC NULLS FIRST
12:25:01.0 (65669353)|SOQL_EXECUTE_END|[10]|Rows:0
12:25:01.0 (65721962)|HEAP_ALLOCATE|[10]|Bytes:4
12:25:01.0 (65777535)|HEAP_ALLOCATE|[10]|Bytes:0
12:25:01.0 (65836588)|HEAP_ALLOCATE|[10]|Bytes:4
12:25:01.0 (65941817)|VARIABLE_ASSIGNMENT|[EXTERNAL]|this|{}|0x6a234c82
12:25:01.0 (65968401)|VARIABLE_ASSIGNMENT|[EXTERNAL]|value|[]|0x6cd657ec
12:25:01.0 (65992531)|VARIABLE_ASSIGNMENT|[2]|this.currentEventFightsList|[]|0x6a234c82
12:25:01.0 (66125652)|SYSTEM_MODE_ENTER|true
12:25:01.75 (75086034)|CUMULATIVE_LIMIT_USAGE
12:25:01.75 (75086034)|LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 1 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Maximum CPU time: 0 out of 10000
Maximum heap size: 0 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 0 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
12:25:01.75 (75086034)|CUMULATIVE_LIMIT_USAGE_END
12:25:01.0 (75161677)|CODE_UNIT_FINISHED|VF: /apex/EventOverview
12:25:01.0 (75187773)|EXECUTION_FINISHED
And this for RankingOverview:
49.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO; DB,INFO;NBA,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISU ALFORCE,INFO;WAVE,INFO;WORKFLOW,INFO
12:27:27.0 (592785)|USER_INFO|[EXTERNAL]|0053V000001ADqV|
[email protected]|(GMT+01:00) Irish Standard Time (Europe/Dublin)|GMT+01:00
12:27:27.0 (775712)|EXECUTION_STARTED
12:27:27.0 (828750)|CODE_UNIT_STARTED|[EXTERNAL]|0663V000000or4v|VF: /apex/RankingsOverview
12:27:27.0 (2685596)|SYSTEM_MODE_ENTER|true
12:27:27.0 (3342547)|HEAP_ALLOCATE|[79]|Bytes:3
12:27:27.0 (3411073)|HEAP_ALLOCATE|[84]|Bytes:152
12:27:27.0 (3431752)|HEAP_ALLOCATE|[399]|Bytes:408
12:27:27.0 (3451712)|HEAP_ALLOCATE|[412]|Bytes:408
12:27:27.0 (3468733)|HEAP_ALLOCATE|[520]|Bytes:48
12:27:27.0 (3500173)|HEAP_ALLOCATE|[139]|Bytes:6
12:27:27.0 (3522052)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:180
12:27:27.0 (3532888)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:10
12:27:27.0 (3552964)|METHOD_ENTRY|[1]|01p3V0000017QR8|RankingOverviewController.Ranking OverviewController()
12:27:27.0 (3564608)|STATEMENT_EXECUTE|[1]
12:27:27.0 (3575338)|STATEMENT_EXECUTE|[1]
12:27:27.0 (3581932)|METHOD_EXIT|[1]|RankingOverviewController
12:27:27.0 (3609594)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:20
12:27:27.0 (3648462)|VARIABLE_SCOPE_BEGIN|[11]|this|RankingOverviewController|true|false
12:27:27.0 (3863649)|VARIABLE_ASSIGNMENT|[11]|this|{}|0x2b8cb827
12:27:27.0 (3881868)|VARIABLE_SCOPE_BEGIN|[11]|controller|ApexPages.StandardController|true|fals e
12:27:27.0 (4289564)|VARIABLE_ASSIGNMENT|[11]|controller|"StandardController [null]"|0x7d13bd4
12:27:27.0 (4310037)|STATEMENT_EXECUTE|[1]
12:27:27.0 (4312966)|STATEMENT_EXECUTE|[3]
12:27:27.0 (4317755)|STATEMENT_EXECUTE|[5]
12:27:27.0 (4319960)|STATEMENT_EXECUTE|[7]
12:27:27.0 (4322055)|STATEMENT_EXECUTE|[9]
12:27:27.0 (4336465)|HEAP_ALLOCATE|[13]|Bytes:6
12:27:27.0 (6230620)|STATEMENT_EXECUTE|[11]
12:27:27.0 (6238105)|STATEMENT_EXECUTE|[13]
12:27:27.0 (7022568)|HEAP_ALLOCATE|[13]|Bytes:4
12:27:27.0 (7071948)|VARIABLE_SCOPE_BEGIN|[13]|currentRecord|Fighter__c|true|false
12:27:27.0 (7106092)|VARIABLE_ASSIGNMENT|[13]|currentRecord|{}|0x27323b2d
12:27:27.0 (7116420)|STATEMENT_EXECUTE|[15]
12:27:27.0 (7124455)|HEAP_ALLOCATE|[15]|Bytes:67
12:27:27.0 (7156878)|HEAP_ALLOCATE|[15]|Bytes:4
12:27:27.0 (7175598)|HEAP_ALLOCATE|[15]|Bytes:7
12:27:27.0 (7237738)|HEAP_ALLOCATE|[52]|Bytes:5
12:27:27.0 (7275474)|HEAP_ALLOCATE|[58]|Bytes:5
12:27:27.0 (7291012)|HEAP_ALLOCATE|[66]|Bytes:7
12:27:27.0 (7907301)|SOQL_EXECUTE_BEGIN|[15]|Aggregations:0|SELECT Id, Name, Weightclass__c FROM Fighter__c WHERE Id = :tmpVar1
12:27:27.0 (12056951)|SOQL_EXECUTE_END|[15]|Rows:0
12:27:27.0 (12109045)|HEAP_ALLOCATE|[15]|Bytes:4
12:27:27.0 (12149585)|HEAP_ALLOCATE|[15]|Bytes:0
12:27:27.0 (12200944)|HEAP_ALLOCATE|[15]|Bytes:4
12:27:27.0 (12225721)|HEAP_ALLOCATE|[15]|Bytes:36
12:27:27.0 (12366469)|HEAP_ALLOCATE|[15]|Bytes:46
12:27:27.0 (12681851)|FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject
Class.RankingOverviewController.
: line 15, column 1
12:27:27.95 (95024294)|CUMULATIVE_LIMIT_USAGE
12:27:27.95 (95024294)|LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 1 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Maximum CPU time: 0 out of 10000
Maximum heap size: 0 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 0 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
12:27:27.95 (95024294)|CUMULATIVE_LIMIT_USAGE_END
12:27:27.0 (95132347)|CODE_UNIT_FINISHED|VF: /apex/RankingsOverview
12:27:27.0 (95158976)|EXECUTION_FINISHED