The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
35 views

Problem sending email from Salesforce to web.de and gmx.de domains

We're using a form that automatically creates a lead in Salesforce after which an email to the person filling out the form is sent automatically as well. This works well for just about everything but ...
1
vote
1answer
15 views

Javascript remoting on custom object

I have a custom object Feedback. I want to create a list of editable feedback records using Javascript Remoting. Following is my controller.. global with sharing class AccountRemoter { public String ...
0
votes
1answer
27 views

Query request was running for too long [on hold]

SOQL : SELECT Id, WhoId, WhatId, Subject, ActivityDate, Status, Priority, OwnerId, Description, CurrencyIsoCode, IsDeleted, AccountId, IsClosed, CreatedDate, CreatedById, LastModifiedDate, ...
0
votes
1answer
28 views

“Validation errors while saving records” when not actually saving anything

I have two Visualforce pages and a custom controller that comprise a wizard to add products to an opportunity (yes I know that's already in there but I had to resort to this because I couldn't remove ...
-5
votes
2answers
45 views

Pagination : Compile Error: expecting a left angle bracket, found 'lstAccount' at line 11 column 16 [closed]

I'm trying to do pagination based on offset.Below is the code Controller class : public with sharing class PagingController { public PagingController (){ CountTotalRecords= [select ...
9
votes
2answers
94 views

System classes are being shadowed by my Apex classes

When I create a class called Process it looks like I'm experiencing class shadowing. For example: public class Process { //... } The existence of the above class prevents me implementing the ...
4
votes
1answer
48 views

Why do packages have tons of Referenced Packages - often with warnings?

When creating new packages and importing them into the Force.com IDE I recently saw many Referenced Packages which seem to have no connection to my app at all. I would ignore this if not sometimes ...
0
votes
1answer
28 views

Database Save Results, Map.values() and maintaining order

Maybe because it is Friday afternoon, but I feel like I am missing something obvious here. I am trying to work out how I can refer back the errors from a database.insert to the key in my map. So I ...
2
votes
0answers
33 views

Batch Apex: Invalid field StageName for OpportunityHistory

In my SalesForce managed package I have a Batch Apex job that queries OpportunityHistory and does some post-processing (basically serialize them and posts to external Web Service) When I schedule and ...
2
votes
1answer
121 views

Trying to bulkify trigger, getting an error message

I am very new to Apex (about 2-3 days, about two hours of stuff that actually worked) and trying to create an Event once a custom object record is created. I plagiarized code to create an Event and ...
2
votes
1answer
63 views

query on lead history not working

The above query results in an error SELECT MAX(CreatedDate),OldValue,NewValue FROM LeadHistory GROUP BY OldValue,NewValue The error : ERROR at Row:1:Column:69 field 'OldValue' can not be ...
3
votes
1answer
26 views

Salesforce API query encountering error with large integer / double

I'm having an issue querying the Salesforce API with a number larger than the max for a 32-bit integer. I don't think it's code-based as the problem is also encountered when using the Salesforce ...
3
votes
1answer
113 views

Error when trying to create an User-Initiated object (ETEmailSendDefinition)

I'm trying to use fuelsdk-0.999.jar and fuelsdk-0.9999.jar (both gave me the same error) in a Java projetc downloaded from https://github.com/ExactTarget/FuelSDK-Java/releases and when I try to call ...
1
vote
1answer
79 views

Required Field Missing, Upsert Fail

System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Account]: [Account] I am trying to upsert a List of objects ...
1
vote
2answers
81 views

Salesforce Managed Package Installation Error

I am getting the following Error when I try to Install managed package. I am uses the Professional Edition of Salesforce. 'Either you or your organization has exceeded the maximum number of ...
0
votes
1answer
37 views

Invalid Cross reference id due to batch size

I am trying to update a set of users with size 200. But some of them are not getting updated due to "Invalid Cross Reference ID" message. But when I change the batch size to 1, all of them are ...
8
votes
6answers
480 views

Bug with force.com IDE/Eclipse plugin with Spring 14 org's only

On two of my sandboxes I am getting an error every time I open a class or try to open the schema (the classes load but the schema does not). Other org's are working fine but these two, which are from ...
1
vote
0answers
24 views

Upgrade of Managed package fails with <Data Not Available> error email

When I tried to upgrade a customers org with the newest version of our managed ISV package I received this error email minutes after I finished the installation wizard: Your request to install ...
3
votes
1answer
35 views

Test Class error

I have a test class, when i am excuting, getting the below error. System.DmlException: Update failed. First exception on row 0 with id a07J0000006hjjbIAA; first error: ...
1
vote
1answer
160 views

Mysterious OP_WITH_INVALID_USER_TYPE_EXCEPTION, Operation not valid for this user type: []

I had following situation. When I tried to edit and save some of custom object CustomObject1__c instance, I received error in the top of the page Error: Invalid Data. Review all error messages below ...
5
votes
3answers
447 views

How separation of Test Class can solve 101 SOQL Queries Limit Exceeded Error?

Recently one of my colleagues was trying to deploy to production some opportunity trigger activation, but during validation deployment two of ten test methods from TestMyMysteriousApexClass failed ...
2
votes
2answers
90 views

Opportunity field is missing so quote is not inserting [duplicate]

I am using following webservice but my quotes are not inserting it showing an error may i know how to modify my code. for insert of quotes. Can anyone give me suggestions how to modify my code for ...
-1
votes
1answer
822 views

UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record: [duplicate]

I am creating case through trigger,but i am getting the UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record: can anybody help me...
1
vote
1answer
38 views

Mapping error in webservie

Below is My webservice it is working for account to opportunity insert, when i inserting a quote records it showing an error Insertion is fail error message requried field is missing opportunityId ...
1
vote
2answers
426 views

System.ListException: List index out of bounds: 0

I am working with webservice at below line i am getting error System.ListException: List index out of bounds: 0 res.resName = 'success'; Database.SaveResult[] srList = ...
3
votes
1answer
85 views

REST API Sobject GetUpdated/GetDeleted on sobjects returns The requested resource does not exist

I am trying to use the following - http://www.salesforce.com/us/developer/docs/api_rest/Content/resources_getupdated.htm On 'Document'. Authentication and everything is successful, even calls to ...
4
votes
1answer
144 views

Salesforce Compile Error: Expression cannot be assigned at line -1 column -1

I'm getting the error message that is the title of this question. I don't see any documentation for this error and my google searches don't reveal anyone else running into it either. Any guidance? ...
3
votes
1answer
157 views

HELP Please - System.Exception: Too many SOQL queries: 101

I have been struggling with this error for the past one month. I have tried everything. We had no issue with this code till a month ago but now it is creating a problem. trigger CreatePayment on ...
5
votes
1answer
402 views

Average test coverage across all Apex Classes and Triggers is x%, at least 75% test coverage is required

When I try to deploy a change set, the validation step (and deploy) fails and I receive this error message: Average test coverage across all Apex Classes and Triggers is x%, at least 75% test ...
3
votes
1answer
1k views

Can anybody explain the UNABLE_TO_LOCK_ROW error?

Error Message: Developer script exception from Nicomatic : quotepotential : quotepotential: execution of AfterUpdate caused by: System.DmlException: Update failed. First exception on row 0 ...
5
votes
2answers
398 views

Failed to create deployment: This container has a save in progress with deploymentId=[YOUR-DEPLOYMENT-ID]

I received this error message yesterday in the Developer Console, preventing me from saving any new code (Apex, Visualforce) for the past 24 hours. FIELD_INTEGRITY_EXCEPTION Failed to create ...
8
votes
1answer
2k views

Browser Error: “Refused to set unsafe header 'User Agent'”

Just today I started having a very odd layout issue on our standard Account layout. The org in on the NA6 server. This is the standard layout. It's always happening when I use chrome. I haven't ...
3
votes
1answer
253 views

java.lang.reflect.InvocationTargetException

I get this error, java.lang.reflect.InvocationTargetException, when I try to save one of my test classes. Any idea what it is and how to fix the error? When I try to save my class in the ...
2
votes
2answers
308 views

Salesforce SOAP Exception - Expecting Envelop found Fault

I have a problem with parsing a response I am receiving via a SOAP callout in Salesforce. The error I am receiving is : Web service callout failed: Unexpected element. Parser was expecting element ...
0
votes
1answer
71 views

UpdateOnStatusChange: execution of AfterUpdate caused by: System.StringException: Error

Trigger to insert record into another object based on criteria Code trigger UpdateOnStatusChange on Object1__c (after update) { List<Object2__c> ListOfIds = new List<Object2__c>(); ...
5
votes
2answers
304 views

Odd Security Error in Chrome

I have a VF page on my Dev org that calls out to a 3rd party to get some JSON results. This page worked fine last night, this morning I started getting an odd error But my page doesn't have any ...
8
votes
2answers
310 views

Deployment Error on save from Developer Console

I noticed that I cannot save orupdate any code from the Developer Console (Apex Classes, Visualforce...). When I try to save a file, I get an error similar to this one: An unexpected error has ...
-3
votes
1answer
148 views

Error on Visualforce page

Error: <apex:page> is required and must be the outermost tag in the markup at line 1 column 1 <apex:page id="loginPage" controller="CommunitiesLoginController" ...
5
votes
2answers
143 views

java.sql.SQLException error caused by OpportunityLineItem DML request

In our Salesforce.com organization, we have a trigger on the OpportunityLineItem object (insert/update), automatically generating OpportunityLineItemSchedule. The product is schedule by revenue, ...
2
votes
1answer
504 views

INVALID_CROSS_REFERENCE_KEY error while trying to create EntitySubscription in custom object controller

So I'm getting the following erre: FATAL_ERROR|System.DmlException: Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: [] For this ...
3
votes
0answers
245 views

Winter 14 causing errors?

I have a very simple VF Page, that just has an action method that copies the address of the head of household to all the rest of the contacts to the household. This has worked fine, but on Saturday ...
0
votes
0answers
41 views

Error during article import

I'm importing articles using the Article import wizard. I have a Long Text(32,768) field named 'Publishing_Notes__c'. For some of the articles I get this error "The value is too long. Verify your ...
0
votes
2answers
104 views

Getting GC overhead limit exceeded when trying to save in mavens mate

Not sure whats happening, but everything was working fine but now when i try to save anything in MavensMate I'm getting "GC overhead limit exceeded" fault errors randomly. Sometimes i get it five ...
2
votes
1answer
83 views

A problem setting up Canvas - strange error message

Have anyone seen this error message before? The requested URL was rejected. Please consult with your administrator. Your support ID is: 9169748803228620297 I am trying to set up a canvas ...
2
votes
2answers
367 views

When do validation failures automatically generate an Apex.PageMessage?

On all of my Visualforce Pages that involve user input and DML actions I include the handy <apex:pageMessages/> tag. This is great when I'm creating my own custom error messages, and in some ...
0
votes
1answer
146 views

How do I deploy an APEX class from one sandbox to another successfully?

I had to make a few updates to an APEX class in my development sandbox. I edited the class from the develop, apex classes menu in Salesforce, and then saved. I tested the class but am receiving the ...
20
votes
2answers
335 views

Error handling from JS remoting

We are using JS remoting. Found this interesting race condition: JS Remoting AJAX request made by user. Before it completes the user moves to another page When user moves browser to another page ...
2
votes
1answer
160 views

prevent from checking errors on rerender a section

When I rerender a pageBlockSection and a field is required but not filled, then an error is displayed on page. I don't want these errors untill I click on save button. So, how to prevent the checking ...
0
votes
1answer
416 views

error on required input fields on rerender a section [duplicate]

I have 3 input fields in a pageblocksection, all are required. first field is select list, based on second field is rendered. so, when I select value from select list then an action function is ...
2
votes
2answers
1k views

Customize standard error message on the visualforce page

I want to customize the error message box which comes for various errors. i want only a single custom message for all types of errors and also a different custom icon. How can i implement this?