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
Lynn Grande 13Lynn Grande 13 

Internal server error on VF page load.

I am having trouble with a few VF pages not loading under a certain profile. I get the error below. 
I have checked all object/field/page/class permissions and cannot pinpoint the issue.
Has anyone seen this error and what was the problem?

An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. 

Thank you again for your patience and assistance. And thanks for using salesforce.com! 

Error ID: 1489619450-33212 (1101702301)
 
James LoghryJames Loghry
Lynn,

Unfortunately if you want to know the exact error, you will have to open a ticket with Salesforce support and ask them to look up a "gack" for you, and reference the error code in your post.

However, I would suggest starting from scratch with a blank VF page and adding in pieces until you get the error.  This will help narrow down the root cause of the Internal Server Error, and perhaps you can determine a fix for it then.

 
Lynn Grande 13Lynn Grande 13
I just think it is odd that i can view and use page as admin profile but not another profile. *Thank you,* *Lynn Grande, PMP* Southerly Engineering Services LLC http://southerlyengineering.com/ lynn@southerlyengineering.com www.linkedin.com/in/lynngrande https://www.linkedin.com/company/southerly-engineering-services PH: (508) 341-3258
Lynn Grande 13Lynn Grande 13
I also tried opening a ticket but it says developer issues for my level are only handled on community... so it won't let me open a ticket. *Thank you,* *Lynn Grande, PMP* Southerly Engineering Services LLC http://southerlyengineering.com/ lynn@southerlyengineering.com www.linkedin.com/in/lynngrande https://www.linkedin.com/company/southerly-engineering-services PH: (508) 341-3258
Shazib MahmoodShazib Mahmood
Thats very strange. Perhaps recreate the VF and add back the VF page to profile + any relevant apex classes?
Mahesh DMahesh D
Hi Lynn,

This error pops up when one of your Apex classes has somehow become 'invalid' and no longer compiles. It might be certain references that are no longer valid, or a test class that was not updated with the updated Apex class.

Anyhow, to fix it, go to Setup -> Develop -> Apex classes and click compile all. If you're lucky, it will give some comprehensible information about what's going on. If it doesn't work as you want, open up all your Apex Classes, and save them again one by one. You'll hit an error somewhere. Fix those, and the upload should go smoothly afterwards.

To speed up this process, you could check the "isvalid" flag on the metadata of your apex classes to find out which class is not valid.


--------------------------------------------------------------------------------------------------------------------------------
You can try few things here:

Step 1: Create a brand new VF page with out any controller and check the results.

Step 2: Create a brand new VF page with Standard Controller and check the results.

Step 3: Create a brand new VF page with Cutsom Controller and check the results.

Based on these we will get an idea, what is happening.

Please do let me know if it helps you.

Regards,
Mahesh

 
Lynn Grande 13Lynn Grande 13
Thank you all for your help. The offending field was a lookup field to a table that the profile did not have permission to... this was a learning experience. It was tedious to debug but now I will be more aware of the tables I am referencing from a VF page :-) *Thank you,* *Lynn Grande, PMP* Southerly Engineering Services LLC http://southerlyengineering.com/ lynn@southerlyengineering.com www.linkedin.com/in/lynngrande https://www.linkedin.com/company/southerly-engineering-services PH: (508) 341-3258