Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by manjeetsd, 1 year ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> <TITLE>Error 401--Unauthorized</TITLE> </HEAD> <BODY bgcolor="white"> <FONT FACE=Helvetica><BR
via atlassian.com by Unknown author, 2 years ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="https://internalcommunities.amadeus.com/sites/dev-sep-psp/oau/_layouts/1033
via coderanch.com by Unknown author, 2 years ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><LINK type="text/css" rel="stylesheet" href="/Ws3
via Stack Overflow by Enzo Bonggio
, 2 years ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: Bad Request
via Google Groups by Stan Carney, 2 years ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>The page must be viewed with a high-security Web
via blogspot.com by Unknown author, 1 year ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: (none)
org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType.  Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 401--Unauthorized</TITLE>
</HEAD>
<BODY bgcolor="white">
<FONT FACE=Helvetica><BR CLEAR=all>
<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2>
</FONT></TD></TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
</FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4>
</FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P>
</FONT></TD></TR>
</TABLE>
</BODY>
</HTML>	at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:79)	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:700)	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2261)	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2134)	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1988)	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639)	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:487)	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)	at com.sun.proxy.$Proxy279.pingEndecaServer(Unknown Source)	at com.endeca.portal.metadata.psconfig.ProvisioningService.pingEndecaServer(ProvisioningService.java:250)	at com.endeca.portal.metadata.psconfig.ProvisioningService.pingEndecaServer(ProvisioningService.java:244)	at com.endeca.portlet.provision.server.ProvisionServerConfigPortlet.processSaveProvisionServerConfigResource(ProvisionServerConfigPortlet.java:139)	at sun.reflect.GeneratedMethodAccessor1542.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.endeca.portlet.EndecaPortlet.serveResource(EndecaPortlet.java:754)	at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:177)	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:76)	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:100)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:615)	at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:724)	at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:498)	at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:681)	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:467)	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:511)	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:749)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:131)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.auditing.AuditingPageAccessFilter.processFilter(AuditingPageAccessFilter.java:263)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:177)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:168)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:384)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:259)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:261)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at com.liferay.portal.servlet.filters.security.EndecaIFrameFilter.processFilter(EndecaIFrameFilter.java:40)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)