# I cant get this to work

**URL:** <https://discourse.processing.org/t/i-cant-get-this-to-work/38766>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [September 15, 2022, 1:55am UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766 "2022-09-15T01:55:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dep6142](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@dep6142](https://discourse.processing.org/u/dep6142)\
**Post date:** [September 15, 2022, 1:55am UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766/1 "2022-09-15T01:55:11Z")

</div>

I am trying to use this laser maze processing code and i cant seem to get it to work  
[Laser Maze site](https://www.instructables.com/Lazer-Maze/) and when i try and run it it says “Could not run the sketch (Target VM failed to initialize).”

---

<div class="post-metadata">

**Author:** ![RichardDL](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Post date:** [September 17, 2022, 2:29pm UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766/2 "2022-09-17T14:29:33Z")

</div>

Hi @dep6142, and welcome. I see this error very occasionally. Yes, it’s annoying for a second but clicking ‘run’ or ^r again runs with no problem. Is it any worse than that for you? If so please try some of the examples: File, Examples… and tell us how they run.

---

<div class="post-metadata">

**Author:** ![dep6142](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@dep6142](https://discourse.processing.org/u/dep6142)\
**Post date:** [September 19, 2022, 12:43am UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766/3 "2022-09-19T00:43:38Z")

</div>

Mouse interaction in 2d, Mouse Acr Tangent, Flocking, and Rotation Arcs in 3D works just fine

---

<div class="post-metadata">

**Author:** ![dep6142](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@dep6142](https://discourse.processing.org/u/dep6142)\
**Post date:** [September 19, 2022, 1:57am UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766/4 "2022-09-19T01:57:08Z")

</div>

EXCEPTION\_ACCESS\_VIOLATION (0xc0000005) at pc=0x0000000063a66e7e, pid=26844, tid=21116

---

<div class="post-metadata">

**Author:** ![RichardDL](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Post date:** [September 19, 2022, 7:31am UTC](https://discourse.processing.org/t/i-cant-get-this-to-work/38766/5 "2022-09-19T07:31:01Z")

</div>

Are you saying the Laser Maze sketch fails every time? Need to break it down and find which feature of that sketch has the problem. Back to examples, try one or two Libraries, Serial examples. Make a test copy of Maze sketch, use ‘[binary chop](https://wiki.c2.com/?BinaryChop)’ to find what is making the issue. First delete is all the contents of draw().
