# Could you please help with java.lang.NullPointerException

**URL:** https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666
**Category:** Processing
**Created:** [January 1, 2021, 11:55am UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666 "2021-01-01T11:55:37Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![digimages\_111](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@digimages\_111](https://discourse.processing.org/u/digimages_111)
#### Post date: [January 1, 2021, 11:55am UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/1 "2021-01-01T11:55:37Z")

</div>

I downloaded but never successful to starting app; Please see the image, what was the reason, and how to fix? Thanks.

 ![Screenshot 2021-01-01 at 20.52.13](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/9/9fef5a8107939c84fd017404117dc8fe6e089acb.png)

---

<div class="post-metadata">

### Author: ![jay\_m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jay_m/32/11020_2.png) [@jay\_m](https://discourse.processing.org/u/jay_m)
#### Post date: [January 1, 2021, 9:00pm UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/2 "2021-01-01T21:00:17Z")

</div>

what did you download?

---

<div class="post-metadata">

### Author: ![digimages\_111](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@digimages\_111](https://discourse.processing.org/u/digimages_111)
#### Post date: [January 1, 2021, 11:35pm UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/3 "2021-01-01T23:35:52Z")

</div>

I downloaded Processing 3.5.4 for Mac OS  
My Mac is up to date. Big Sur 11.1  
It has been failing during startingup.  
What was the reason?  
I installed Java for Mac, it did not help.  
Please help this very basic issue.  
Thank you so much for your time.

---

<div class="post-metadata">

### Author: ![jay\_m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jay_m/32/11020_2.png) [@jay\_m](https://discourse.processing.org/u/jay_m)
#### Post date: [January 3, 2021, 4:23am UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/4 "2021-01-03T04:23:12Z")

</div>

Do you have two screens on your Mac?

See [this open issue](https://github.com/processing/processing/issues/6121) and [this discussion](https://discourse.processing.org/t/big-sur-and-new-macs/25374/4)

I did not update my Mac yet because things seem shaky (probably due to OpenGL changes)

---

<div class="post-metadata">

### Author: ![digimages\_111](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@digimages\_111](https://discourse.processing.org/u/digimages_111)
#### Post date: [January 3, 2021, 8:05am UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/5 "2021-01-03T08:05:24Z")

</div>

Thank you so much for response; I checked the links, and see the issues; Well, then what shall I do? Do I have to wait until Apple fix this problem…? I do not have two screens, is there any other solution? Many thanks.

---

<div class="post-metadata">

### Author: ![jay\_m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jay_m/32/11020_2.png) [@jay\_m](https://discourse.processing.org/u/jay_m)
#### Post date: [January 4, 2021, 5:46pm UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/6 "2021-01-04T17:46:45Z")

</div>

It was not crashing for others though. So something else is weird. Do you have access to another Mac and try without doing anything Java related that is not prompted by the OS?

Apple announced many moons ago that OpenGL was becoming obsolete so don’t expect any fix there. The move makes sense, OpenGL was designed 25 years ago when 3D graphics were in their infancy, and was kept alive thanks to increasingly complicated extensions for modern GPU features. At some point it showed its age and the fundamentals of 3D rendering changed so much (GPU pipeline, multithreaded operations across tons of cores, asynchronous processing, tons of super fast memory,…) The Windows world Moved to Vulkan and Apple created Metal… two platforms to deal with but so much faster and richer than OpenGL…

---

<div class="post-metadata">

### Author: ![digimages\_111](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@digimages\_111](https://discourse.processing.org/u/digimages_111)
#### Post date: [January 8, 2021, 7:26am UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/7 "2021-01-08T07:26:50Z")

</div>

Thank you so much for your response. I do not have another Mac to test… So, it means that something else is weird with my Mac; I am considering re-install Big Sur, if something went wrong with the last installation. Thanks again. All the best, T

---

<div class="post-metadata">

### Author: ![jay\_m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jay_m/32/11020_2.png) [@jay\_m](https://discourse.processing.org/u/jay_m)
#### Post date: [January 9, 2021, 6:45pm UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/8 "2021-01-09T18:45:57Z")

</div>

Can you create a new user and try to run processing in that account? Just in case some preferences were in the way…

---

<div class="post-metadata">

### Author: ![digimages\_111](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@digimages\_111](https://discourse.processing.org/u/digimages_111)
#### Post date: [January 11, 2021, 1:33pm UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/9 "2021-01-11T13:33:33Z")

</div>

Thank you so much! I created a new standard user and downloaded Processing; Amazing, it is working and no error…! Thanks again! Greatly appreciated!

---

<div class="post-metadata">

### Author: ![jay\_m](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jay_m/32/11020_2.png) [@jay\_m](https://discourse.processing.org/u/jay_m)
#### Post date: [January 14, 2021, 5:57am UTC](https://discourse.processing.org/t/could-you-please-help-with-java-lang-nullpointerexception/26666/10 "2021-01-14T05:57:13Z")

</div>

Ok - so clearly something fishy with former config files or preferences in the other account.
