[issue25698] The copy_reg module becomes unexpectedly empty in test_cpickle

Soujanya. Pasam report at bugs.python.org
Tue Aug 1 02:09:54 EDT 2017


Soujanya. Pasam added the comment:

I see test_cpickle failing with NPE while running the tests with IBM Java.

Exception Stack Trace
--------------------------------
<testsuite tests="144" errors="2" failures="0" skipped="0" name="test.test_cpickle.cPickleTests" time="0.049">
  <testcase name="test_attribute_name_interning" time="0.036"/>
  <testcase name="test_bad_input" time="0.786">
    <error type="java.lang.NullPointerException" message="java.lang.NullPointerException"><![CDATA[Traceback (most recent call last):
  File "/jtctest/apps/ascii/jython/80files/jython_2.7.0/Lib/unittest/case.py", line 332, in run
    testMethod()
  File "/jtctest/apps/ascii/jython/80files/jython_2.7.0/Lib/test/pickletester.py", line 1136, in test_bad_input
    self.assertRaises((IndexError, cPickle.UnpicklingError),
  File "/jtctest/apps/ascii/jython/80files/jython_2.7.0/Lib/unittest/case.py", line 476, in assertRaises
    callableObj(*args, **kwargs)
NullPointerException: java.lang.NullPointerException

Jython used
-------------------
2.7.0

IBM Java version
-------------------
java version "1.8.0_141"
Java(TM) SE Runtime Environment (build 8.0.5.0 - pxp3280sr5-20170725_01(SR5 Beta-1)

Please let me know if the issue is similar or it requires a new bug. Thanks.

----------
nosy: +Soujanya. Pasam

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25698>
_______________________________________


More information about the Python-bugs-list mailing list