SAP / odfuzz

Apache License 2.0
18 stars 12 forks source link

AttributeError: 'NoneType' object has no attribute 'split' #42

Closed si90 closed 4 years ago

si90 commented 4 years ago

When running on my host (without docker) against a large OData service, I get the following error message:

config.err_policy(ParserError.ENTITY_TYPE).resolve(ex) File "/usr/local/lib/python3.7/dist-packages/pyodata-1.4.0-py3.7.egg/pyodata/v2/model.py", line 59, in resolve raise ekseption File "/usr/local/lib/python3.7/dist-packages/pyodata-1.4.0-py3.7.egg/pyodata/v2/model.py", line 989, in from_etree etype = EntityType.from_etree(entity_type, config) File "/usr/local/lib/python3.7/dist-packages/pyodata-1.4.0-py3.7.egg/pyodata/v2/model.py", line 1388, in from_etree navp = NavigationTypeProperty.from_etree(proprty) File "/usr/local/lib/python3.7/dist-packages/pyodata-1.4.0-py3.7.egg/pyodata/v2/model.py", line 1705, in from_etree node.get('Name'), node.get('FromRole'), node.get('ToRole'), Identifier.parse(node.get('Relationship'))) File "/usr/local/lib/python3.7/dist-packages/pyodata-1.4.0-py3.7.egg/pyodata/v2/model.py", line 156, in parse parts = value.split('.') AttributeError: 'NoneType' object has no attribute 'split'

phanak-sap commented 4 years ago

Hi, thx for using odfuzz. Providing just the part of errors without any additional information is not really actionable.

At the moment I cannot reproduce this or even wildly guess.

phanak-sap commented 4 years ago

Since no comment from April and the issue is not actionable, closing. Repoen with more data as requested by my comment.