Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25745

(8.0.z) File encoding issue for Windows 8.1 in NoAuditLogTestCase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0 Update 2
    • None
    • Test Suite
    • None

      Currently while running JBEAP 8.0 testsuite we are facing `java.nio.charset.MalformedInputException: Input length = 1` issue for IPV4 as well as for IPV6. Looking at the code it looks like We should probably just use the system default there instead of using UTF-8 for reading the file.

      You can checkout the details about the below stack traces to get better idea about it. You can search for the ERROR by "Input length = 1" keyword It would be under `org.jboss.as.test.integration.messaging.mgmt.NoAuditLogTestCase.testNoAuditMessagesLogged`

      OS Environment: "windows 8.1", version: "6.3", arch: "x86", family: "windows"
      JDK version: openjdk-11.0.20.8-1
      Maven version: apache-maven-3.8.7
      Command used to run the testsuite: mvn clean install -fae -Djboss.dist=[1] -DallTests -DfailIfNoTests=false (add -Dipv4, -Dipv6 respectively)
      [1] Download the "jboss-eap-dist-8bffb3e.zip" artifact from here and provide the local path of this unzipped artifact.

      Before running IPV6 command, check if the windows OS has the IPV6 setting by running "ipconfig /all" command.
      And also run "java -XshowSettings:properties -version" command to see the JDK file.encoding, if it is UTF-8 change it to something different or cp1252

        1. EAP_8_0_IPV4.txt
          5.67 MB
        2. EAP_8_0_IPV6.txt
          6.85 MB

            dkafe Dimitris Kafetzis
            rchakrab Ranabir Chakraborty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: