Accessing OIDDAS returns error "500" and "java.lang.StringIndexOutOfBoundsException: String index out of range: -3" (Doc ID 1637427.1)

Last updated on JULY 01, 2016

Applies to:

Oracle Application Server Single Sign-On - Version 10.1.2.0.2 to 10.1.4.3 [Release 10gR2 to 10gR3]
Information in this document applies to any platform.
This issue shows up on OIDDAS *after* a successful OSSO login.
Any SR dealing with this issue might be handled by OID support team, but it is caused by an incorrect OSSO login page and should therefore be handled by OSSO support.

Symptoms

When accessing OIDDAS through a customized OSSO login page, the browser returns error "500" and this java stack:

java.lang.StringIndexOutOfBoundsException: String index out of range: -3
at java.lang.String.substring(String.java(Compiled Code))
at oracle.cabo.image.cache.Cache._getBaseName(Unknown Source)
at oracle.cabo.image.cache.Cache.put(Unknown Source)
at oracle.cabo.image.cache.FileSystemImageCache._putCachedImage(Unknown Source)
at oracle.cabo.image.cache.FileSystemImageCache._generateImage(Unknown Source)
at oracle.cabo.image.cache.FileSystemImageCache.getImage(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.ButtonRenderer._getImage(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.ButtonRenderer._getImage(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.ButtonRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.ButtonRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
(...)
at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java(Compiled Code))
at java.lang.Thread.run(Thread.java:568)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms