Skip to content

Image upload returns 201 #11

@enciyo

Description

@enciyo
025-08-18 20:38:56.987 28573-28720 ApplitoolsEspresso      com.ciceksepeti.ciceksepeti.debug    V  [Thread[Instr: com.ciceksepeti.ciceksepeti.CsTestRunner,5,main]] uploadImage(): trying to upload image...
2025-08-18 20:38:56.988 28573-28720 ApplitoolsEspresso      com.ciceksepeti.ciceksepeti.debug    V  [Thread[Instr: com.ciceksepeti.ciceksepeti.CsTestRunner,5,main]] uploadImage(): Attempt to send request number 1
2025-08-18 20:38:56.988 28573-28720 ApplitoolsEspresso      com.ciceksepeti.ciceksepeti.debug    I  [Thread[Instr: com.ciceksepeti.ciceksepeti.CsTestRunner,5,main]] getConnection(): Connection without proxy
2025-08-18 20:38:58.003 28573-28720 ApplitoolsEspresso      com.ciceksepeti.ciceksepeti.debug    V  [Thread[Instr: com.ciceksepeti.ciceksepeti.CsTestRunner,5,main]] uploadImage(): Response Code : 201
2025-08-18 20:38:58.003 28573-28720 ApplitoolsEspresso      com.ciceksepeti.ciceksepeti.debug    V  [Thread[Instr: com.ciceksepeti.ciceksepeti.CsTestRunner,5,main]] uploadImage(): Response Body : 
2025-08-18 20:38:58.003 28573-28720 ApplitoolsEspresso      com.ciceksepeti.ciceksepeti.debug    V  [Thread[Instr: com.ciceksepeti.ciceksepeti.CsTestRunner,5,main]] tryToUploadImage(): Image was uploaded

When image upload returned 201 and test failed.

    java.lang.NullPointerException
                                                                                                    	at java.util.Objects.requireNonNull(Objects.java:207)
                                                                                                    	at java.lang.String.replace(String.java:2820)
                                                                                                    	at com.applitools.eyes.android.common.network.RestClient.lambda$matchWindow$2$com-applitools-eyes-android-common-network-RestClient(RestClient.java:308)
                                                                                                    	at com.applitools.eyes.android.common.network.RestClient$$ExternalSyntheticLambda6.run(D8$$SyntheticClass:0)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)

Hi, I'm working this(https://github.com/applitools/eyes-android-hello-world/blob/master/app/src/androidTest/java/com/applitools/helloworld/android/SimpleKotlinTest.kt) implementation on my project. Just I changed api key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions