Author zyasoft
Recipients Arfrever, stefan.richthofer, zyasoft
Date 2015-03-19.16:53:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In running the Sphinx test suite, I have traced it down: it's due to the use PyInstance (old style class), vs new style class in zipfile.ZipFile:

java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(
	at org.python.core.PyMethod.toString(
	at java.util.Formatter$FormatSpecifier.printString(
	at java.util.Formatter$FormatSpecifier.print(
	at java.util.Formatter.format(
	at java.util.Formatter.format(
	at java.lang.String.format(
	at org.python.core.Py.writeUnraisable(
	at org.python.core.PyInstance.__del__(
	at org.python.core.finalization.FinalizeTrigger.runFinalizer(
	at org.python.core.finalization.FinalizeTrigger.performFinalization(
	at org.python.core.finalization.FinalizeTrigger.finalize(
	at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
	at java.lang.ref.Finalizer.runFinalizer(
	at java.lang.ref.Finalizer.access$100(
	at java.lang.ref.Finalizer$
Exception java.lang.NullPointerException: java.lang.NullPointerException in <bound method ZipFile.__del__ of <zipfile.ZipFile instance at 0x122>> ignored

(A little instrumentation can help - I did this in PyMethod#toString)

The immediate fix is to convert ZipFile to a newstyle class - this is in fact what it is in CPython 2.7. We can review oldstyle classes at some future point to see if this can be fixed as well.
Date User Action Args
2015-03-19 16:53:47zyasoftsetmessageid: <>
2015-03-19 16:53:47zyasoftsetrecipients: + zyasoft, Arfrever, stefan.richthofer
2015-03-19 16:53:47zyasoftlinkissue2288 messages
2015-03-19 16:53:47zyasoftcreate