# OpenProcessing: Cannot read property 'bind' of null

**URL:** <https://discourse.processing.org/t/openprocessing-cannot-read-property-bind-of-null/23245>\
**Category:** Coding Questions\
**Created:** [August 14, 2020, 3:51am UTC](https://discourse.processing.org/t/openprocessing-cannot-read-property-bind-of-null/23245 "2020-08-14T03:51:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devolian](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@Devolian](https://discourse.processing.org/u/Devolian)\
**Post date:** [August 14, 2020, 3:51am UTC](https://discourse.processing.org/t/openprocessing-cannot-read-property-bind-of-null/23245/1 "2020-08-14T03:51:25Z")

</div>

I am in the process of putting a project of mine on OpenProcessing, and although it works just fine in both the Eclipse IDE and the Processing IDE, it won’t work on OpenProcessing. I have gotten through most of the errors, but this one is strange and I can’t fund much about it online. It is written in Java.

Here’s a link to the project: [https://www.openprocessing.org/sketch/944792](https://www.openprocessing.org/sketch/944792)

I don’t really need an exact solution as my code is rather messy, but any info on what exactly would cause this error in a generic program would be nice. Thanks!

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [August 14, 2020, 4:38am UTC](https://discourse.processing.org/t/openprocessing-cannot-read-property-bind-of-null/23245/2 "2020-08-14T04:38:57Z")

</div>

> [@Devolian](#):
>
> , but any info on what exactly would cause this error in a generic program would be nice.

Processing.js library (Pjs) has a limited capability of transpiling Java Mode sketches to JS syntax.

You can have a look at the sketch link below which is cross-mode, running both on the PDE & online:  
[GoSubRoutine.GitHub.io/Ball-in-the-Chamber/pjs\_java/](http://GoSubRoutine.GitHub.io/Ball-in-the-Chamber/pjs_java/)

> <https://github.com/GoSubRoutine/Ball-in-the-Chamber/tree/master/pjs_java>
>
> //github.com/GoSubRoutine/Ball-in-the-Chamber/tree/master/pjs\_java

---

<div class="post-metadata">

**Author:** ![Devolian](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@Devolian](https://discourse.processing.org/u/Devolian)\
**Post date:** [August 14, 2020, 6:19am UTC](https://discourse.processing.org/t/openprocessing-cannot-read-property-bind-of-null/23245/3 "2020-08-14T06:19:19Z")

</div>

So are you implying that my sketch might be too complex (too much going on per loop) or is using unsupported methods/functions that are supported in Java?

I have the feeling I might have to find a list of features that aren’t supported on Pjs but are supported on Java, and make sure I am not using any of those features. Do you think this would solve the problem?
