Author jamesmudd
Recipients jamesmudd, pguermo
Date 2017-02-19.20:00:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have been having a look at this issue as I am also seeing this. But I think it is OS dependent. It seems to work ok on RHEL6 but it is failing on Ubuntu 16.04 64 bit.

Jython 2.7.1b3 (, Feb 19 2017, 19:57:56) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_121
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getlogin()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
	at org.python.core.PyString.<init>(
	at org.python.core.PyString.<init>(
	at org.python.modules.posix.PosixModule.getlogin(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString from null

I was running a just built version of jython master.

Could you provide some more details of the OS and java you were using.
Date User Action Args
2017-02-19 20:00:55jamesmuddsetmessageid: <>
2017-02-19 20:00:55jamesmuddsetrecipients: + jamesmudd, pguermo
2017-02-19 20:00:55jamesmuddlinkissue2534 messages
2017-02-19 20:00:54jamesmuddcreate