Skip to content

JournlerSearchManager.m Exc_bad_access (code=2, address=0x0) at line textRepresentation = [SpotlightTextContentRetriever textContentOfFileAtPath:originalPath] #2

Description

@ProBackup-nl

When running Git source from Xcode 6.0.1, Journler stops at the line containing:

textRepresentation = [SpotlightTextContentRetriever textContentOfFileAtPath:originalPath]

The value of orginalPath = "/Library/Caches/CrashPlan"
This path is not a file but a directory.

When reading the source code of "JournlerSearchManager.m", I would think that when the resource is not (directory or ABrecord) code execution for this function stops at line "if ( !( [aResource representsFile] || [aResource representsABRecord] ) ||"

How to fix this code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions