Issue1673

classification
Title: TypeError: Object of type 'NoneType' has no len()
Type: Severity: normal
Components: Any Versions: 2.5.2b1
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: moliveira, otmarhumbel
Priority: Keywords:

Created on 2010-11-02.19:28:15 by moliveira, last changed 2010-11-02.19:52:13 by otmarhumbel.

Files
File name Uploaded Description Edit Remove
error jython 2_5_2_rc2.jpg moliveira, 2010-11-02.19:28:14
Messages
msg6217 (view) Author: Marcos de Oliveira (moliveira) Date: 2010-11-02.19:28:14
The code runs in python 2.5 but does not runs in jython 2.5.2rc2 giving the folowing message TypeError: Object of Type 'NoneType' has no len().
msg6218 (view) Author: Oti Humbel (otmarhumbel) Date: 2010-11-02.19:52:12
Python 2.5 issues exactly the same error message:


Python 2.5.1 (r251:54863, Feb  6 2009, 19:02:12) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> label = None
>>> len(label)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object of type 'NoneType' has no len()
>>>
History
Date User Action Args
2010-11-02 19:52:13otmarhumbelsetstatus: open -> closed
resolution: invalid
messages: + msg6218
nosy: + otmarhumbel
2010-11-02 19:28:15moliveiracreate