Message12840

Author jeff.allen
Recipients gbach, jeff.allen
Date 2019-12-14.17:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576346070.38.0.1448528574.issue2848@roundup.psfhosted.org>
In-reply-to
Content
Adding the file from #2487 (name changed only) that should reproduce the error. Working on Windows, I have so far seen it once with my own variant of the test,
quite early in the run:

PS issue2848> inst\bin\jython test2848.py
17:34:26 GMT
17:34:27 GMT
Unhandled exception in thread started by <function do_something at 0x2>
Traceback (most recent call last):
  File "test2848.py", line 52, in do_something
    class_name = attr.getNamedItem("class").getValue()
17:34:27 GMT

--------------------------------------------------------------------
The relevant text from Gunter on #2487 runs as follows:

"""
I made a short script (test.py) that is able to reproduce this error.
Attached the needed files.
In test.py are 2 links to get the needed jar-files (I reproduced the error with the help of an older version of SAXParser - that is the context where the error occurs in my production system)
I created also two shell-scripts to start the tests.
You must adapt the paths but this should be straight forward.

...

test272b2 yields another one "AttributeError: 'NoneType' object has no attribute 'getValue'" (but maybe the root-cause is the old issue) after several hours.
Interestingly enough the error either occurs "en masse" or does not at all.
Also if you do not send stdout somewhere else (e.g. /dev/null(), the error seems not to occur in this context.
"""
History
Date User Action Args
2019-12-14 17:54:30jeff.allensetmessageid: <1576346070.38.0.1448528574.issue2848@roundup.psfhosted.org>
2019-12-14 17:54:30jeff.allensetrecipients: + jeff.allen, gbach
2019-12-14 17:54:30jeff.allenlinkissue2848 messages
2019-12-14 17:54:30jeff.allencreate