Community
Participate
Working Groups
Build Identifier: 20110218-0911 I have a project that utilizes QT / Eclipse. It has been working fine until recently (I'm not sure what caused the error to start occurring). Now, when I try to change a project properties, I get an "Out of Bounds Error" when I try to save the change. Reproducible: Always Steps to Reproduce: 1.Right Click on Project in Project Explorer 2.Select "Properties" 3.Click "OK" -- Result: Dialog pops up that says: "An Internal error has occur [sic] please check error log. Java.lang.IllegalArgumentException: Indesx out of bounds Reason: Internal Error:" Clicking "details" results in: "Index Out of bounds" as elaboration.
Created attachment 203942 [details] Log file from Eclipse
Can you attach a screenshot of your project properties?
Created attachment 204099 [details] screenshot of project properties Per request, here are some of the project properties.
You are using old project style of CDT 3.1 which is not supported anymore. The log shows the exception has to do with Discovery Options. Try to re-select a discovery profile (GCC per project profile for example) and save.
(In reply to comment #4) > You are using old project style of CDT 3.1 which is not supported anymore. > The log shows the exception has to do with Discovery Options. Try to re-select > a discovery profile (GCC per project profile for example) and save. I selected "Automate Discovery of Paths and Symbols", and then in the dropbox, selected "GCC per project scaner info profile". I then clicked OK. It resulted in: "An Internal error has occur [sic] please check error log. java.lang.NullPointerException Reason: Internal Error: java.lang.NullPointerException"
(In reply to comment #5) > (In reply to comment #4) > > You are using old project style of CDT 3.1 which is not supported anymore. > > The log shows the exception has to do with Discovery Options. Try to re-select > > a discovery profile (GCC per project profile for example) and save. > > > I selected "Automate Discovery of Paths and Symbols", and then in the dropbox, > selected "GCC per project scaner info profile". I then clicked OK. > > It resulted in: > > "An Internal error has occur [sic] please check error log. > java.lang.NullPointerException > > Reason: > Internal Error: > > java.lang.NullPointerException" Just an update; I selected yet another profile, clicked "Apply", then reselected "GCC per project scanner info profile", then clicked OK. This then exited without either Internal Error mentioned occurring. So, thanks for the explanation. I do think that eclipse should be a bit more robust / explanatory about this situation however. Thanks.
(In reply to comment #6) > So, thanks for the explanation. I do think that eclipse should be a bit more > robust / explanatory about this situation however. I agree. We'll focus on the parts currently being maintained and those under development though.