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
Ram Holla 1Ram Holla 1 

When saving the VF page Getting the below error:

Visualforce Error
Help for this Page
java.lang.ClassCastException: common.apex.runtime.bytecode.SFDCApexBasicInterpretableClass$BigDecimalByteCodeObjectInstance cannot be cast to common.apex.runtime.bytecode.SObjectObjectInstance 


Can anyone help me out where I may went wrong
 
SandhyaSandhya (Salesforce Developers) 
Hi,

Make sure that you are saving the report ater all your work done and also rereshing the page which worked or me.

Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya
 
KrishnaAvvaKrishnaAvva
Hi Ram,

You need to handle the exceptions using APEX Page Messages.
Please refer to this thread on how to fix it  : https://developer.salesforce.com/forums/ForumsMain?id=906F000000092HWIAY

Regards,
Krishna Avva