Realm-cocoa: invocation function for block in objc_object* (anonymous namespace)::makeBoxedGetter<realm::StringData>(unsigned long) + 45

Created on 12 Aug 2019  路  1Comment  路  Source: realm/realm-cocoa


RLMObject_Private.hpp line 45 invocation function for block in objc_object* (anonymous namespace)::makeBoxedGetter<realm::StringData>(unsigned long) + 45

Goals

Expected Results

Actual Results

can't reproduce
釀夅叧釀忈叧釀呩叺釂剦釁a喓 2019-08-12 釀嬦叐釀掅叜 2 55 29

CoreFoundation | __exceptionPreprocess -- | -- 1 | libobjc.A.dylib | objc_exception_throw 2 | Realm | RLMObject_Private.hpp聽line聽45invocation function for block in objc_object* (anonymous namespace)::makeBoxedGetter<realm::StringData>(unsigned long) + 45 3 | GLAM | RealmBrowse.swift聽line聽81HomeRatingViewModel.popLastUser() + 81 4 | GLAM | HomeRatingCollectionViewCell.swift聽line聽191HomeRatingCollectionViewCell.createCardView() + 191 5 | GLAM | HomeRatingCollectionViewCell.swift聽line聽353closure #2 in HomeRatingCollectionViewCell.removeCard(userId:toRight:) + 353 6 | GLAM | <compiler-generated>聽line聽0thunk for @escaping @callee_guaranteed (@unowned Bool) -> () 7 | UIKitCore | -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] 17 | UIKitCore | UIApplicationMain 18 | GLAM | HomeRatingViewModel.swift聽line聽28main + 28

Steps to Reproduce

Code Sample

self._characters             = json["characters"].description

func popLastUser() -> User {
        return User(browses.removeLast().toJSON())
    }

func toJSON() -> JSON {
        var newValue = super.swiftyJSON
        newValue["characters"] = JSON(parseJSON: self._characters)
        return newValue
    }

Version of Realm and Tooling


Realm framework version: 3.17.3

Realm Object Server version:

Xcode version: ?
10.2
iOS/OSX version: ?
12.2

Dependency manager + version: ?
cocoadpods 1.7.5

O-Community T-Help

Most helpful comment

This exception is reporting that you're trying to access a property on an object which has been deleted.

>All comments

This exception is reporting that you're trying to access a property on an object which has been deleted.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ciminuv picture ciminuv  路  3Comments

carvalho-oak picture carvalho-oak  路  3Comments

jpsim picture jpsim  路  3Comments

jpsim picture jpsim  路  3Comments

TheHmmka picture TheHmmka  路  3Comments