1 Reply Latest reply on Dec 15, 2016 5:42 PM by jentoo

    java.lang.IllegalArgumentException: image

    Simon Collins

      Hi All

       

      We've recently migrated servers to a new ORDS/APEX stack and I'm getting a lot of the following errors in the Tomcat log. Can anyone throw any light on what may be causing them (I'm not sure whether they're important or not) although shortly after going live we have had issues with APEX page loading issues and errors from our proxy server along the lines [proxy_http:error] [pid 26444] (70008)Partial results are valid but processing is incomplete: (although I realise this is v probably unrelated)

       

      We are running

      ORDS 3.0.8.277.08.01

      Tomcat 9

      jdk1.8.0_111

      APEX5.0

       

      Message in Catlina.log

       

      27-Nov-2016 12:39:21.493 SEVERE [http-nio-8080-exec-1] . image

      java.lang.IllegalArgumentException: image

              at oracle.dbtools.http.ContentType.contentType(ContentType.java:225)

              at oracle.dbtools.http.servlet.NormalizedServletResponse.setContentType(NormalizedServletResponse.java:508)

              at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:138)

              at oracle.dbtools.apex.HeaderUtils.processResponseHeaders(HeaderUtils.java:52)

              at oracle.dbtools.apex.HeaderUtils.processHeaders(HeaderUtils.java:21)

              at oracle.dbtools.apex.ModApex.handleRequest(ModApex.java:291)

              at oracle.dbtools.apex.ModApex.doGet(ModApex.java:135)

              at oracle.dbtools.apex.ModApex.service(ModApex.java:100)

              at oracle.dbtools.http.entrypoint.Dispatcher.dispatch(Dispatcher.java:125)

              at oracle.dbtools.http.entrypoint.EntryPoint$FilteredServlet.service(EntryPoint.java:240)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:73)

              at oracle.dbtools.http.forwarding.QueryFilteringRewrite.doFilter(QueryFilteringRewrite.java:90)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.forwarding.ForwardingFilter.doFilter(ForwardingFilter.java:68)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.cors.CORSPreflightFilter.doFilter(CORSPreflightFilter.java:66)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.cookies.auth.CookieSessionCSRFFilter.doFilter(CookieSessionCSRFFilter.java:77)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.auth.AuthenticationFilter.authenticate(AuthenticationFilter.java:87)

              at oracle.dbtools.http.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:62)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.url.mapping.RequestMapperImpl.doFilter(RequestMapperImpl.java:125)

              at oracle.dbtools.url.mapping.URLMappingBase.doFilter(URLMappingBase.java:103)

              at oracle.dbtools.url.mapping.filter.URLMappingFilter.doFilter(URLMappingFilter.java:124)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.cors.CORSResponseFilter.doFilter(CORSResponseFilter.java:83)

              at oracle.dbtools.http.filters.HttpResponseFilter.doFilter(HttpResponseFilter.java:45)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:94)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.auth.ForceAuthFilter.doFilter(ForceAuthFilter.java:44)

              at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:47)

              at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

              at oracle.dbtools.http.filters.Filters.filter(Filters.java:47)

              at oracle.dbtools.http.entrypoint.EntryPoint.service(EntryPoint.java:82)

              at oracle.dbtools.http.entrypoint.EntryPointServlet.service(EntryPointServlet.java:49)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

              at oracle.dbtools.rt.web.HttpEndpointBase.dispatchableServices(HttpEndpointBase.java:116)

              at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:81)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

              at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677)

              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)

              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)

              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)

              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)

              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

              at java.lang.Thread.run(Thread.java:745)

        • 1. Re: java.lang.IllegalArgumentException: image
          jentoo

          I have a similar issue with our ORDS version 3.0.1.177.18.02 deployed in Apache Tomcat 8.0.33

           

          InternalServerException [statusCode=500, reasons=[An unexpected error with the following message occurred: text/html;]]

          at oracle.dbtools.http.errors.ErrorPageRenderer.mapError(ErrorPageRenderer.java:147)

          at oracle.dbtools.http.errors.ErrorPageRenderer.(ErrorPageRenderer.java:40)
          at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:97)

          .....

          ....

          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
          at java.lang.Thread.run(Thread.java:745)
          Caused by: java.lang.IllegalArgumentException: text/html;
          at oracle.dbtools.http.ContentType.contentType(ContentType.java:225)
          at oracle.dbtools.http.servlet.NormalizedServletResponse.setContentType(NormalizedServletResponse.java:507)
          at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:138)
          at oracle.dbtools.apex.HeaderUtils.processHeader(HeaderUtils.java:50)

          ...

          ...