We have a customer who has rebranded footer and header. We are using SmartClient SDK v10p. He is getting an error while displaying the header:
--------------------------------------------------------------------------------------------------
[2018-02-08 12:59:16.039] ALL 000000000000 GLOBAL_SCOPE === 2018-02-08 12:59:16,039 [-184] ERROR Download - Problem sending static file: /xyx/webapp/isomorphic/skins/App_v001/brandingcontent/header.txt
java.lang.ArrayIndexOutOfBoundsException
at org.mortbay.io.ByteArrayBuffer.poke(ByteArrayBuffer.java:268)
at org.mortbay.io.AbstractBuffer.put(AbstractBuffer.java:456)
at org.mortbay.jetty.HttpFields$Field.put(HttpFields.java:1425)
at org.mortbay.jetty.HttpGenerator.completeHeader(HttpGenerator.java:527)
at org.mortbay.jetty.HttpConnection.commitResponse(HttpConnection.java:634)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:1025)
at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:655)
at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:580)
at com.isomorphic.util.IOUtil.copyStreams(IOUtil.java:109)
at com.isomorphic.util.IOUtil.copyStreams(IOUtil.java:84)
at com.isomorphic.servlet.ServletTools.sendStaticFile(ServletTools.java:1721)
at com.isomorphic.servlet.FileDownload.doGet(FileDownload.java:191)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
---------------------------------------------------------------------------------------------------------------------
Only some users are getting this error. For admin user, it works fine. Please let us know what can cause this error.
--------------------------------------------------------------------------------------------------
[2018-02-08 12:59:16.039] ALL 000000000000 GLOBAL_SCOPE === 2018-02-08 12:59:16,039 [-184] ERROR Download - Problem sending static file: /xyx/webapp/isomorphic/skins/App_v001/brandingcontent/header.txt
java.lang.ArrayIndexOutOfBoundsException
at org.mortbay.io.ByteArrayBuffer.poke(ByteArrayBuffer.java:268)
at org.mortbay.io.AbstractBuffer.put(AbstractBuffer.java:456)
at org.mortbay.jetty.HttpFields$Field.put(HttpFields.java:1425)
at org.mortbay.jetty.HttpGenerator.completeHeader(HttpGenerator.java:527)
at org.mortbay.jetty.HttpConnection.commitResponse(HttpConnection.java:634)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:1025)
at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:655)
at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:580)
at com.isomorphic.util.IOUtil.copyStreams(IOUtil.java:109)
at com.isomorphic.util.IOUtil.copyStreams(IOUtil.java:84)
at com.isomorphic.servlet.ServletTools.sendStaticFile(ServletTools.java:1721)
at com.isomorphic.servlet.FileDownload.doGet(FileDownload.java:191)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
---------------------------------------------------------------------------------------------------------------------
Only some users are getting this error. For admin user, it works fine. Please let us know what can cause this error.
Comment