# Processing IDE 4.4.4 does not show line in error

**URL:** <https://discourse.processing.org/t/processing-ide-4-4-4-does-not-show-line-in-error/46915>\
**Category:** Processing\
**Created:** [August 12, 2025, 5:38pm UTC](https://discourse.processing.org/t/processing-ide-4-4-4-does-not-show-line-in-error/46915 "2025-08-12T17:38:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 13, 2025, 2:18am UTC](https://discourse.processing.org/t/processing-ide-4-4-4-does-not-show-line-in-error/46915/6 "2025-08-13T02:18:49Z")

</div>

Hello @rhole,

It works in Processing 4.3.4 in Windows 10:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/0/d/0d52585e6fda9a3dcd2bd1d6babff70d68a6dbca.png)

Related:

> [@Stack Trace for Exceptions](https://discourse.processing.org/t/stack-trace-for-exceptions/46569):
>
> How to get a stack-trace if the program throws an exception (or any information pointing to the position in the program from where the exception was thrown?) Example (a typical beginner’s mistake): PVector [] vs = new PVector [10]; for (int i=0;i\<vs.length;++i) vs[i].set(0,0); When running this in processing, all it does is displaying a red NullPointerException message. I cannot see any way to find out where in the program this was thrown. (Ideally, I would like to see a stack trace). If…

> <https://github.com/processing/processing4/issues/1153>
>
> \### Most appropriate sub-area of Processing 4?
> 
> PDE
> 
> \### Processing version
> 
> 4.4….4
> 
> \### Operating system
> 
> Ubuntu 24.04, Windows 10
> 
> \### Bug description
> 
> The location of an exception (e.g. NullPointerException) is not highlighted, nor is a stack trace printed. The only information printed is a red NullPointerException message at the bottom. There is no obvious way how to find out where this was thrown.
> 
> This seems to be a regression to earlier 3.x versions, where the line of the thrower would be at least highlighted. 
> 
> 
> 
> \### Steps to reproduce this
> 
> "1. open the below snippet in PDE
> 
> 2. run the snippet
> 
> 3. observe that the error message (NullPointerException) is not linked to any position in the code, nor is any position in the code highlighted, nor is a stack-trace or similar printed anywhere"
> 
> 
> \### snippet
> 
> \`\`\`
> PVector \[\] vs = new PVector\[10\];
> for (int i=0;i\<vs.length;++i)
> vs\[i\].set(0,0); // \<-- this position should be contained in the error message
> 
> \`\`\`
> 
> 
> \### Additional context
> 
> real showstopper when trying to debug any bigger program in PDE!
> 
> \### Would you like to work on the issue?
> 
> No, I’m just reporting the issue

This (from github issue) highlights error in Processing 4.3.4:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/9/f/9f5c3fb753aa92f7ea795016ace2bd95d91f130a.png)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/processing-ide-4-4-4-does-not-show-line-in-error/46915)._
