Community
Participate
Working Groups
When I use select all and then the Fortran Reindintation, I get a null pointer error. The problem seems to be in TokenList.java on line 181. There is a call getLine(array[index+1]), and array[index+1] seems to be getting the null in the array after the end of statement token that it should.
After looking at the line in question: while (index+1 < array.length && getLine(array[index+1]) == line) I think instead of checking index+1 < array.length, it should be checking index+1 < size, since array.length is larger than the actual number of tokens in the array.
There is also a bug when attempting to reindent with the Move Module Entities refactoring that causes the majority of the file to be indented when it should not be.
This has been fixed in 7.0/HEAD for a while; I just committed the fix to 6_0 for the 6.0.7 release as well.