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

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

XMLWordPrintable

      Currently while running JBEAP 7.4 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-110353c.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. EAP7_4_IPV4.txt
          4.94 MB
        2. EAP7_4_IPV6.txt
          6.31 MB

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

                Created:
                Updated:
                Resolved: