org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream

Atlassian JIRA | Rodrigo Girardi Adami [Atlassian] | 4 years ago
  1. 0

    It seems that by using JDK 1.6.0_29, Crowd login doesn't work as expected. The following error occurs in logs: {code} 2012-08-04 00:12:21,971 http-8495-22 ERROR [crowd.integration.springsecurity.CrowdSSOAuthenticationProcessingFilter] Unable to set Crowd SSO token org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114) {code} AND {code} 2012-08-04 00:15:55,680 http-8495-9 ERROR [crowd.console.action.Login] Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly; nested exception is org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly org.springframework.security.AuthenticationServiceException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly; nested exception is org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly at com.atlassian.crowd.integration.springsecurity.CrowdAuthenticationProvider.translateException(CrowdAuthenticationProvider.java:290) at com.atlassian.crowd.integration.springsecurity.CrowdAuthenticationProvider.authenticateUsernamePassword(CrowdAuthenticationProvider.java:153) at com.atlassian.crowd.integration.springsecurity.CrowdAuthenticationProvider.authenticate(CrowdAuthenticationProvider.java:91) {code} Changing to JDK 1.6.0_26 seems to resolve the issue.

    Atlassian JIRA | 4 years ago | Rodrigo Girardi Adami [Atlassian]
    org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream
  2. 0

    It seems that by using JDK 1.6.0_29, Crowd login doesn't work as expected. The following error occurs in logs: {code} 2012-08-04 00:12:21,971 http-8495-22 ERROR [crowd.integration.springsecurity.CrowdSSOAuthenticationProcessingFilter] Unable to set Crowd SSO token org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114) {code} AND {code} 2012-08-04 00:15:55,680 http-8495-9 ERROR [crowd.console.action.Login] Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly; nested exception is org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly org.springframework.security.AuthenticationServiceException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly; nested exception is org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: chunked stream ended unexpectedly at com.atlassian.crowd.integration.springsecurity.CrowdAuthenticationProvider.translateException(CrowdAuthenticationProvider.java:290) at com.atlassian.crowd.integration.springsecurity.CrowdAuthenticationProvider.authenticateUsernamePassword(CrowdAuthenticationProvider.java:153) at com.atlassian.crowd.integration.springsecurity.CrowdAuthenticationProvider.authenticate(CrowdAuthenticationProvider.java:91) {code} Changing to JDK 1.6.0_26 seems to resolve the issue.

    Atlassian JIRA | 4 years ago | Rodrigo Girardi Adami [Atlassian]
    org.codehaus.xfire.fault.XFireFault: Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream
  3. 0

    Jira is integrated with Crowd and when you try to add a user in JIRA, you get the following error. However despite of an exception, you find user is getting created in JIRA and also flowing down to Crowd. {noformat} 2012-03-27 15:19:24,912 http-8085-6 ERROR [500ErrorPage.jsp] Exception caught in 500 page Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not receive fault.. Nested exception is org.codehaus.xfire.fault.XFireFault: No write method for property {http://rmi.java}cause in class java.rmi.RemoteException org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not receive fault.. Nested exception is org.codehaus.xfire.fault.XFireFault: No write method for property {http://rmi.java}cause in class java.rmi.RemoteException org.codehaus.xfire.fault.XFireFault: Could not receive fault.. Nested exception is org.codehaus.xfire.fault.XFireFault: No write method for property {http://rmi.java}cause in class java.rmi.RemoteException at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114) {noformat} You also see a lot of this in logs: {noformat} 2012-03-27 15:45:36,381 main WARN [org.twdata.pkgscanner.ExportPackageListBuilder] Package Scanner found duplicates for package 'org.jdom.output' with different versions. Files: jdom-1.0.jar and crowd-integration-client-2.4.0.jar '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/jdom-1.0.jar' '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/crowd-integration-client-2.4.0.jar' 2012-03-27 15:45:36,382 main WARN [org.twdata.pkgscanner.ExportPackageListBuilder] Package Scanner found duplicates for package 'org.jdom.input' with different versions. Files: jdom-1.0.jar and crowd-integration-client-2.4.0.jar '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/jdom-1.0.jar' '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/crowd-integration-client-2.4.0.jar' 2012-03-27 15:45:36,382 main WARN [org.twdata.pkgscanner.ExportPackageListBuilder] Package Scanner found duplicates for package 'org.jdom' with different versions. Files: jdom-1.0.jar and crowd-integration-client-2.4.0.jar '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/jdom-1.0.jar' '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/crowd-integration-client-2.4.0.jar' 2012-03-27 15:45:36,382 main WARN [org.twdata.pkgscanner.ExportPackageListBuilder] Package Scanner found duplicates for package 'org.jdom.filter' with different versions. Files: jdom-1.0.jar and crowd-integration-client-2.4.0.jar '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/jdom-1.0.jar' '/data/atlassian/jira-4.2.4/atlassian-jira/WEB-INF/lib/crowd-integration-client-2.4.0.jar' {noformat} The root problem is because the passwords are not being set in the delegated LDAP directory that is attached via Crowd. This is not really an error but just LDAP saying "Sorry you can't do that". The system tries to set the password after the user is created, which is why you are seeing what you are seeing. The messages "Package Scanner found duplicates for package" is annoying but not really an issue here. In fact, in JIRA 4.2 the code does try and set the password unconditionally, so setting External Password Management On won't actually help. This whole area has been completely rewritten in JIRA 4.3 onward and this particular behaviour is no longer a problem.

    Atlassian JIRA | 5 years ago | Malik Mangier
    org.codehaus.xfire.fault.XFireFault: Could not receive fault.. Nested exception is org.codehaus.xfire.fault.XFireFault: No write method for property {http://rmi.java}cause in class java.rmi.RemoteException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XFire SOAP Framework Developer List

    gmane.org | 4 months ago
    org.codehaus.xfire.fault.XFireFault: WSS4JInHandler: security processing failed
  6. 0

    使用XFire调用WebService需注意的事项 (转载) - CSDN博客

    csdn.net | 1 year ago
    org.codehaus.xfire.fault.XFireFault: Error writing document.. Nested exception is com.ctc.wstx.exc.WstxIOException: Invalid null character in text to output

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.xfire.fault.XFireFault

      Couldn't parse stream.. Nested exception is com.ctc.wstx.exc.WstxIOException: Unexpected end of ZLIB input stream

      at org.codehaus.xfire.fault.XFireFault.createFault()
    2. XFire
      Invocation.invoke
      1. org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
      2. org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83)
      3. org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
      3 frames