org.apache.cxf.interceptor.Fault: Response was of > unexpected text/html ContentType.  Incoming portion of HTML stream: > Error 500: javax.activation.DataSource > at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage > (StaxInInterceptor.java:73) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept > (PhaseInterceptorChain.java:226)

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 nabble.com by Unknown author, 1 year ago
Response was of > unexpected text/html ContentType.  Incoming portion of HTML stream: > Error 500: javax.activation.DataSource > at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage > (StaxInInterceptor.java:73) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept > (PhaseInterceptorChain.java:226)
via nabble.com by Unknown author, 2 years ago
Response was of unexpected text/html >> ContentType.  Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC >> "-//IETF//DTD HTML 2.0//EN"> >> <html><head> >> <title>500 Internal Server Error</title> >> </head><body> >> <h1>Internal Server Error
via Stack Overflow by user3353393
, 2 years ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: Bad Request <h2>Bad Request - Invalid Header</h2> <hr><p>HTTP Error 400. The request has an invalid header name.</p> </p> <p>at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:80) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
via apache.org by Unknown author, 1 year 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
via osdir.com by Unknown author, 1 year 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
via grokbase.com by Unknown author, 2 years ago
Could not create XMLStreamReader(encoding UTF-8). at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208)
org.apache.cxf.interceptor.Fault: Response was of > unexpected text/html ContentType.  Incoming portion of HTML stream: > Error 500: javax.activation.DataSource > at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage > (StaxInInterceptor.java:73) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept > (PhaseInterceptorChain.java:226)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.