Community
Participate
Working Groups
Created attachment 191448 [details] Test project Attached test project shows two examples of wrong "Null pointer access" errors: 1. If in Main line 13 is commented out, we get error in line 22. 2. If in Main line 17 (for loop) is NOT commented out, we get error in line 20. Please note that 'Null pointer access' compiler option was raised to Error and 'Potential null pointer access' raised to Warning. If line 17 is commented out, issue number 1 does not occur so both issues are related to each other somehow. It looks similar to bug 195638 but the other one is about try-catch inside a loop while here we have loop inside try-catch (there is bug 195638 comment 3 which looks similar to this one but it is left without comment there).
Are you really reporting that against 3.4.2 ?
I couldn't reproduce this with 3.7. This error might have been fixed post 3.4.2, so please use a newer build.
Closing as WORKSFORME since this issue no longer shows up.
Verified for 3.7 M7 using build I20110421-1800.