Project

General

Profile

Actions

Bug #766

open

Cyberjack Standard control command aborted by PCSC

Added by Vladyslav Savchenko over 4 years ago. Updated over 4 years ago.

Status:
Feedback
Priority:
High
Assignee:
-
Target version:
-
Start date:
09/09/2019
Due date:
% Done:

0%

Estimated time:
Reviewer:
Build Version:

Description

Hi guys!

Using the Open-eCard-App after entering PIN I am getting an exception.
My CardReader writes on its display "Tunnel aktiv", but the GUI-program fails with a message:

"An unknown error occurred. The operation was canceled."

in the command line I see:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: javax.swing.JPanel[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] is not attached to a horizontal group
at javax.swing.GroupLayout.checkComponents(GroupLayout.java:1086)
at javax.swing.GroupLayout.prepare(GroupLayout.java:1040)
at javax.swing.GroupLayout.layoutContainer(GroupLayout.java:910)
at java.awt.Container.layout(Container.java:1513)
at java.awt.Container.doLayout(Container.java:1502)
at java.awt.Container.validateTree(Container.java:1698)
at java.awt.Container.validateTree(Container.java:1707)
at java.awt.Container.validateTree(Container.java:1707)
at java.awt.Container.validateTree(Container.java:1707)
at java.awt.Container.validate(Container.java:1633)
at java.awt.Window.dispatchEventImpl(Window.java:2744)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

I have also tried to launch the program with root privileges. The same result.


Files

richclient_info.log (180 KB) richclient_info.log Log with LOGGING=DEBUG Vladyslav Savchenko, 09/09/2019 02:29 PM
Actions #1

Updated by Tobias Wich over 4 years ago

The AWT errors are unrelated. Please create a proper logfile by setting debug in the settings dialog. After that a log file will be created in $HOME/.openecard/logs.

Actions #3

Updated by Tobias Wich over 4 years ago

  • Status changed from New to Feedback

This looks a lot like previous problems with the Reiner standard reader. I suggest you try to update the firmware and make sure you are running the latest PCSC and cyberjack software.

See also issues #710, #677, #642, ...

Actions #4

Updated by Vladyslav Savchenko over 4 years ago

I have just updated the firmware of the smartcard reader and
I am using these packages:

pcscd 1.8.23-1
libifd-cyberjack6 3.99.5final.sp09-1.1ubuntu1
libpcsclite-dev 1.8.23-1
libpcsclite1 1.8.23-1
libpcsclite1-dbg 1.8.23-1
pcsc-tools 1.5.2-2
pcscd 1.8.23-1

Actions #5

Updated by Tobias Wich over 4 years ago

  • Subject changed from Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: ... is not attached to a horizontal group to Cyberjack Standard control command aborted by PCSC

I'm afraid I can't help with that issue as this is caused by the underlying PCSC stack and the vendor specific reader modules. There is no way to modify these from Java and for that reason from the Open eCard App.

However I looked around once more and found a relevant debian bug wich also points to a pcsclite upstream bug. I'm not 100% sure this is the same problem, however they claim it is fixed in the recent cyberjack module 3.99.5 SP13. So you should try to install this version and if that does not help, try updating to an even more recent pcsclite. My debian system uses 1.8.25 and it's working fine there.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926103
https://github.com/LudovicRousseau/PCSC/issues/22

Actions #6

Updated by Vladyslav Savchenko over 4 years ago

It is a pity, because it works with AusweisApp2 on win7 (just tried it yesterday).

Actions

Also available in: Atom PDF