Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1122

InvalidResponseException after IOException received on the same connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.0.0.CR4
    • None
    • None
    • None

      I've seen this in master, when running ServerErrorTest from testsuite:

      [z@dnb-2:~/Go/code/infinispan.git]% (t_1119_m⚡) more client/hotrod-client/target/surefire-reports/TEST-org.infinispan.client.hotrod.ServerErrorTest-testErrorWhileDoingPut.xml
      <?xml version="1.0" encoding="UTF-8" ?>
      <testsuite time="0" name="org.infinispan.client.hotrod.ServerErrorTest-testErrorWhileDoingPut">
        <testcase time="0.265" classname="org.infinispan.client.hotrod.ServerErrorTest" 
      name="org.infinispan.client.hotrod.ServerErrorTest-testErrorWhileDoingPut">
          <failure message="Invalid magic number. Expected 0xa1 and received 0x50" 
      type="org.infinispan.client.hotrod.exceptions.InvalidResponseException">
      org.infinispan.client.hotrod.exceptions.InvalidResponseException:: Invalid magic number. Expected 0xa1 and received 0x50
              at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:107)
              at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:70)
              at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:49)
              at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:62)
              at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:201)
              at org.infinispan.CacheSupport.put(CacheSupport.java:51)
              at org.infinispan.client.hotrod.ServerErrorTest.testErrorWhileDoingPut(ServerErrorTest.java:97)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
              at org.testng.internal.Invoker.invokeMethod(Invoker.java:546)
              at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)
              at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)
              at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
              at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
              at org.testng.TestRunner.runWorkers(TestRunner.java:909)
              at org.testng.TestRunner.privateRun(TestRunner.java:618)
              at org.testng.TestRunner.run(TestRunner.java:499)
              at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
              at org.testng.SuiteRunner.access$000(SuiteRunner.java:33)
              at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:358)
              at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:680)
      </failure>

      This needs investigate cos it could be related to other Invalid* issues QE have been encountering with EDG.

              trustin_jira Trustin Lee (Inactive)
              rh-ee-galder Galder Zamarreño
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: