Xpage CTRL+n open new browser page CRASH

Hi guys,

I built my Xpage, there’s a tabbed panel, each panel’s got a custom control placed in.

Everything works fine, but I notice that if the user creates a new webpage (using ctrl +n in the browser) it goes to crash with this message:


Unexpected runtime error

The runtime has encountered an unexpected error.

Error source

Page Name:/xpages.xsp

Exception

java.lang.Double incompatible with java.lang.String


This is a big issue, because I don’t know how to deny the user to create a new page, then I don’t know how to manage/avoid this error.

Any help?

I’d appreciate a lot.

Thanks

Marco