Details
Description
Exception NPE is thrown only when for-loop is inside def/function. Empty or more complex code in for-loop works, this bug appears only for simple code inside loop. Example:
def test() {
for(i = 0; i < 3; i++) {
// some code inside, assignment, log to console or so...
System.out.println('...');
}
}
// call function
test();
Code inside loop is executed once and then NPE is thrown, has something to do with ASTNode "null".
Activity
Mike Brock
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | In Progress [ 3 ] |
Mike Brock
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 2.1 [ 15534 ] | |
| Resolution | Fixed [ 1 ] |