Hit ClassCastException
===

I am calling this class which is `PopupScreen`.

    public class Custom_LoadingScreen extends PopupScreen {
	private VerticalFieldManager vfm;
	private Util_AnimateGifField anmtFldCycle = null;
	private GIFEncodedImage gifImgCycle;

	public Custom_LoadingScreen() {
		super(new VerticalFieldManager());
		Background bg = BackgroundFactory.createSolidTransparentBackground(
				Color.BLACK, 190);
		setBackground(bg);
		setBorder(BorderFactory.createSimpleBorder(new XYEdges(),
				Border.STYLE_TRANSPARENT));

		gifImgCycle = (GIFEncodedImage) GIFEncodedImage
				.getEncodedImageResource("LoadingSpinner.gif");
		anmtFldCycle = new Util_AnimateGifField(gifImgCycle,
				Field.FIELD_HCENTER);

		vfm = new VerticalFieldManager(USE_ALL_WIDTH) {
			protected void sublayout(int maxWidth, int maxHeight) {
				super.sublayout(Display.getWidth(), Display.getHeight());
				setExtent(Display.getWidth(), Display.getHeight());
			}
		};
		int padding = (Display.getHeight() - 16) / 2;
		if (padding > 0) {
			anmtFldCycle.setPadding(padding, 0, 0, 0);
		}
		vfm.add(anmtFldCycle);
		add(vfm);
	}

	//public void Popupscreen() {
		//Main.getUiApplication().popScreen(this);
	//}

	public boolean keyDown(int keycode, int status) {
		if (Keypad.key(keycode) == Keypad.KEY_ESCAPE) {
			Main.getUiApplication().popScreen(this);
			return true;
		}
		return super.keyDown(keycode, status);
	}
    }

In a button, I pushed it before goes to next screen.

    financebtn = new Custom_ButtonField(finance, financeactive,
				financeactive) {
			protected boolean navigationClick(int status, int time) {
				Main.getUiApplication().pushScreen(new Custom_LoadingScreen());
				Main.getUiApplication().invokeLater(new Runnable() {
					public void run() {
					//	Main.getUiApplication().popScreen();
						Main.getUiApplication().pushScreen(
								new Main_NewsDetail());
					}

				}, 1 * 1000, false);

				return true;
			}
		};
		add(financebtn);

The result give me `Uncaught:ClassCastException`. I can call another class which is similar to `custom_loadingscreen` also popupscreen. It work fine.

I also tried call this class in another button yet still same problem.