The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
32 views

How to auto-refresh page after Visualforce Error

is there any way to refresh page after an Visualforce error: like 'Unable to lock row' please I need help, i was trying to use window.onerror to reload the page but that doesn't work. so I was curious ...
0
votes
0answers
13 views

Chatter window is not displayed [on hold]

We will did managed package our code and after testing from test org. At this time chatter window is not showing any thing.. Any body help me regarding how to fix this error
0
votes
0answers
24 views

Test Class Error : Duplicate ID in List

I have written 1 VF page where I am having list of all Tasks in Org, and added checkboxes in front of them,I want to perform Mass delete operation on selected tasks.My Controller code works fine, but ...
1
vote
1answer
32 views

Missing Organization Feature: DataDotComClean Error While Installing an App

I have one app (Private) published. and When I try to install i get this error message. Any suggestions, I have passed Appexchange Review, Did I miss something in my Managed Package ??
2
votes
0answers
34 views

Mass Lead Conversion Error

I have written the common lead conversion snippets within for loop and I got this Error. Yes following code creates Account and Contacts properly but it doesnt create any Opportunity. ERROR : ...
0
votes
0answers
42 views

Insert contact statement in test class is causing 0% code coverage

I've written a simple trigger to prevent duplication of a lead based on existing leads and contacts. My test has 90% code coverage based on the tests that I've written to prevent lead duplication. ...
1
vote
0answers
42 views

Package install worked yesterday, but not today. Very strange error reported

We are creating a managed package, which recently passed the received security review, and have had no issues installing it in DE and EE orgs...until today. Today, installs are failing in production ...
0
votes
1answer
27 views

Does anyone recognize this error message pop up in Salesforce?

I'm trying to run some tests in the Salesforce 'Apex Test Execution' page and suddenly this error message has popped up, it keeps appearing when I press the 'Select Tests...' button. Has anyone seen ...
1
vote
1answer
43 views

APEX Unit tests hello world

I am trying to learn how to do APEX testing but all the tests in the documentation are too complex and I can't find an example of a simple APEX Controller that is a Hello World Test. I have this APEX ...
3
votes
1answer
52 views

Why i get “An error occurred when processing your submitted information.” after a standard field validaton?

I have 3 inputfields from Account object in a pageblock table: personemail personbirthdate personmobilephone If i type a misformatted email address (for eg. missing @ sign) or birthdate than i ...
0
votes
1answer
21 views

Error on searching for OwnerId

I'm getting an error while filtering the search by OwnerId for Task object. Following is what i'm doing and it is giving me an error : Error: Compile Error: expecting a semi-colon, found ' and ...
0
votes
1answer
29 views

“FIELD_INTEGRITY_EXCEPTION:Week: invalid date: Fri Jun 29 00:00:00 GMT 14 Error fields: Week__c ” [duplicate]

I am getting below error when I am trying to insert records using data loader.I see file contains Week__c column with value as 6/29/14 and Week__c is Date field in the custom object.What may be the ...
0
votes
1answer
37 views

Error in query for multiple fields

When i write 'Select Id, Subject,Status from Task where Subject like \'%'+searchText+'%\' OR Status like \'%'+searchText+'%\' Order By Subject,Status'; it is working but when i include OR ...
3
votes
2answers
74 views

Why does the getErrors() method on DataBase.SaveResult return a List?

Each instance of a Database.SaveResult corresponds to a result of a DML operation on a single record. According to the documentation, the method to get error details for a record actually returns an ...
1
vote
2answers
60 views

Trigger to Insert Child Object Records

