How to crash an XPage. It is very simple Put this as passthru in a Richtext field and display it using an XPage
<a name="test"><h1>Test</h1></a>
It will generate an
java.lang.StringIndexOutOfBoundsException
in Domino 8.5.2 (Designer HTTP Preview or Domino server).
This would work fine.
<a name="test" href="http://www.ibm.com"><h1>Test</h1></a>
The error seems to be caused by the missing href attribute although this is valid html.
I am not writing this here to show how bad XPages are but to help someone that is getting the same error message. Cost me a day to find out. |