Error - A mistake or Getting unexpected output or Bug

learn more… | top users | synonyms

3
votes
1answer
27 views

Why did my workflow rule run? (A spin on the usual question)

I have a workflow rule that fired unexpectedly. The workflow rule was set to evaluate when a record is created, and any time it's edited to subsequently meet criteria The workflow rule criteria are: ...
1
vote
1answer
13 views

Error message in self registration

I've set up self-registration in communities and it works fine because it registers users and assigns them to right profiles, but if the email is already in the system it gives out an apex message on ...
0
votes
0answers
17 views

Getting an error when using Quosal with salesforce.

I am getting an error when I try to create a proposal and publish to Salesforce. The error I am getting is: Unable to create/update fields: Total__c. Please check the security settings of this field ...
1
vote
1answer
12 views

Unable to Access Page Error

I am trying to edit the Probability value in the Stage field on the Opportunity Sobject, but when I click save it gives me the following error: The value of a parameter contains a character that ...
0
votes
1answer
33 views

Reoccurring Error Message [on hold]

We are getting this error: Uncaught Action failed: ui$inputSelect$controller$doInit [TypeError: Cannot read property 'Salutation' of null] Can anyone help in fixing this error?
1
vote
0answers
11 views

Flow error: unable to parse field as dataType

I'm repeatedly getting the following error in my flow, which is supposed to lookup matching FeedItems, then delete them: An error occurred at element Find_Matching_Posts (FlowRecordLookup). ...
0
votes
2answers
24 views

We can’t find an active version of the login flow. For help, contact your Salesforce administrator

need help to fix this error "We can’t find an active version of the login flow. For help, contact your Salesforce administrator. "thanks in advance
0
votes
1answer
75 views

System.AssertException: Assertion Failed: Same value

