Skip to content

Script error running M2-10-1 #78

Description

@kylejacksonb
Traceback (most recent call last):
  File "C:/Program Files/SciTools/plugins/CodeCheck/Published Standards/AUTOSAR/M2-10-1/check.upy", line 301, in check
    entities = sorted(check.db().ents('c'), key=lambda ent: (ent.ref().file().longname(), ent.ref().line(), ent.ref().column()))
  File "C:/Program Files/SciTools/plugins/CodeCheck/Published Standards/AUTOSAR/M2-10-1/check.upy", line 301, in <lambda>
    entities = sorted(check.db().ents('c'), key=lambda ent: (ent.ref().file().longname(), ent.ref().line(), ent.ref().column()))

                                                             ^^^^^^^^^^^^^^

AttributeError: 'NoneType' object has no attribute 'file'

Metadata

Metadata

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions