Auties00 / Cobalt

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

When I change A file,the ProtobufStubs.java can not correctly generated #276

Closed xianliu18 closed 1 year ago

xianliu18 commented 1 year ago

Hi Auties:

For example, when I change Version.java, I run "mvn package", then start the application.

Protobuf.java in writeMessage method, "Protobuf<?> encoder = new Protobuf(object.getClass());" will get "NullPointerException", because "propertiesMap" cannot find class,

ERROR MESSAGE: "no properties for it.auties.whatsapp.model.signal.auth.HandshakeMessage"

xianliu18 commented 1 year ago

When I update “maven.surefire.plugin.version” : 3.0.0-M9 and "maven.compiler.plugin.version: 3.10.1, that exception no longer occurs.