This is related to Lightning Specialist Superbadge step 6 - Automate fulfillment cancellation actions. The task is when fulfillment is Cancelled, the related OpportunityLineItem unitprice (i.e., ...
0
votes
0answers
34 views

no viable alternative at character '\'

public void getChildRecords() { DescribeSObjectResult describe = objectVar.getSObjectType().getDescribe(); childRelationshipNames = new List<String>(); for (Schema....
0
votes
0answers
28 views

Internal Salesforce Error (-1925410644)

I am facing this issue While saving the case comments. I have 4 triggers related to the case comment triggers. If I deactivate one of the triggers in that, I am able to save the comments. Kindly help ...
3
votes
1answer
46 views

Variable does not exist: Decimal

I have the following code: fieldList = (List<Object>)JSON.deserializeUntyped('['+ JSONValueRights +']'); for(Object fld : fieldList){ Map<String,Object> data = (Map<String,...
0
votes
0answers
23 views

There are bugs/Erros in Fuel SDK version .9 for C#

I am using ExactTarget's Fuel SDK version .9 for c# to send emails. Sometimes (randomly) I am receiving System.NullReferenceException: Object reference not set to an instance of an object. exception ...
0
votes
3answers
27 views

Value '[X]' cannot be converted from Text to core.apexpages.el.adapters.metadata.VFSObjectELAdapter

Faced with problem when saving the Task (Log a Call) record. This error shows up below field Subject on edit layout. My save Method is: Public PageReference saveRecord() { Task ts = new Task()...
1
vote
1answer
65 views

LockerService in Lightning Components is blocking Canvas element color fill completely

When LockerService is activated, it makes <canvas> element unusable. And if I deactivate LockerService, it would display <canvas> in filled color. Consider following code and actual ...
0
votes
2answers
47 views

Formula is to big to execute…What else can I use to write a formula for a field

Hi I am just wondering if I wanted to write a formula that computes a number for specific field, how else can I go about doing this? I am currently using the advanced formula section for the field and ...
0
votes
2answers
98 views

Problem installing our manage package

Good day everyone, I have a manage package in my org. It is working well. But just this morning, when I try to install the package I've seen this error for the first time. "Something has gone wrong....
1
vote
3answers
41 views

SOQL error on enabling namespace

I have enabled namespace in my dev org. Namespace name - LightningMyth. When I write the following query in any class/trigger, List<Account> acc=[SELECT ID FROM ACCOUNT limit 1]; I get ...
1
vote
2answers
38 views

get Attempt to de-reference a null object on wrapper class

i get this error when i click on the Commandbutton Enregistrer, i debug the code and i realized that the error comes from the method Enregistrer what i do not know why ? apex: public class ...
1
vote
3answers
44 views

System.NullPointerException: Attempt to de-reference a null object on After Insert trigger

I've written an Apex class to update a field based on valued in a custom setting. However, I get the following error when I run the test class: System.DmlException: Insert failed. First exception ...
1
vote
3answers
31 views

How to generate an error message using two tick boxes and a pick list?

I am creating a validation rule for an opportunity. Basically saying if you choose tick box A or tick box B then you must pick an option from the pick list. I am new to the formulas and I have got it ...
0
votes
2answers
44 views

LookField Update with PickList of another Object

I have two Objects DealSheet__c, Change_Log__c. Now I want To Update One Lookup field(Counter_Party__c) of DealSheet__c with the pickList Field(Cp_list__c) of Change_Log__c. Trigger Handler Code: ...
3
votes
0answers
63 views

The page you submitted was invalid for your session Error

After reviewing all other posts related to this error I could find on stackexchange and on other salesforce forums I still couldn't find any similar scenario to mine. Exact Error : The page you ...
0
votes
0answers
46 views

Send Email from Apex Class in Sandbox is not working

I wrote a simple class that send email to user .. but i am facing a issue in sending email in my sandbox and the error is : System.LimitException: Too many Email Invocations: 1 Yes it is 1 not ...
2
votes
2answers
72 views

Check for error messages on vf pages

Can we check if there are any error messages on a Visualforce Page? My scenario is to redirect to a record after a record is inserted on button click. I have an oncomplete attribute on a commanbutton ...
0
votes
1answer
21 views

Allowing users to insert (or create) an opportunity

I'm facing this error : OpportunityTrigger: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: ...
0
votes
1answer
26 views

error: Variable does not exist in soql

here is the query i am using: bilan1 = [select id,valider__c,poste__c,Statut__c,Poste__r.Date_dernier_bilan__c, date_bilan__c, moyenne_du_bilan__c from Bilan_de_positionnement__c where poste__c in: ...
0
votes
2answers
69 views

Setting errors in input controls violates access check error

In the example given about validating user inputs you can see this line inputCmp.set("v.errors", [{message:"Input not a number: " + value}]); When I do the same I receive an access check error in ...
2
votes
2answers
22 views

Error: Before Insert or Upsert list must not have two identically equal elements

Im getting above error when I try to add some custom records to a list and insert it later. Here's what Im doing. From the following code, I call a method from a different class (SetupBase) and add ...
0
votes
0answers
58 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

I have a test class that was running fine until . Now I continue to get this error message: System.DmlException: Insert failed. First exception on row 0; first error: ...
3
votes
2answers
158 views

Can we display warning message from Trigger

I am using custom Object, I need a warning message on Detail Page, Is there anyway?
2
votes
1answer
46 views

Would updating children records at the same time cause “UNABLE_TO_LOCK_ROW” error? How can I avoid this?

I have 3 objects with the below relationship: One Account(Master) Opportunity(Detail) Custom__c(Parent) (lookup on opportunity) Opportunity(Child) Here's the scenario: I have 1 ...
1
vote
2answers
36 views

Mixed DML operation error [duplicate]

I am facing Mixed DML error in the following case: static testmethod void method1() { User u1 = DataFactory.createUser('testUser','test@user.com','permissionSetAPIname'); Obj1 rec1 = ...
0
votes
0answers
84 views

common.apex.runtime.impl.ExecutionException: Invalid conversion from runtime type String

I get an error when i run the "Filtrer" method common.apex.runtime.impl.ExecutionException: Invalid conversion from runtime type String to rubrique_analitique__c here is my code public class ...
0
votes
0answers
64 views

Send With DocuSign Button not Working

When i Click on Send with DocuSign Button On contact its showing me this error Unable to display this envelope either because the user has insufficient access or the envelope does not exist. Can ...
0
votes
1answer
50 views

Custom Javascript Button returns “Unexpected token ILLEGAL”

I'm trying to create a custom button that executes javscript on the Case object. I simply want to check if the Case has a specific child record already and forward the user to that record if it exists ...
0
votes
0answers
33 views

Why 'Methods defined as TestMethod do not support Web service callouts' error?

I have simple trigger that changes value of one field based on value of other field. Following is test class for that Trigger @isTest public class SMS_OPT_OUT_TC{ static testmethod void ...
1
vote
0answers
33 views

Migration of Permission Sets through Change set gives error

I got an error while Migrating Permission Set from one Sandbox to another. Permission Read All A depends on permission(s): Read All B. I have checked Object Setting for both the object and the ...
0
votes
0answers
21 views

How to add Tags in Content without Publishing, using APEX?

Is there a way to save Tags in Content Version records uploaded via APEX to personal space or chatter feed only? I'm trying to Upload a file to "Salesforce Files" without Publishing it to a Library. ...
1
vote
1answer
48 views

I am getting the following error - CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY:updateAccount: execution of BeforeInsert

I have the following trigger: trigger updateAccount on Contact (before insert, before update){ Set<String> emailDomain = new Set<String>(); Map<String,Id> accountMap = new ...
0
votes
1answer
29 views

Can anyone help with the below error, Error: Incorrect number of parameters for function 'ISBLANK()'. Expected 1, received 2

AND ( ISPICKVAL( VALIDATED__c, "YES" ), OR ( ISPICKVAL( Account_Loss_Machine_Loss__c , " "), ISPICKVAL( Lost_To__c , " "), ISPICKVAL( Reason_For_Loss__c , " ") , ISPICKVAL( ...
1
vote
1answer
17 views

Error: Unknown property 'PAModel .saveAllRelated'

I have the following piece of code in a component <apex:attribute name="Model" description="" type="PAModel" required="true" /> <div> <input type="button" style="display: block; float:...
-1
votes
1answer
70 views

Apex:pageMessages Only Displaying First Error on Visualforce Page

I have a visualforce page in which I have set many inputFields as required. When I click save and if no values have been entered for the required fields i do receive an error message Error: You ...
0
votes
0answers
13 views

Customize Canvas error when app behind canvas is down

I have been googling about this without any related answer, as all the questions are directed to solving the actual problem behind the error, my problem is more how to customize the error displayed. ...
1
vote
2answers
418 views

Error #16 loading Highcharts with Lightning Components

I have a Salesforce Lightning customer community and I have several lightning components with different charts and maps using Highcharts and the map.js module. I have the following code. Map ...
1
vote
1answer
37 views

Error: Unknown property 'OpportunityStandardController.Stage'

while creating stage picklist am getting this error..please help me to resolve .. <apex:pageblockSectionitem> <apex:selectList size="1" value="{!Stage }"> &...
2
votes
2answers
92 views

SOQL query failing when comparing formula field and currency field values

I'm having trouble trying to figure out what's wrong with this SOQL sentence: SELECT Id, FormulaField__c, CurrencyField__c FROM MyTable WHERE FormulaField__c != CurrencyField__c ...
1
vote
1answer
32 views

While creating the sandbox I am getting the error like this?

While creating the sandbox I am getting the error like this?
4
votes
2answers
55 views

controller extension not found

I created a controller extension for the Contact object. I don't know if it will work or not, because I can not test it. Salesforce is acting like my controller extension does not exist. Error: ...
3
votes
1answer
112 views

JavaScript Button - SOQL Query Syntax Issue resulting in 'missing ) after argument list' error (SF Classic)

Scenario: I am working on a button which should create a new Sprint__c child record with Record Type "Sprint Deployment" which will be automatically linked (via lookup) to the Sprint__c record that ...
5
votes
2answers
129 views

Why am I getting group by aggregate errors in this query

I need to count the total number of orgs. Why won't this query work? I get errors not matter what I group or not group. I only put in Group by to try to placate the compiler but he's in a very bad ...