Community
Participate
Working Groups
Build Identifier: 20100917-0705 This just started happening with the lastest upgrade. I try to open a PHP file and the editor shows java.lang.IllegalArgumentException: Argument not valid. Reproducible: Always Steps to Reproduce: I don't know how to reproduce it. It happens on some files and not others. I haven't seen a pattern.
Created attachment 179628 [details] Stack trace Stack trace attached
Todd, can you share any of files, for which it happens? We've been fixing this issue a while ago in bug 322217, but apparently it hasn't been fixed for all cases. Thanks
Created attachment 179714 [details] PHP file #1 that reproduces the error This file will reproduce the bug. I'll also upload another in the hopes it will be easier to determine what is common between the two files that is causing the bug.
Created attachment 179715 [details] PHP file #2 that reproduces the error This file also reproduces the error.
Created attachment 180012 [details] patch
Any idea when then patch will be available in the compiled downloads?
fixed in head and branch
*** Bug 326757 has been marked as a duplicate of this bug. ***
Now that the patch is available, how do I get a working version of Eclipse? I'm hoping the release schedule if frequent enough that I don't have to build Eclipse from source in order to get this fix on a timely basis.
Tested on 2.2.1.v20101001 Works with the attached files.
Any tips on how I can get a version of Eclipse with the patch applied? I'm hoping to avoid having to build Eclipse from source, however anything at this point is acceptable as I cannot use Eclipse until I install a version with this fix.
+1 for a way to install without compiling from source. I cannot push eclipse in our organisation as a php ide with this bug, as we can't open one of our main projects!
Follow these steps to update PDT: 1. Download "pdt-Update-M201010080201.zip" from https://hudson.eclipse.org/hudson/job/cbi-pdt-2.2-helios/534/artifact/build/M201010080201/. 2. In Eclipse, go to Help > Install New Software... 3. Click "Add..." and then "Archive...". Select the ZIP file and click OK. 4. Check the version of PDT you want (SDK or runtime), and continue with the update. Hope this helps. (Thanks to Roy for his help).
Glen, I finally had a chance to try your fix and the link is no longer valid. Is there another link I can use to get the patch? Thanks, Todd
You can use this update site that includes the fix: http://download.eclipse.org/tools/pdt/updates/2.2/milestones
That worked. I am very happy to be back in business with Eclipse. Thanks for everyone's help on this.