Why gack Id Error ID: 248606545-14096 (-1147209962) is displayed when I try to review the information for my managed package?
I cannot view the details of my 1GMP because of this Gack Id.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI have opened Salesforce Support case and we have found out the following steps to reproduce the issue
STR (Main case - Gack Id -1147209962)
STR for subcase1
namespace__Test_Object_trunc__c
to the package.STR for subcase2
Test_Object_trunc__c
to the package.Workaround - remove the tab and the undeleted truncated object from the package or at least from the custom application.
Update from Salesforce support: All of the Gack Ids are related to the same internal problem
lib.gack.GackContext: common.exception.AssertionException: ORA-20070: Component namespace "NULL" does not match package namespace "namespace"
However, the first gack id refers to field N__c
on Test_Object_trunc__c
which lacks namespace prefix.
The second gack id refers to layout (when, layout case is interesting, since the Object does have a namespace
Id Name FullName LayoutType
00h4H000002wOiuQAE Test Object_trunc namespace__Test_Object_trunc__c-Test Object_trunc Standard
but it still fails with the same error)
The third gack id refers to an object itself test_trunc__c
Also, as far as I know, this is not possible to create an object, a field or page layout without namespace in namespaced packaging org, since when you try to add a new custom object, a new field or a new page layout, namespace prefix is added automatically. This implies, the culprit is in the process of truncation and undeletion. When object is truncated, Salesforce creates a copy of it and its fields and its layouts, so the real problem is that Salesforce removes the namespace prefix during object truncation from the object itself, its fields and its layouts.
Update from SF Support as of 31 Aug 2022.
Salesforce Product Team refused to consider this as a bug or known issue due to mention in SF documentation
IMPORTANT Truncated custom objects can’t be restored to their original state.
while in fact it doesn't explain what is their original state and what consequences it may have.
Suggested to create an idea about webservice or knowledge article about all gack ids. I have created such an idea