DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36110>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36110 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From [EMAIL PROTECTED] 2005-08-11 07:06 ------- Sorry, that didn't fix the problem. Now it causes an NPE like this: 1. the LocalVariableGen constructor sets start and end to non-null 2. then it calls the setStart method. 3. the setStart method calls the notifyTarget method to remove itself from the old handle, and add itself to the new handle. 4. in this case, since the start field is already set, the old handle is non-null. 5. the notifyTarget method calls the removeTargeter method to remove the LocalVariableGen from the old InstructionHandle. 6. But since this 'old' InsturctionHandle doesn't actually have any targeter yet, the following method causes NPE. > public void removeTargeter(InstructionTargeter t) { > targeters.remove(t); > } Besides, I think we really need a proper fix to this problem. The suggested fix doesn't work if I attempt to move the start/end more than once. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]