Questions tagged [unexpectedexception]
Use for questions related to System.UnexpectedException.
21
questions
0
votes
0answers
23 views
Developer script exception: Do not have access to view running user
I'm trying to debug a "Developer Script Exception".
Apex script unhandled trigger exception by user/organization:
0053000000ARXXX/00D30000000XXX
AccountMasterTrigger: execution of ...
-2
votes
1answer
53 views
Getting Unexpected Token error when inserting records from execute anonymous [closed]
Custom_Object__c co = new Custom_Object__c(Name='TEST', Date_of_Visit__c=2019-06-06);
insert co;
0
votes
2answers
36 views
Show System error messages in visualforce markup
I wonder, is it possible to show exceptions or any errors, like "Null pointer exception" in visualforce? For now all errors refresh the page and displaying error on the blank page. I want for my ...
5
votes
0answers
274 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 ...
3
votes
1answer
624 views
recalculateFormulas() throws an unexpectedException. Unable to create/update fields
I have a function in Apex that sets a few fields on my custom object and that also calls the recalculateFormulas() function on the object. I call my function from Salesforce through a custom button.
...
9
votes
2answers
819 views
Catching an UnexpectedException?
My specific questions are (for the below detail):
Anyone have any idea why the design is like this?
Is the only solution to always clean the content perfectly before saving it?
This type is not ...
2
votes
1answer
321 views
TypeError: cannot use the given object as a weak map key while using Swiper.js in Firefox
Getting below error in Firefox, when using Swiper.js in a simple Lightning App.
TypeError: cannot use the given object as a weak map key throws at
https://rio-education-dev-ed.lightning.force....
0
votes
2answers
119 views
Collection read only : Unable to add to set
I have to populate a set of Ids with Ids derived from a List<List<sObject>> say searchlist. Below code as I am trying gives me System.Final Exception as Collection is read only and ...
3
votes
2answers
1k views
Platform Event Testing: Unexpected Exception: Error processing messages
I've been doing a lot of work with Platform events and found it a fantastic way to implement some domain driven design patterns, decouple code, and separate execution contexts. Unfortunately I've been ...
0
votes
1answer
310 views
(Flow + Invocable) System.UnexpectedException: Illegal arguments
I am getting a very strange exception when trying to invoke Apex from a Flow:
Sandbox: Error Occurred During Flow "Account_Update_Lead_and_Contact_Fields": An Apex error occurred: System....
3
votes
1answer
1k views
System.UnexpectedException on testing Batch
Nothing special. I am testing batch class and I am facing the following exception:
Error Message
System.UnexpectedException: Error processing messages
Stack Trace
Class.System.Test.stopTest: ...
1
vote
0answers
280 views
Apex Exception Email not sent in sandbox
Hello I wrote a class which implements Messaging.InboundEmailHandler so I can store my Unhandled Exceptions in Salesforce for historical reporting. I tested it manually by sending an email to my ...
2
votes
1answer
595 views
org.auraframework.throwable.quickfix.DefinitionNotFoundException: No APPLICATION named markup:
We're getting an error in Lightning embedded VF page (while loading page) since yesterday. It appeared in Dev. org (for testing) we installed this managed package for testing. Is this a known issue? ...
2
votes
1answer
7k views
How to send List<Wrapper class> from Lightning component to Apex Controller?
My question is bit similar to this. But I'm getting a Runtime exception in SF.
Not getting a compiler error, but in Apex, it's throwing,
FATAL_ERROR System.UnexpectedException: Salesforce System ...
0
votes
1answer
380 views
Variable does not exist: portalUserInfo.conAccount.Id in Query
Please help with this error:
String query = 'SELECT Project__c,'
+ ' Project__r.Testing_Submitted__c,'
+ ' Project__r.Project_Sub_Phase__c,'
+ ' Project__r....
2
votes
2answers
368 views
Unknown property 'SObject.Description' Error is in expression '{!FormObject.Description}' in component <apex:page> in page formgen_page
I did a small test program to dynamically populate a set of fields onto a Visualforce page, which can enable users to enter data from the form.
Created a fieldset as below.
Then I did an Apex page ...
0
votes
1answer
80 views
Attempt to dereference null object error
I have below controller where I get Attempt to dereference a null object error at ProdIds.add(c.id); Line.
Error Code
public TestController(ApexPages.StandardController stdCtrl)
{ ...
0
votes
1answer
142 views
List out of bound exception at List<Blob>
I have below piece of code where I get below error. Here b is the List of blobs.
Error
List index out of bounds: 3
Apex Code
for(integer i = 0; i <counter; i++)
{
Messaging....
0
votes
2answers
5k views
Getting System.UnexpectedException: java.math.BigDecimal cannot be cast to java.lang.Integer error
When sorting above records of Object A and Object B in sobject list, i was getting below error. Initially I thought this is some thing related to values in Row_Index__c number type field but now i ...
46
votes
1answer
4k views
Winter 16 recalculateFormulas() fails when sObject has relationship fields
Using the new method on sObject recalculateFormulas() fails when the Sobject includes relationship fields - note account.name in the query.
FATAL_ERROR System.UnexpectedException: Opportunity: bad ...
4
votes
1answer
1k views
recalculateFormulas() causing UnexpectedException: Unable to create/update fields: IsDeleted
When I update my custom Record__c a trigger runs, and it calls recalculateFormulas() on the record. This results in the following error:
System.UnexpectedException: Unable to create/update fields: ...