Questions tagged [gack]

The internal Salesforce error that results in a GACK notification. The corresponding Error ID's can be used by Salesforce to diagnose the issue.

Filter by
Sorted by
Tagged with
30
votes
1answer
1k views

An interface extending a system interface causes process hangs?

We're trying to implement dynamic batch processes to dispatch different classes. Specifically, we have integrated multiple systems, and depending on certain events, we dispatch callouts to those ...
15
votes
1answer
3k views

Salesforce System Error when accessing a list in @AuraEnabled method

My Lightning Component controller: doActivateNext : function(component, event, helper) { var action = component.get("c.activateNext"); action.setParams({ bpiId : component.get("v.recordId"), ...
12
votes
2answers
1k views

Confirmation that (inner) classes are still not fully supported in @AuraEnabled methods?

When writing a controller for a Lightning Component, it is convenient to add the data transfer object classes as inner classes of the controller. This works fine for sending data to the client but I ...
12
votes
2answers
2k views

Can variables with inline get/set not be @AuraEnabled?

I have an existing class that works with a REST API from a managed package. This class represents the payload that the REST API accepts in implementations, so it has a number of variables that use ...
12
votes
1answer
564 views

Filter empty date field in SF analytics api

Using the analytics rest api we need to add a filter to a date field to get only the records where this field is empty. In json: { "column": "Account.Date_Field__c", "operator": "equals", ...
10
votes
2answers
958 views

Is it possible to update custom field metadata via the tooling api?

I can successfully make a patch request to the tooling api to update a custom fields api name. However, if I include any of the field properties in the CustomFieldMetadata object I get an internal ...
8
votes
3answers
770 views

Not able to make Lightning Component work outside Managed Package Dev Org

When I package my app in Managed Package for outside world, the other org gets "Internal Server Error" when the Lightning Component Tab is loaded in S1 or new Lightning Experience interface. I worked ...
7
votes
3answers
196 views

SOQL order by distance internal server error

I am trying to add an ORDER BY statement in a SOQL query. I am already using the same statement in the WHERE clause of the query, but am getting an error saving it. An unexpected error occurred. ...
6
votes
4answers
3k views

Adding data to a data extension with REST API lead to a 500 error

I am trying to add data to a data extension using the Exact Target REST API. In the following image the data extension configuration is shown: Using the form in https://code.exacttarget.com/api/fuel-...
6
votes
1answer
185 views

Getting a log/stack trace from an Error Id with basic support

I have a client who only has "basic" support. Earlier today, we started getting error messages from some time based workflows actions. I created an support case asking if they could send us the ...
6
votes
2answers
247 views

Internal Salesforce bug: “Cannot grant or remove a profile with modify all data, without having the modify all data permission yourself.”

We receive "Cannot grant or remove a profile with modify all data, without having the modify all data permission yourself." exception message when it shouldn't appear. When there are two users, User ...
6
votes
0answers
613 views

Why does SOQl query for Owner.UserRole.Name on Opportunity cause error in Opportunity Territory Assignment apex class

I've been working on an Apex class to do our Opportunity territory assignments based on the example here. I needed to modify it to support our rules that included checking the User Role on the ...
5
votes
4answers
2k views

Why am I unable to pass an Opportunity from a Lightning Component into an @AuraEnabled Apex controller method?

I have a Lightning Component with an Opportunity attribute. The controller calls a helper method, which obtains the Opportunity from the component and attempts to pass it into Apex to be saved. I am ...
5
votes
1answer
594 views

How to debug beta package installation failures

This question is more a search for advice. I have been in charge of the building and releasing of a managed package for a couple of iterations now. When creating the first couple of betas we usually ...
5
votes
2answers
651 views

Updating page layout related list using metadata api

We are developing a managed package. By realizing that page layout for standard object will never be able to be pushed through package, I decide to use metadata API way, which means financialforce's ...
5
votes
1answer
216 views

Internal Salesforce Error (GACK) Deleting Account w/ restrictedDelete ContentVersion

I recently 'succeeded' in getting an Internal Salesforce Error aka GACK. Per Josh Kaplan's blog page, I am posting the details and cause in case someone else runs into this before SFDC fixes it. And ...
5
votes
1answer
3k views

Internal Salesforce.com Error — when I pass a Javascript value to Apex

Is there some Salesforce equivalent of https://jsfiddle.net/ ? Here's the files involved. I've pared them down to a simple case. TestApp.app <aura:application > <c:cltTest /> </...
5
votes
1answer
641 views

Internal Server Error With apex:inputCheckboxes

I'm using an <apex:selectCheckboxes> element in a VF page, with the options coming from this controller method: public List<SelectOption> GetTemplateOptions() { List<SelectOption&...
5
votes
1answer
1k views

SalesForce Batch Compression Unexpected Error

In SalesForce' Bulk API, on page 60 of their documentation: Compression The only valid compression value is gzip. Compression is optional, but strongly recommended. Note that compression doesn'...
5
votes
0answers
264 views

System.UnexpectedException after catching an exception in unit test

I've encountered an odd situation where the presence or absence of a try/catch block results in an unusual system error: System.UnexpectedException: Error processing messages The test case is ...
4
votes
2answers
9k views

An internal server error has occurred Error ID: 143631613-25605 (-15667340)

I am encountering this ISE error in my Standalone Lightning App. How can I translate this Error ID? Is there an error log or some other way I could check what exactly is wrong? Right now there is no ...
4
votes
2answers
907 views

Problem with inner (nested) class in @AuraEnabled method when namespace present

Just moved some Lightning Component code (run via Lightning Out from a Visualforce page) from a non-namespace org where it works fine to a namespace org (where a managed package is created) where it ...
4
votes
1answer
558 views

Salesforce System Error when using Test.loadData for User.sObjectType, improvements of Test.loadData with custom code

I'm starting to use Test.loadData and am facing an issue when creating Portal User data. Code below works very well, not only creating and inserting Accounts and Contacts, but also establishing proper ...
3
votes
1answer
1k views

Why am I getting this error on a test class?

How can I tell what error I have? System.UnexpectedException: Internal Salesforce Error: 224634669-218106 (-854602049) (-854602049) Stack Trace: External entry point Class.CandidatesTabsTest....
3
votes
2answers
420 views

Does @AuraEnabled serialization of List<Map<String, Object>> work?

I have an @AuraEnabled API where the serialization of Map<String, Object> works so was a bit surprised when the serialization of List<Map<String, Object>> didn't generating a gack on ...
3
votes
1answer
1k views

Two lines of code raises internal server error with Gack Id 472275017

<aura:application > <aura:attribute name="cont" type="Contact"/> <force:inputField value="{!v.cont.Account}"/> </aura:application> Steps to reproduce: Create the ...
3
votes
2answers
262 views

Is there any alternate way to find my organizations code coverage?

When I clicked "Estimate your organization's code coverage" in Apex Classes from Setup Menu, I got the following error. Why this error coming? Is there any other alternate approach to find my ...
3
votes
1answer
42 views

Internal Server Error (gack) Submit for Approval - VF Email Templates

Use Case: Approval Process on custom object Approval Assignment Email Template: Visualforce User clicks Submit for Approval, SFDC responds with Internal Server Error. Question will be self-...
3
votes
4answers
4k views

Asynchronous Callout from an Imported WSDL

I developed VisualForce page with asynchronous callouts to web service according to link. It is working fine, my page is showing results after callback is returned. I really like pattern with ...
3
votes
1answer
263 views

Platform Cache System Error (Random)

A few of the users in the system have hit an interesting error after implementing some functionality around the platform cache. I received the emails as the owner of the files, but I was not able to ...
3
votes
1answer
213 views

Salesforce Internal Server - What's in a GACK?

Background I have been working with Salesforce Support for several weeks now trying to get them to escalate an internal server error with GACK 2134764861-123797 (1611479512) (1611479512). After a ...
3
votes
1answer
155 views

Unknown Error in Workbench while querying UserEntityAccess

Getting Unknown Exception while querying 'UserEntityAccess' in work bench, Query : SELECT EntityDefinition.Id,EntityDefinition.DurableId, EntityDefinition.QualifiedApiName, EntityDefinition....
3
votes
1answer
1k views

Internal Salesforce.com Error in a Query inside a Batch

Problem i'm having an issue in a Batch Process. It's have been working properly since January, but in the last days i'm getting an Internal SalesForce Error. The error line is inside a Query which is ...
3
votes
2answers
31 views

QueryLocator crashes after casting to Iterable and executing .iterator()

So here is some simple code that does work: Database.QueryLocator ql = Database.getQueryLocator('SELECT Id FROM Account LIMIT 2'); Iterator<SObject> iter = ql.iterator(); Ok. But suppose I ...
3
votes
0answers
139 views

Attempting unit test, “You popped a context which you never pushed…”

Lately when trying to execute a unit test using the Force cli tool I'm getting an error I've never seen before. ERROR: You popped a context which you never pushed, check for unbalanced push and ...
3
votes
0answers
329 views

Creating a class in anonymous apex causes compile error [closed]

Attempting to run the following code as anonymous apex generates an error: public class YoYo{ String abc; Integer i; Double d; public YoYo(){ } public YoYo(String ...
3
votes
0answers
380 views

ValidationRule queried via REST API returns Deleted objects VR too and that results in error with GACK?

UPDATE [15 Jul'15] : Salesforce support confirmed that this is indeed a bug and their Research & Development team is working on this case and the matter is under our observation. Here is the ...
2
votes
1answer
203 views

Passing complex structured data type from Lightning to Apex Controller causes Internal Error with Gack Id 263119078

Passing complex structured data type from Lightning to Apex Controller causes Internal Error with Gack Id 263119078 var action = component.get( "c.saveModel" ); action.setParam( "model", ...
2
votes
1answer
1k views

System.UnexpectedException: Illegal arguments during execution of lightning server side action

I have the simple app which multiplies Decimal number a on Integer number b. The simple app has the following code: <aura:application controller="ReproduceIssueController" > <aura:...
2
votes
2answers
610 views

Unable to edit Page layouts

I encountered this problem while trying to edit the page layout of a custom object. Following is the error page... What may be the issue? Thanks!
2
votes
2answers
249 views

lightning:formattedText tag requires API version 41.0 and later

I used lightning tag called lightning:formattedText which requires Api version 41.0 or later. This tag is used in a component whose Api verson is set to 41.0. Am I need to set the Api version of ...
2
votes
1answer
224 views

Lightning Internal Server Error Caused By Changing Return Type

I've got an Apex controller method that returns a List<ReportLine> where ReportLine is a pretty simple custom class. public class ReportLine { @auraEnabled public String Name {get; set;}...
2
votes
1answer
99 views

GACK response from SOAP Tooling API runTestsAsynchronous method

I'm attempting to call the runTestsAsynchronous(classids, suiteids, maxFailedTests) method on the SOAP Tooling API as per the linked documentation and the example in ApexTestQueueItem. In both cases, ...
2
votes
2answers
400 views

SFDX: Setting role for “User User”

The problem is that I cannot set the role for the scratch org user. I get the following error: Unable to Finish Processing Request An error has occurred while processing your request. The ...
2
votes
1answer
328 views

Run a standard set controller extension from execute anonymous

I am trying to run a standard set controller extension from execute anonymous for the purpose of debugging, however I keep getting "Internal Salesforce.com error". I have narrowed down the offending ...
2
votes
0answers
253 views

createComponent error on first try

I have a Lightning Component that displays a list of links with onClick handlers and an id value that represents a record in Salesforce. <aura:iteration items="{!v.projects}" var="p"> <a ...
2
votes
1answer
119 views

DML external Id relationship throwing Internal Salesforce.com error in sandboxes with Winter 18 release

I'm facing an issue with one of my batch process when trying to relate records through an external Id. I have a csv file with info about the record to upsert, and a external id of the account that i ...
2
votes
1answer
397 views

Error calling a custom Rest API in Salesforce

I am facing a weird issue and was wondering if anyone had faced this error. Here are the details: I have written a Custom Rest Service in my Salesforce Sandbox org named CustomAccountService which ...
2
votes
0answers
183 views

Creating a BusinessProcess through Metadata API deployment

I needed to create a new Business Process the other day, and I decided to try using a deployment with the metadata api. After deploying, when I went into the ui, all of the configurations seemed ...
2
votes
0answers
795 views

JSON.serialize results in System.JSONException: Salesforce System Error

This is just a test page. I want to send Javascript object into Remote Method and save it as JSON string, but it keeps failing with this error. Any help is appreciated. Visualforce page <apex:...