function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepa.B.AnkaliDeepa.B.Ankali 

An error occurred when processing your submitted information

Can anyone explain me why this error arises. Tried all other replies for the similar post. Doesnt work. This error occurs on click of save button in a custom visualforce page.

 

error:

  • j_id0:apexForm:Pb:j_id179:j_id180:0:j_id181: An error occurred when processing your submitted information.
Best Answer chosen by Admin (Salesforce Developers) 
Deepa.B.AnkaliDeepa.B.Ankali
Issue fixed. Issue was with retURL. It was null and same was being used to assign to another object instance.

All Answers

Subramani_SFDCSubramani_SFDC

can u post ur code here??  See any blank spaces in your button code value {! save } like this...

Deepa.B.AnkaliDeepa.B.Ankali
@subra,

Its a very huge code. I have checked and there is no merge field reference with spaces in page.
souvik9086souvik9086

Is there any javascript attached with the save button functionality?

Deepa.B.AnkaliDeepa.B.Ankali
@souvik9086,

No, following is the code for save button:
<apex:commandButton value="Save" action="{!doSave}" rerender="Message" status="processingImg"/>
Deepa.B.AnkaliDeepa.B.Ankali
Issue fixed. Issue was with retURL. It was null and same was being used to assign to another object instance.
This was selected as the best answer