# \[BUG-14205\] QR-Scanner stopped working after upgrade

**URL:** <https://forum.inductiveautomation.com/t/bug-14205-qr-scanner-stopped-working-after-upgrade/25851>\
**Category:** Ignition Early Access\
**Created:** [June 17, 2019, 5:56am UTC](https://forum.inductiveautomation.com/t/bug-14205-qr-scanner-stopped-working-after-upgrade/25851 "2019-06-17T05:56:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tumeksi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tumeksi/32/4697_2.png) [@Tumeksi](https://forum.inductiveautomation.com/u/Tumeksi)\
**Post date:** [June 17, 2019, 5:56am UTC](https://forum.inductiveautomation.com/t/bug-14205-qr-scanner-stopped-working-after-upgrade/25851/1 "2019-06-17T05:56:48Z")

</div>

Hi,

We upgraded to Ignition version Nightly 8.0.3-b20190613.  
After this our mobileaps QR-scanner function stopped working.  
(No changes to this script was made).  
The script is just “Scan Barcode” in a button and in the session events under the “BarcodeScanned” we have:  
session.custom.qrCode = data.text

This worked previously.

Does this have something to do with:  
“13182, 13681: Perspective Session Refactor and Implement Close Session Script”-Bug fix?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 17, 2019, 2:19pm UTC](https://forum.inductiveautomation.com/t/bug-14205-qr-scanner-stopped-working-after-upgrade/25851/2 "2019-06-17T14:19:42Z")

</div>

The ticket you referenced should not have impacted this functionality. I’m currently updating to the 6/17 build and will attempt to replicate your issue.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 17, 2019, 2:43pm UTC](https://forum.inductiveautomation.com/t/bug-14205-qr-scanner-stopped-working-after-upgrade/25851/3 "2019-06-17T14:43:59Z")

</div>

I am, however, seeing the following error, so perhaps that ticket is indeed related. I’ll speak with the dev and get back to you.

```auto
java.lang.ClassCastException: class com.inductiveautomation.perspective.gateway.session.SecuredPerspectiveProjectSession cannot be cast to class com.inductiveautomation.perspective.gateway.session.AbstractSession (com.inductiveautomation.perspective.gateway.session.SecuredPerspectiveProjectSession and com.inductiveautomation.perspective.gateway.session.AbstractSession are in unnamed module of loader com.inductiveautomation.ignition.gateway.bootstrap.NonLockingUrlClassLoader @26e43e5b)

```

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [June 19, 2019, 3:37pm UTC](https://forum.inductiveautomation.com/t/bug-14205-qr-scanner-stopped-working-after-upgrade/25851/4 "2019-06-19T15:37:38Z")

</div>

This issue was fixed in the 8.0.3 nightly build that was uploaded today (6/19).
