Community
Participate
Working Groups
Build Identifier: I20100608-0911 When creating a placeholder node for a FunctionInvocation (for instance through ASTRewrite.createCopyTarget or ASTRewrite.createMoveTarget), the function name of the newly created node is left at null (see NodeInfoStore.newPlaceholderNode). This can lead to a NPE during execution of ASTRewrite.rewriteAST, since this method eventually tries to visit all the children of the placeholder node. NodeInfoStore fills in dummy child nodes for other node types (for instance "for" statements and assignments), but not for function invocations; it should probably do so. Reproducible: Always
fixed in head
Closing...