Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8368059

The case failed automatically with the "javax.smartcardio.CardException: list() failed" exception

XMLWordPrintable

    • generic
    • windows

      Testsuite name:Regression manual
      Test name(s):closed/test/jdk/sun/security/smartcardio/ResurrectCard.java
      Product(s) tested:JDK11.0.6b05 (64bit)
      OS/architecture:suse15-sp1-x64
      Test tool:jtreg4.2b15

      Actual results:
      The case failed automatically with the "javax.smartcardio.CardException: list() failed" exception
      Exception/Error from Log:
      javax.smartcardio.CardException: list() failed
      at java.smartcardio/sun.security.smartcardio.PCSCTerminals.list(PCSCTerminals.java:126)
      at java.smartcardio/javax.smartcardio.CardTerminals.list(CardTerminals.java:72)
      at ResurrectCard.main(ResurrectCard.java:29)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: sun.security.smartcardio.PCSCException: SCARD_E_NO_READERS_AVAILABLE
      at java.smartcardio/sun.security.smartcardio.PCSC.SCardListReaders(Native Method)
      at java.smartcardio/sun.security.smartcardio.PCSCTerminals.list(PCSCTerminals.java:80)
      ... 8 more

      JavaTest Message: Test threw exception: javax.smartcardio.CardException: list() failed
      JavaTest Message: shutting down test

            rgupta Ravi Gupta
            tmeng Tina Meng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: