# Error when clicking "Scan QR code"

**URL:** <https://bisq.community/t/error-when-clicking-scan-qr-code/6412>\
**Category:** Support\
**Created:** [October 16, 2018, 9:35am UTC](https://bisq.community/t/error-when-clicking-scan-qr-code/6412 "2018-10-16T09:35:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sleepyhead](https://bisq.community/letter_avatar/sleepyhead/32/5_5575768a8748004e209b776fc1b2916d.png) [@sleepyhead](https://bisq.community/u/sleepyhead)\
**Post date:** [October 16, 2018, 9:35am UTC](https://bisq.community/t/error-when-clicking-scan-qr-code/6412/1 "2018-10-16T09:35:13Z")

</div>

When I click “Scan QR code”, I get the following error:  
 ![image](https://bisq.community/uploads/default/original/2X/d/d27c7362f4811192e386121f4d3fb367ee9e5da4.png)  
I don’t have a GitHub account, so I’m posting here.  
I’m running Linux Mint 17.3 Cinnamon 64bit.  
Here are some relevant entries from the log. I can DM the complete log file if it will help.  
Oct-16 05:04:03.383 [JavaFX Application Thread] INFO b.d.m.a.c.n.MobileNotificationsView: Start WebCamLauncher  
Oct-16 05:04:03.394 [Thread-140] INFO c.g.s.w.Webcam: WebcamDefaultDriver capture driver will be used  
Oct-16 05:04:03.464 [Thread-140] ERROR b.c.s.CommonSetup: Uncaught Exception from thread Thread-140  
Oct-16 05:04:03.464 [Thread-140] ERROR b.c.s.CommonSetup: throwableMessage= java.util.concurrent.ExecutionException: com.github.sarxos.webcam.WebcamException: Cannot execute task  
Oct-16 05:04:03.464 [Thread-140] ERROR b.c.s.CommonSetup: throwableClass= class com.github.sarxos.webcam.WebcamException  
Oct-16 05:04:03.471 [Thread-140] ERROR b.c.s.CommonSetup: Stack trace:  
com.github.sarxos.webcam.WebcamException: java.util.concurrent.ExecutionException: com.github.sarxos.webcam.WebcamException: Cannot execute task  
at com.github.sarxos.webcam.WebcamDiscoveryService.getWebcams(WebcamDiscoveryService.java:124)  
at com.github.sarxos.webcam.Webcam.getWebcams(Webcam.java:893)  
at com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:956)  
at com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:933)  
at bisq.desktop.main.account.content.notifications.WebCamLauncher.run(WebCamLauncher.java:50)  
Caused by: java.util.concurrent.ExecutionException: com.github.sarxos.webcam.WebcamException: Cannot execute task  
at java.util.concurrent.FutureTask.report(FutureTask.java:122)  
at java.util.concurrent.FutureTask.get(FutureTask.java:192)  
at com.github.sarxos.webcam.WebcamDiscoveryService.getWebcams(WebcamDiscoveryService.java:116)  
… 4 more  
Caused by: com.github.sarxos.webcam.WebcamException: Cannot execute task  
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.process(WebcamProcessor.java:72)  
at com.github.sarxos.webcam.WebcamProcessor.process(WebcamProcessor.java:140)  
at com.github.sarxos.webcam.WebcamTask.process(WebcamTask.java:46)  
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$WebcamNewGrabberTask.newGrabber(WebcamDefaultDriver.java:45)  
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver.getDevices(WebcamDefaultDriver.java:117)  
at com.github.sarxos.webcam.WebcamDiscoveryService$WebcamsDiscovery.call(WebcamDiscoveryService.java:36)  
at com.github.sarxos.webcam.WebcamDiscoveryService$WebcamsDiscovery.call(WebcamDiscoveryService.java:26)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  
at java.lang.Thread.run(Thread.java:748)  
Caused by: java.lang.UnsatisfiedLinkError: org.bridj.Platform.sizeOf\_ptrdiff\_t()I  
at org.bridj.Platform.sizeOf\_ptrdiff\_t(Native Method)  
at org.bridj.Platform.(Platform.java:232)  
at com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.(OpenIMAJGrabber.java:59)  
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$WebcamNewGrabberTask.handle(WebcamDefaultDriver.java:55)  
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)  
… 3 more

---

<div class="post-metadata">

**Author:** ![alexej996](https://bisq.community/user_avatar/bisq.community/alexej996/32/491_2.png) [@alexej996](https://bisq.community/u/alexej996)\
**Post date:** [October 16, 2018, 10:13am UTC](https://bisq.community/t/error-when-clicking-scan-qr-code/6412/2 "2018-10-16T10:13:03Z")

</div>

I am not sure if devs will see it here. You could PM Manfred your log file though.

---

<div class="post-metadata">

**Author:** ![sleepyhead](https://bisq.community/letter_avatar/sleepyhead/32/5_5575768a8748004e209b776fc1b2916d.png) [@sleepyhead](https://bisq.community/u/sleepyhead)\
**Post date:** [October 16, 2018, 11:09am UTC](https://bisq.community/t/error-when-clicking-scan-qr-code/6412/3 "2018-10-16T11:09:27Z")

</div>

Strange, it seems like the support forum would be best place to get support from the team that provides support 🙂

I’ll send Manfred a PM though, thanks for the tip.

---

<div class="post-metadata">

**Author:** ![alexej996](https://bisq.community/user_avatar/bisq.community/alexej996/32/491_2.png) [@alexej996](https://bisq.community/u/alexej996)\
**Post date:** [October 16, 2018, 8:29pm UTC](https://bisq.community/t/error-when-clicking-scan-qr-code/6412/4 "2018-10-16T20:29:52Z")

</div>

It is, this is just more bug fixing though, since I don’t think we can do much here, devs might need to look at the code to figure this one out.
