Community
Participate
Working Groups
Build Identifier: 20100527-0614 A function that calls itself to fill a variable that is then used in an if statements causes the editor to frequently pop up the following errors: An internal error occurred during: "Processing Dirty Regions". assertion failed: An internal error occurred during: "Semantic Highlighting Job". assertion failed: Additionally I think it causes the code assist feature to freeze eclipse for some time. Reproducible: Always Steps to Reproduce: 1. Create a new PHP file in the PHP Perspective. 2. Paste in the following code: <?php class FooClass { public function foo() { $obj = new BarClass(); if ($obj->getValue() === 1) { $obj = $this->foo(); } elseif ($obj->getValue() === 2) { $obj = $this->foo(); } return $obj; } } 3. Save the file.
I think this bug has been fixed already. IMO,when you put cursor on getValue this bug will happen. BTW,what pdt version do you use?
(In reply to comment #1) > I think this bug has been fixed already. > > IMO,when you put cursor on getValue this bug will happen. > BTW,what pdt version do you use? I'm using the latest development build available from the Eclipse website: Eclipse PHP Helios RC2 (http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/RC2/eclipse-php-helios-RC2-linux-gtk.tar.gz) The bug was also present in Eclipse PHP Helios RC1. I have reproduced this bug on both my Windows (Windows 7 x64) machine at work and my linux (Ubuntu 10.04 x86) machine at home. You are correct the bug appears as soon as you put the cursor on getValue(). It also appears when you open the file and sometimes when you switch the editor to the file that contains this code. I hope this helps. Regards, Jeffrey Bolle
Hi Thanks ,I got it!
it seems like PDT RC1 == RC2 since the update site was not updated. so probably you'll need to either wait until RC3 or update your Eclipse with the latest nightly build. Thanks for sharing,
Hi fixed in head
Verified at PDT-2.2.0.v20100616 No more Processing Dirty Regions and Semantic Highlighting Jobs error appear at screen at this version - probably wait for PDT to be released and have available updates for fixing the problem Closing this issue... Thanks Verified by Teodor Kirkov teodor.k@zend.com
Created attachment 179453 [details] Screenshot of error I'm completely up 2 date in helios, yet it still happens though this bug is marked as fixed. Helios build id: 20100617-1415