Skip to content

IOException when app uses 3rd party SDK #422

@vbuberen

Description

@vbuberen

✍️ Describe the bug

This issue arises from #394

After fixes for #394 the reporter provided update that another exception appeared:

 java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively0(Native Method)
        at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:281)
        at java.io.File.createNewFile(File.java:1008)
        at com.chuckerteam.chucker.internal.support.AndroidCacheFileFactory.create(AndroidCacheFileFactory.kt:21)
        at com.chuckerteam.chucker.internal.support.AndroidCacheFileFactory.create(AndroidCacheFileFactory.kt:15)
        at com.chuckerteam.chucker.api.ChuckerInterceptor.multiCastResponseBody(ChuckerInterceptor.kt:184)
        at com.chuckerteam.chucker.api.ChuckerInterceptor.intercept(ChuckerInterceptor.kt:92)

It happens even after removing the application from device and reinstalling a new one.

🔧 Expected behavior

Chucker works normally and shows transactions.

📱 Tech info

  • Chucker version: 3.3.0-SNAPSHOT (as of 11th of August 2020)

📄 Additional context

We should investigate the issue to either fix it or to get all the info we might need to deal with possible problems with other 3rd party SDKs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions