3 Replies Latest reply on Apr 13, 2009 8:51 AM by PrazzyJay

    OAF page button issue: Critical

    deep7581
      Hi,

      OAF page developed opens in some instances but does not open in one of our test instance. It gives the below error in place of a button: "You have encountered an unexpected error. Please contact the System Administrator for assistance"

      The detilas of the error in "view source" displays:

      ## Detail 0 ##
      java.lang.StringIndexOutOfBoundsException: String index out of range: 0
           at java.lang.String.charAt(String.java:879)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer._getOnClickJS(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer.getOnClick(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.renderEventHandlers(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.LinkRenderer.renderEventHandlers(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.renderAttributesExceptID(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.renderAttributes(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.LinkRenderer.renderAttributes(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer.renderAttributes(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer.prerender(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.base.xhtml.LinkRenderer.render(Unknown Source)
           at oracle.cabo.ui.laf.oracle.desktop.ButtonRenderer.renderAltContent(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.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
           at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
           at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
           at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3285)
           at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2936)
           at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2743)
           at oa_html._OA._jspService(_OA.java:101)
           at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
           at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
           at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
           at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
           at oracle.jsp.JspServlet.service(JspServlet.java:156)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
           at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
           at org.apache.jserv.JServConnection.run(JServConnection.java:294)
           at java.lang.Thread.run(Thread.java:571)
      java.lang.StringIndexOutOfBoundsException: String index out of range: 0
           at java.lang.String.charAt(String.java:879)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer._getOnClickJS(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer.getOnClick(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.renderEventHandlers(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.LinkRenderer.renderEventHandlers(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.renderAttributesExceptID(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.renderAttributes(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.LinkRenderer.renderAttributes(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer.renderAttributes(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.ButtonRenderer.prerender(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.base.xhtml.LinkRenderer.render(Unknown Source)
           at oracle.cabo.ui.laf.oracle.desktop.ButtonRenderer.renderAltContent(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.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
           at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
           at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.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.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
           at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
           at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.BaseUINode.render(Unknown Source)
           at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
           at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3285)
           at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2936)
           at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2743)
           at oa_html._OA._jspService(_OA.java:101)
           at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
           at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
           at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
           at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
           at oracle.jsp.JspServlet.service(JspServlet.java:156)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
           at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
           at org.apache.jserv.JServConnection.run(JServConnection.java:294)
           at java.lang.Thread.run(Thread.java:571)

      Please let me know if anybody has faced this issue and a possible resolution.