java.lang.IllegalArgumentException: Field FieldType:name=mail,class=History is a primitive class class com.mypackage.Mail but marked as foreign

ormlite | sstarzycki | 3 years ago
  1. 0

    Field FieldType:name=xxx,class=xxx is a primitive class class com.mypackage.xxx but marked as foreign

    ormlite | 3 years ago | sstarzycki
    java.lang.IllegalArgumentException: Field FieldType:name=mail,class=History is a primitive class class com.mypackage.Mail but marked as foreign
  2. 0

    Could not find appropriate get method for private boolean in OrmLite

    Stack Overflow | 1 year ago | user1689757
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app/com.app.MainActivity_}: java.lang.IllegalArgumentException: Could not find appropriate get method for private boolean com.app.model.User.isKeepAlive
  3. 0

    Ormlite: FieldType is a primitive type but marked as foreign

    Stack Overflow | 4 years ago | matt112358
    java.lang.IllegalArgumentException: Field FieldType:name=tab1,class=Tab2 is a primitive class class com.xxx.xxx.model.Tab1 but marked as foreign
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TokenInfo validation throws IllegalArgumentException for invalid tokens

    GitHub | 2 years ago | wonderfly
    java.lang.IllegalArgumentException: error for field null

  1. hoangtranwork 1 times, last 7 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Field FieldType:name=mail,class=History is a primitive class class com.mypackage.Mail but marked as foreign

    at com.j256.ormlite.field.FieldType.configDaoInformation()
  2. ORMLite Core
    DaoManager.createDao
    1. com.j256.ormlite.field.FieldType.configDaoInformation(FieldType.java:329)
    2. com.j256.ormlite.dao.BaseDaoImpl.initialize(BaseDaoImpl.java:207)
    3. com.j256.ormlite.dao.BaseDaoImpl.<init>(BaseDaoImpl.java:130)
    4. com.j256.ormlite.dao.BaseDaoImpl.<init>(BaseDaoImpl.java:121)
    5. com.j256.ormlite.dao.BaseDaoImpl$5.<init>(BaseDaoImpl.java:1002)
    6. com.j256.ormlite.dao.BaseDaoImpl.createDao(BaseDaoImpl.java:1002)
    7. com.j256.ormlite.dao.DaoManager.doCreateDao(DaoManager.java:359)
    8. com.j256.ormlite.dao.DaoManager.createDaoFromConfig(DaoManager.java:326)
    9. com.j256.ormlite.dao.DaoManager.createDao(DaoManager.java:55)
    9 frames
  3. ORMLite Android
    OrmLiteSqliteOpenHelper.getDao
    1. com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper.getDao(OrmLiteSqliteOpenHelper.java:279)
    1 frame