Error from java.lang.stackoverflowerror

Hello,

I am facing a problem related in Lotus Notes 8.5.1 Designer.

I have create a view control in a XPage. And I try to hide that column by using following code

if(currentDocument.getItemValueString(“TXT_REQREFNUMBER”)==“” || getComponent(“txt_Status”).getValue()==“Draft”)

{

return true;

}

else

{

return false;

}

But after giving this, the xpage become corrupted.

After sometime when I try to open that same xpage, it opens in a tab with the name “XSP Editor”, and nothing is opened.

Sometime the error message comes from “java.lang.stackoverflowerror”

Can anyone help on this?

Thanks and regards

Sandip