Issue1295

classification
Title: Setting a write-only bean property causes a NPE
Type: crash Severity: normal
Components: Core Versions: 2.5b1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fwierzbicki Nosy List: alex.gronholm, fwierzbicki
Priority: urgent Keywords:

Created on 2009-03-30.21:18:49 by alex.gronholm, last changed 2009-03-31.16:31:38 by fwierzbicki.

Messages
msg4397 (view) Author: Alex Grönholm (alex.gronholm) Date: 2009-03-30.21:18:48
package testxx;
public class JavaClass() {
  private String a;
  public void setA(String a) { this.a = a; }
}

# Python code
from testxx import JavaClass
JavaClass().a = 'test' <- causes NullPointerException in
PyString.__tojava__()
msg4403 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-31.16:31:38
fixed in r6137
History
Date User Action Args
2009-03-31 16:31:38fwierzbickisetstatus: open -> closed
resolution: fixed
messages: + msg4403
2009-03-30 23:39:24fwierzbickisetpriority: urgent
assignee: fwierzbicki
nosy: + fwierzbicki
2009-03-30 21:18:50alex.gronholmcreate