java.lang.IllegalArgumentException when appium server is down

Hello,
When appium server is down I am getting an exception of:

java.lang.IllegalArgumentException: Can not set io.appium.java_client.MobileElement field pages.LaunchPage.loginSignupButton to org.openqa.selenium.remote.RemoteWebElement$$EnhancerByCGLIB$$d27c0df4

If appium server is running then i am not getting any exception.

this is how i find the element:
@AndroidFindBy(id = “com.recntrek.staging:id/tutorial_signup_tv”)
private MobileElement loginSignupButton;

I initialize the element on a different class (thew super class) :
PageFactory.initElements(new AppiumFieldDecorator(abstractPlatform.getDriverWrapper().getDriver()),this);

Any idea why this is happen?

Thanks