Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
634 stars 185 forks source link

lastConnection, firstConnection, knownConnection all throw and error #304

Closed open-sudo closed 1 year ago

open-sudo commented 1 year ago

I am getting below error when trying to reuse connection. I suspect it is related to the issue of store that was reported previously:

Exception in thread "main" java.lang.NoSuchFieldError: READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE
        at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.createContextual(EnumDeserializer.java:211)
        at com.fasterxml.jackson.databind.DeserializationContext.handlePrimaryContextualization(DeserializationContext.java:836)
        at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:550)
        at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:294)
        at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
        at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
        at com.fasterxml.jackson.databind.DeserializationContext.findNonContextualValueDeserializer(DeserializationContext.java:644)
        at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:539)
        at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:294)
        at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
        at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
        at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:654)
        at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:4956)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4826)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3817)
        at it.auties.whatsapp.util.Smile.readValue(Smile.java:93)
        at it.auties.whatsapp.controller.DefaultControllerSerializer$SmileFile.read(DefaultControllerSerializer.java:369)
        at it.auties.whatsapp.controller.DefaultControllerSerializer$SmileFile.read(DefaultControllerSerializer.java:356)
        at it.auties.whatsapp.controller.DefaultControllerSerializer.deserializeStoreFromId(DefaultControllerSerializer.java:208)
        at it.auties.whatsapp.controller.DefaultControllerSerializer.deserializeStore(DefaultControllerSerializer.java:196)
        at it.auties.whatsapp.controller.Store.of(Store.java:398)
        at it.auties.whatsapp.api.OptionsBuilder.<init>(OptionsBuilder.java:23)
        at it.auties.whatsapp.api.WebOptionsBuilder.<init>(WebOptionsBuilder.java:13)
        at it.auties.whatsapp.api.ConnectionBuilder.createConnection(ConnectionBuilder.java:108)
        at it.auties.whatsapp.api.ConnectionBuilder.firstConnection(ConnectionBuilder.java:91)
Auties00 commented 1 year ago

it's a version conflict, one of your dependencies is using an older version of Jackson

open-sudo commented 1 year ago

I am building the original Whatsapp4j project. None of my dependencies is involved.

git clone https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package

On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.***> wrote:

it's a version conflict, one of your dependencies is using an older version of Jackson

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

Auties00 commented 1 year ago

I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.>

Can you try now?

open-sudo commented 1 year ago

I am getting this now:

[ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.***> wrote:

I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.>

Can you try now?

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565478518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

Auties00 commented 1 year ago

I am getting this now: [ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.> wrote: I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 (comment) <#304 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.> Can you try now? — Reply to this email directly, view it on GitHub <#304 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.>

Maven central might not have gotten the update yet, wait 10/20 minutes

open-sudo commented 1 year ago

still not working here.

On Sat, May 27, 2023 at 11:54 AM Alessandro Autiero < @.***> wrote:

I am getting this now: [ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.

> wrote: … <#m-4169878552150758207> I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) <#304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.> Can you try now? — Reply to this email directly, view it on GitHub <#304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565478518>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @. **>

Maven central might not have gotten the update yet, wait 10/20 minutes

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565542678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIFHZBOQAQBW5OOQ4J3XIIPS3ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

Auties00 commented 1 year ago

still not working here.

On Sat, May 27, 2023 at 11:54 AM Alessandro Autiero < @.***> wrote:

I am getting this now: [ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.

> wrote: … <#m-4169878552150758207> I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) <#304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.> Can you try now? — Reply to this email directly, view it on GitHub <#304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565478518>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @. **>

Maven central might not have gotten the update yet, wait 10/20 minutes

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565542678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIFHZBOQAQBW5OOQ4J3XIIPS3ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

should work now

open-sudo commented 1 year ago

I am able to compile now. But the application is not showing the bar code anymore. It hangs and after 30 seconds it dies.

On Sat, May 27, 2023 at 1:35 PM Alessandro Autiero @.***> wrote:

still not working here.

On Sat, May 27, 2023 at 11:54 AM Alessandro Autiero < @.***> wrote:

I am getting this now: [ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.

> wrote: … <#m-4169878552150758207> I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) <#304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.> Can you try now? — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565478518>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @. **>

Maven central might not have gotten the update yet, wait 10/20 minutes

— Reply to this email directly, view it on GitHub

304 (comment)

https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565542678 , or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIFHZBOQAQBW5OOQ4J3XIIPS3ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

should work now

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565609857, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIEMXNWMYNYW366NDPTXII3M7ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

Auties00 commented 1 year ago

I am able to compile now. But the application is not showing the bar code anymore. It hangs and after 30 seconds it dies.

On Sat, May 27, 2023 at 1:35 PM Alessandro Autiero @.***> wrote:

still not working here.

On Sat, May 27, 2023 at 11:54 AM Alessandro Autiero < @.***> wrote:

I am getting this now: [ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.

> wrote: … <#m-4169878552150758207> I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) <#304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.> Can you try now? — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565478518>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @. **>

Maven central might not have gotten the update yet, wait 10/20 minutes

— Reply to this email directly, view it on GitHub

304 (comment)

https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565542678 , or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIFHZBOQAQBW5OOQ4J3XIIPS3ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

should work now

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565609857, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIEMXNWMYNYW366NDPTXII3M7ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

can you try to delete your old sessions also make sure you are using the latest commit

open-sudo commented 1 year ago

Here is what I do:

1) I deleted the maven repository ~/.m2/repository/ 2) Changed the whatsapp4j library version to 38.0.500 to make sure there is no possible conflict 3) Then build the library: mvn clean install -DskipTests 4) Added the new dependency to my project with version 38.0.500 5) Delete my target folder manually 6) Built my project: mvn clean package 7) Delete the whatsapp4j folder in home rm -rf ~/.whatsapp4j/ 8) Run my project Project get stuck at the stage where it should show the QR

Change the dependency back to 3.4.0 Redo the cleanup and build process Things work normally with 3.4.0

I tried this many times.

On Sat, May 27, 2023 at 3:33 PM Alessandro Autiero @.***> wrote:

I am able to compile now. But the application is not showing the bar code anymore. It hangs and after 30 seconds it dies.

On Sat, May 27, 2023 at 1:35 PM Alessandro Autiero @.***> wrote:

still not working here.

On Sat, May 27, 2023 at 11:54 AM Alessandro Autiero < @.***> wrote:

I am getting this now: [ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.

> wrote: … <#m-4169878552150758207> I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.> Can you try now? — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565478518>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @. **>

Maven central might not have gotten the update yet, wait 10/20 minutes

— Reply to this email directly, view it on GitHub

304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment)

304 (comment)

https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565542678 , or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIFHZBOQAQBW5OOQ4J3XIIPS3ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

should work now

— Reply to this email directly, view it on GitHub

304 (comment)

https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565609857 , or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIEMXNWMYNYW366NDPTXII3M7ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

can you try to delete your old sessions also make sure you are using the latest commit

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565658583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6PLIA6TAGO4LPYORYAONTXIJJITANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

Auties00 commented 1 year ago

can you show me your code, I'll also check if maybe i missed something on the repo asap

On Sat, May 27, 2023, 21:46 open-sudo @.***> wrote:

Here is what I do:

1) I deleted the maven repository ~/.m2/repository/ 2) Changed the whatsapp4j library version to 38.0.500 to make sure there is no possible conflict 3) Then build the library: mvn clean install -DskipTests 4) Added the new dependency to my project with version 38.0.500 5) Delete my target folder manually 6) Built my project: mvn clean package 7) Delete the whatsapp4j folder in home rm -rf ~/.whatsapp4j/ 8) Run my project Project get stuck at the stage where it should show the QR

Change the dependency back to 3.4.0 Redo the cleanup and build process Things work normally with 3.4.0

I tried this many times.

On Sat, May 27, 2023 at 3:33 PM Alessandro Autiero @.***> wrote:

I am able to compile now. But the application is not showing the bar code anymore. It hangs and after 30 seconds it dies.

On Sat, May 27, 2023 at 1:35 PM Alessandro Autiero @.***> wrote:

still not working here.

On Sat, May 27, 2023 at 11:54 AM Alessandro Autiero < @.***> wrote:

I am getting this now: [ERROR] Plugin com.github.auties00:protobuf-serialization-plugin:2.0.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 (absent): com.github.auties00:protobuf-serialization-plugin:jar:2.0.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] On Sat, May 27, 2023 at 11:07 AM Alessandro Autiero < @.

*> wrote: … <#m-4169878552150758207> I am building the original Whatsapp4j project. None of my dependencies is involved. git clone https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git https://github.com/Auties00/Whatsapp4j.git cd Whatsapp4j maven clean package … <#m2626908554068669879> On Sat, May 27, 2023 at 8:47 AM Alessandro Autiero @.> wrote: it's a version conflict, one of your dependencies is using an older version of Jackson — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) < https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565396979

, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIANRMMGR22LIXUH5SLXIHZW5ANCNFSM6AAAAAAYREHM2A

. You are receiving this because you authored the thread.Message ID: @.> Can you try now? — Reply to this email directly, view it on GitHub <#304 https://github.com/Auties00/Whatsapp4j/issues/304 #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment) #304 (comment) < https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565478518

, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A

https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A < https://github.com/notifications/unsubscribe-auth/AO6PLIDTNOIMQQAGOP4JSQLXIIKEDANCNFSM6AAAAAAYREHM2A

. You are receiving this because you authored the thread.Message ID: @.* **>

Maven central might not have gotten the update yet, wait 10/20 minutes

— Reply to this email directly, view it on GitHub

304 https://github.com/Auties00/Whatsapp4j/issues/304 (comment)

304 (comment)

< https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565542678> , or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIFHZBOQAQBW5OOQ4J3XIIPS3ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

should work now

— Reply to this email directly, view it on GitHub

304 (comment)

< https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565609857> , or unsubscribe

https://github.com/notifications/unsubscribe-auth/AO6PLIEMXNWMYNYW366NDPTXII3M7ANCNFSM6AAAAAAYREHM2A . You are receiving this because you authored the thread.Message ID: @.***>

can you try to delete your old sessions also make sure you are using the latest commit

— Reply to this email directly, view it on GitHub < https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565658583 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AO6PLIA6TAGO4LPYORYAONTXIJJITANCNFSM6AAAAAAYREHM2A

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Whatsapp4j/issues/304#issuecomment-1565660619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXJIWNP7OMDKZY5CUTTZTDXIJK2TANCNFSM6AAAAAAYREHM2A . You are receiving this because you commented.Message ID: @.***>

open-sudo commented 1 year ago

Here is a simple project that reproduces the issue: https://github.com/kubecutle/reproducer.git. If I change pom version to 3.4.0, everything works as expected. if you build the main branch with version 38.0.500, app starts but does not show the QR code.

Auties00 commented 1 year ago

the latest commit should fix this error, please lmk

Auties00 commented 1 year ago

Tracking in https://github.com/Auties00/Cobalt/issues/289