Skip to content

Attempted to Dereference An Invalid ObjC Object #226

@danielchangsoojones

Description

@danielchangsoojones

I am trying to run the fa11y command, but I get this error. I can't seem to figure it out or find any resources to fix this. Here is the complete error:

(lldb) fa11y C
error: error: Execution was interrupted, reason: Attempted to dereference an invalid ObjC Object or send it an unrecognized selector.
The process has been returned to the state before expression evaluation.
error: error: use of undeclared identifier 'None'
Traceback (most recent call last):
File "/usr/local/opt/chisel/libexec/fblldb.py", line 83, in runCommand
command.run(args, options)
File "/usr/local/Cellar/chisel/1.7.1/libexec/commands/FBAccessibilityCommands.py", line 89, in run
self.accessibilityGrepHierarchy(rootView, arguments[0])
File "/usr/local/Cellar/chisel/1.7.1/libexec/commands/FBAccessibilityCommands.py", line 71, in accessibilityGrepHierarchy
accessibilityElementsCount = fb.evaluateIntegerExpression('[%s count]' % accessibilityElements)
File "/usr/local/opt/chisel/libexec/fblldbbase.py", line 88, in evaluateIntegerExpression
output = evaluateExpression('(int)(' + expression + ')', printErrors).replace(''', '')
AttributeError: 'NoneType' object has no attribute 'replace'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions