View Single Post
  #1 (permalink)  
Old 07-05-2008
mastersin mastersin is offline
Registered User
 
Name: Evgeny Sinelnikov
Organization: Etersoft
Project: Tartarus
 
Join Date: Jul 2008
Location: Saratov, Russia
Posts: 2
IcePython bug with propertyToProxy

We (I and my colleagues) find strange behavior propertyToProxy with NullHandleException for absence objects.

This problem looks like previously with IceRuby:
IceRuby bug with propertyToProxy
IceRuby bug with propertyToProxy

Steps to reproduce:
$ python
Python 2.5.1 (r251:54863, Feb 8 2008, 15:19:12)
[GCC 4.1.1 20070105 (ALT Linux, build 4.1.1-alt12)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ice
>>> c = Ice.initialize()
>>> p = c.propertyToProxy("AAAAAAA")
>>> p
terminate called after throwing an instance of 'IceUtil::NullHandleException'
what(): N7IceUtil19NullHandleExceptionE
Аварийный останов

Our patches for this you can find at:
Etersoft Git - python-module-Ice.git/commitdiff
Etersoft Git - python-module-Ice.git/commitdiff
Reply With Quote