Has anyone seen a java.lang.StringIndexOutOfBoundsException occur when Get.It (v2.0.1 SP4) is trying to render a page?
It's very baffling since this problem doesn't occur on co-workers' systems, only when I do a build of our project on my computer. I've tried setting-up identical, freshly-formatted h.w. (Compaq Evo D500, 1.8GHz, 512MB RAM), and we start from the same base install steps & install the same way with the same install media, same choices/configurations and settings (NT 4, SP6a, MS NT 4 Option Pack Personal Web Server, JRE, JRun, Get.It, SP4). The only difference I can identify so far is that we are in different states and they use Ethernet and here we use token ring. I even had a co-worker remote-in and install the s.w. to a fresh computer and it failed for them as well.
The out-of-the-box Get.It/Get.Services works fine...I have created tickets, seen a list of tickets I created, etc. But when I build our custom project it dies when I try to access it, very early in the page render (I have screenshots). This is true of ALL our custom projects, though everyone else can use them just fine when they build them on their computers.
When it breaks, the page's Server OnLoad Javascript has completed successfully. If I access the compiled project served off a different computer (so someone else has built it & is serving it rather than me), my computer can run it just fine.
What I get, if I've built the project, right in the browser window (IE 5) during rendering, is:
[jcp-1 11:41:35 2743131032363597865] Finished script: object=genscript, method=prepGeneralScreen1, time=0.701 seconds
[jcp-1 11:41:35] Unexpected error while executing JSP page - String index out of range: 0 java.lang.StringIndexOutOfBoundsException
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(Unknown Source)
at com.peregrine.util.EasyDOM.encodeName(EasyDOM.java :1091)
etc. etc. etc.
Any ideas?


Reply With Quote
Bookmarks