cmelchior / realmfieldnameshelper

Realm extension library used to create more type-safe queries.
Apache License 2.0
173 stars 21 forks source link

NPE if there is no @RealmClass in the project #14

Closed Zhuinden closed 7 years ago

Zhuinden commented 7 years ago
Caused by: java.lang.NullPointerException
    at dk.ilios.realmfieldnames.RealmFieldNamesProcessor.init(RealmFieldNamesProcessor.java:54)
cmelchior commented 7 years ago

This seems more about the annotation processor crashing if Realm isn't part of the project. At least I couldn't reproduce this if no model classes existed, but it did crash if Realm wasn't on the classpath.

Zhuinden commented 7 years ago

Ah. Sorry about the false issue then.

But yes, the project also didn't have Realm plugin.