On update of a Parent Object (Recipe Sheet) to be set to "Add to Inventory" I need to add Child Records (Recipe Sheet Items) based on another table in Salesforce tied to the Product table (Product ...
1
vote
0answers
26 views

ExactTarget A/B Testing page is blank

When I try to load the A/B testing page of the Email app, it fails to load the javascript source page-overview.js. This is using Chromium Version 34.0.1847.116 Ubuntu 12.04 (260972). What is ...
5
votes
1answer
164 views

How to capture those records that was unable to get inserted?

Say, I have a list of 1000 records to be inserted. How to capture those records that failed to get inserted? I realize that I can use DMLException to get the error. But how to get a list of failed ...
2
votes
0answers
46 views

ExactTarget “Index was outside the bounds of the array” Error

We've had a page running for a year now. It suddenly stopped working. It processes appointment confirmations or cancellations. The error I am receiving is this: An unexpected error has occurred! ...
0
votes
0answers
102 views

SSLHandshakeException while connecting to SF from a standalone java client via a proxy

I am trying to connect to a SF hosted APEX web service. previously i managed to do so when i was accessing the service without a proxy mediating the communication. On port the same standalone java ...
2
votes
1answer
80 views

System.DmlException: Insert failed

I am having trouble with one of my test classes (PortalControllerTest) which keeps failing validation. This is the error I receive: System.DmlException: Insert failed. First exception on row 0; ...
1
vote
2answers
45 views

De-Reference Null Object

I am reusing some old code here - i've made slight changes but the code itslef is so old it contained the test class within the main class. I have seperated them out but I am getting a pile of errors ...
1
vote
3answers
87 views

Formula field is too big to execute (5,480 characters)

I got an error when i am trying to add fomrula in formula field. Error: Compiled formula is too big to execute (5,480 characters). Maximum size is 5,000 characters My formula is ...
3
votes
2answers
174 views

Understanding 'List has no rows for assignment to SObject' in a trigger creating new record on custom object

I'm having an issue with my Apex Test Class from a trigger. I've used the trigger multiple times in my sandbox but when I try to test it out it fails. The reason for the failure is ...
0
votes
0answers
19 views

I keep getting a "thread is being aborted error' when doing retrieves in ampscript

I have a script in ampscript that does a retrieve for an open event based on a send id. For each subscriber returned from this retrieve, i then check the lists they are on by retrieving ...
0
votes
1answer
110 views

Error in Apex Trigger adding trigger.isUpdate

With the help of others I wrote an apex trigger that places the last completed task's subject into a field called Last_Activity_Subject__c for both opportunities and leads. The trigger worked fine ...
1
vote
2answers
130 views

Test Code assistance on Orders - System.SObjectException: Field is not writeable: Order.AccountId

I am not sure how to resolve this. With the new Orders Object Salesforce does not give you the option to create a new Order from the Opp. This is a requirement for our org. I have created a custom ...
0
votes
2answers
115 views

Error while inserting records using batch apex

I want to insert Account records using batch apex and below is my code . I'm getting following error shown in dev console 5:50:40:090 EXCEPTION_THROWN [18]|System.DmlException: Insert failed. ...
7
votes
3answers
65 views

Data Not Available? Can't edit a custom formula field formula

Any ideas why I would get a "Data Not Available" error when editing a custom field? In this specific instance I'm editing a formula field, and I'm able to edit and save changes to the description and ...
1
vote
0answers
40 views

“Unsupported type java.lang.Class” error when checking ApexPages.Action with ISNULL

I have a custom component which doesn't use a Custom Controller. On of the optional attribute is of Type ApexPages.Action. The component renders a command button only when this attribute was set. It ...
2
votes
1answer
56 views

SObject row was retrieved via SOQL > without querying the requested field

I am working on a trigger that creates one custom object record (Recipe Sheet) for each Opportunity Line Item associated to an Opportunity. Everything is working correctly except I need to set the ...
3
votes
1answer
210 views

UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record failing on bulk insert

Following trigger creates a child records on insert of parent record.It checks for number of years field on parent and creates child records based on number of years.It also does check for grantor ...
2
votes
1answer
359 views

Class Error Unexpected token Global

I need some help, I have created the following (see below) However I am getting the following error : Error: Compile Error: unexpected token: global at line 28 column 0 I do not understand why ...
1
vote
1answer
156 views

Test Class fail

UPDATE - I have found that the trigger I was trying to deploy is probably the cause of the other issues. This trigger is to count all opps associated to an account and update the account field ...
3
votes
3answers
141 views

Trigger : Need Help for showing a nicer error

I have created a trigger for the following behavior in my Salesforce org: When the user changes the Account Owner, it automatically changes the Contract Owner on the related contracts before update. ...
-2
votes
1answer
53 views

Sending value to salesforce through CURL i got following error.Please guide

Reason: Contract_Number__c duplicates value on record with id: 00QF000000ZgKKC Lead Capture Page: Not available. I received this in an email: Salesforce could not create this lead because of ...
2
votes
1answer
69 views

Update fields in Custom Object (Sales Order) when related Custom Object (Sales Invoice) is created

This is only the 2nd trigger I've attempted to write, and it's making me nuts. I have two custom objects: Sales Order Lines (child of Sales Order) and Sales Invoice Lines (child of Sales Invoice). ...
4
votes
1answer
186 views

Unable to upload an Attachment - Bulk API

I'm using Bulk API to upload attachments and getting an error: InvalidBatch : Failed to parse CSV header. Number of Records Processed: 0 While I'm getting following error at the Salesforce ...
3
votes
2answers
388 views

custom error logging, batch apex, failure/success counts

This may be simple, but I want to implement custom error logging for a batch class, where handled exceptions get written to a logging object in the database. So I could use the technique in Andrew's ...
1
vote
1answer
106 views

Error: “Email: data value too large: (max length=80)”

When migrating contact record to Salesforce I hit this error: "Email: data value too large: (max length=80)". What should I do if one of my emails is longer than 80 characters?
0
votes
2answers
126 views

What does Developer Script Exception System.NullPointerException precisely mean?

Subject: Developer script exception from Relias Learning : CommentsOnClosure : CommentsOnClosure: execution of AfterUpdate caused by: System.NullPointerException: Attempt to de-reference a ...
4
votes
1answer
104 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
64 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
255 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
120 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
113 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 ...
7
votes
1answer
245 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
87 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
49 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
372 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
130 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 ...