oracle.portlet.server.containerimpl.ContainerIllegalArgumentException: Content type "text/xml;charset=utf-8" is not allowed in current context.

Oracle Community | 2953662 | 2 years ago
  1. 0

    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    Oracle Community | 2 years ago | 2953662
    oracle.portlet.server.containerimpl.ContainerIllegalArgumentException: Content type "text/xml;charset=utf-8" is not allowed in current context.

    Root Cause Analysis

    1. oracle.portlet.server.containerimpl.ContainerIllegalArgumentException

      Content type "text/xml;charset=utf-8" is not allowed in current context.

      at oracle.portlet.server.containerimpl.RenderResponseImpl.setContentType()
    2. oracle.portlet.server
      RenderResponseImpl.setContentType
      1. oracle.portlet.server.containerimpl.RenderResponseImpl.setContentType(RenderResponseImpl.java:269)
      1 frame
    3. oracle.portlet.bridge
      ResourceResponseWrapper.setContentType
      1. oracle.portlet.bridge.adf.application.ResourceResponseWrapper.setContentType(ResourceResponseWrapper.java:41)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. oracle.adfinternal.view
      RegistrationConfigurator.getExternalContext
      1. oracle.adfinternal.view.faces.config.rich.XmlRenderResponseInvocationHandler.<init>(XmlRenderResponseInvocationHandler.java:44)
      2. oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.getExternalContext(RegistrationConfigurator.java:181)
      2 frames
    6. org.apache.myfaces
      FacesContextFactoryImpl.getFacesContext
      1. org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(GlobalConfiguratorImpl.java:368)
      2. org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.<init>(FacesContextFactoryImpl.java:86)
      3. org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
      3 frames
    7. oracle.portlet.bridge
      ADFBridgePortlet.doFacesRequest
      1. oracle.portlet.bridge.adf.application.ADFBridgePortlet.doFacesRequest(ADFBridgePortlet.java:344)
      1 frame
    8. fi.luottokunta.partner
      BridgePortlet.doFacesRequest
      1. fi.luottokunta.partner.util.BridgePortlet.doFacesRequest(BridgePortlet.java:52)
      1 frame
    9. oracle.portlet.bridge
      ADFBridgePortlet.serveResource
      1. oracle.portlet.bridge.adf.application.ADFBridgePortlet.doBridgeDispatch(ADFBridgePortlet.java:321)
      2. oracle.portlet.bridge.adf.application.ADFBridgePortlet.doDispatchInternal(ADFBridgePortlet.java:309)
      3. oracle.portlet.bridge.adf.application.ADFBridgePortlet.serveResource(ADFBridgePortlet.java:240)
      3 frames
    10. fi.luottokunta.partner
      BridgePortlet.serveResource
      1. fi.luottokunta.partner.util.BridgePortlet.serveResource(BridgePortlet.java:99)
      1 frame
    11. oracle.portlet.server
      ServerPerfLogger.getResource
      1. oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1328)
      2. oracle.portlet.server.containerimpl.ServerImpl.getResource(ServerImpl.java:183)
      3. oracle.portlet.server.containerimpl.ServerPerfLogger.getResource(ServerPerfLogger.java:597)
      3 frames
    12. oracle.portlet.wsrp
      WSRP_v2_Markup_PortTypeSoapPerfLogger.getResource
      1. oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getResource(WSRPv2VersionWrapperServer.java:558)
      2. oracle.portlet.wsrp.v2.WSRPv2ToServer.getResource(WSRPv2ToServer.java:12913)
      3. oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getResource(WSRP_v2_Markup_PortTypeSoapToJaxb.java:350)
      4. oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getResource(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:96)
      4 frames
    13. oasis.names.tc
      WSRP_v2_Markup_Binding_SOAP_Tie.processingHook
      1. oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getResource(WSRP_v2_Markup_Binding_SOAP_Tie.java:1043)
      2. oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1460)
      2 frames
    14. oracle.j2ee.ws
      WebServiceServlet.doPost
      1. oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
      2. oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:443)
      3. oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1123)
      4. oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
      5. oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
      6. oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
      7. oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
      7 frames
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
      2 frames
    16. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      5 frames
    17. oracle.portlet.server
      ContextFilter.doFilter
      1. oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:104)
      1 frame
    18. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      1 frame
    19. oracle.adf.library
      LibraryFilter.doFilter
      1. oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)
      1 frame
    20. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      1 frame
    21. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      2. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      3. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      4. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      5. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      6. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      6 frames
    22. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      1 frame
    23. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      2. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      3. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      4. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      5. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      6. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      6 frames
    24. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      1 frame
    25. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      1 frame
    26. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
      5 frames
    27. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    28. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    29. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
      3 frames
    30. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames