java.lang.IllegalArgumentException: File null/databases/baopodb.db contains a path separator

GitHub | githubityu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.IllegalArgumentException: File null/databases/baopodb.db contains a path separator

    GitHub | 8 months ago | githubityu
    java.lang.IllegalArgumentException: File null/databases/baopodb.db contains a path separator

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      File null/databases/baopodb.db contains a path separator

      at android.app.ContextImpl.makeFilename()
    2. Android Platform
      SQLiteOpenHelper.getDatabaseLocked
      1. android.app.ContextImpl.makeFilename(ContextImpl.java:2033)
      2. android.app.ContextImpl.validateFilePath(ContextImpl.java:2017)
      3. android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:891)
      4. android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:235)
      5. android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
      5 frames