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
Frank N.Frank N. 

500 Servlet Exception after adding a variable to PageControllerBase (Main Base Controller)

Hi Guys,

 

Sometimes when I add variables to the PageControllerBase in our solution I end up receiving the following Servlet errors:

 

500 Servlet Exception

[show] java.lang.AssertionError: apex.bytecodeinterpreter.InterpreterRuntimeException:
Made lookup for field that does not exist: Collaborate_PageControllerBase.MarketSettings



The variable that I added is:

 

public Market_Portal_Settings__c MarketSettings {get; private set;}

 This is a perfectly normal statement, the custom setting is available and works. If I go to APEX-Classes and press compile,  it compiles fine and Eclipse shows no errors.

 

How can I solve these Servlet issues (as they seem to just dissapear over time as well, had that with a previous variable). ?

 

Best.

 

 

Frank N.Frank N.

Interesting note: The site just started working again and the error dissapeared.

 

Is this a caching issue on SFDC side?