• middleEarth
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hi all,

Our code base has not changed since the 16th of May 2014, yet since the latest release (Summer 14) we are now experiencing sporadic @Future Enqueue errors.
"System.UnexpectedException: Failed to enqueue future method"

Is anyone else getting this since Summer 14?
We're on the EU instance - and this stuff started happening on Sunday (the update weekend).

I've tried a "finest" detailed debug log yet that draws a blank since this seems to be thrown from the bowels of sfdc....
For example:

11:53:11.100 (7100242247)|STATEMENT_EXECUTE|[690]
11:53:11.100 (7100252361)|HEAP_ALLOCATE|[690]|Bytes:31
11:53:11.100 (7100269208)|HEAP_ALLOCATE|[690]|Bytes:16
11:53:11.100 (7100285683)|HEAP_ALLOCATE|[690]|Bytes:4
11:53:11.100 (7100583228)|HEAP_ALLOCATE|[690]|Bytes:8
11:53:11.100 (7100686937)|HEAP_ALLOCATE|[690]|Bytes:4
11:53:11.100 (7100714332)|HEAP_ALLOCATE|[690]|Bytes:12
11:53:11.100 (7100898053)|HEAP_ALLOCATE|[690]|Bytes:16
11:53:11.100 (7100937825)|HEAP_ALLOCATE|[690]|Bytes:6
11:53:11.100 (7100997521)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:36
11:53:11.101 (7101014480)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:36
11:53:11.119 (7119196025)|EXCEPTION_THROWN|[690]|System.UnexpectedException: Failed to enqueue future method: MYCLASSNAME:MYFUTUREMETHOD

(MYCLASSNAME & MYFUTUREMETHOD have been renamed to protect the innocent ;-) )

Can anyone from Salesforce comment on this and advise?

Thanks,
Mark
I have created the code via the Chat Button design, but am unable to add it to the current Communities page. Community Builder does not allow anything be added in, and Site.com does not allow the template to be edited (as it mentions the page is a Lightning template.) Lightning Components can be built, but do not allow for this sort of scripting. How does something scripted get added via Community Builder or Site.com Studio?
Hi all,

Our code base has not changed since the 16th of May 2014, yet since the latest release (Summer 14) we are now experiencing sporadic @Future Enqueue errors.
"System.UnexpectedException: Failed to enqueue future method"

Is anyone else getting this since Summer 14?
We're on the EU instance - and this stuff started happening on Sunday (the update weekend).

I've tried a "finest" detailed debug log yet that draws a blank since this seems to be thrown from the bowels of sfdc....
For example:

11:53:11.100 (7100242247)|STATEMENT_EXECUTE|[690]
11:53:11.100 (7100252361)|HEAP_ALLOCATE|[690]|Bytes:31
11:53:11.100 (7100269208)|HEAP_ALLOCATE|[690]|Bytes:16
11:53:11.100 (7100285683)|HEAP_ALLOCATE|[690]|Bytes:4
11:53:11.100 (7100583228)|HEAP_ALLOCATE|[690]|Bytes:8
11:53:11.100 (7100686937)|HEAP_ALLOCATE|[690]|Bytes:4
11:53:11.100 (7100714332)|HEAP_ALLOCATE|[690]|Bytes:12
11:53:11.100 (7100898053)|HEAP_ALLOCATE|[690]|Bytes:16
11:53:11.100 (7100937825)|HEAP_ALLOCATE|[690]|Bytes:6
11:53:11.100 (7100997521)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:36
11:53:11.101 (7101014480)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:36
11:53:11.119 (7119196025)|EXCEPTION_THROWN|[690]|System.UnexpectedException: Failed to enqueue future method: MYCLASSNAME:MYFUTUREMETHOD

(MYCLASSNAME & MYFUTUREMETHOD have been renamed to protect the innocent ;-) )

Can anyone from Salesforce comment on this and advise?

Thanks,
Mark