Auties00 / WhatsappWebRequestAnalyzer

Browser based tool built to decrypt any request sent or received by WhatsappWeb's WebClient for WhatsappWeb4j
32 stars 17 forks source link

The newly installed MVN still reports errors #7

Closed kenuoseclab closed 2 years ago

kenuoseclab commented 2 years ago

[INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running it.auties.whatsapp4j.test.ci.WhatsappCredentialsTest 11月 23, 2021 9:05:20 下午 it.auties.whatsapp4j.test.ci.WhatsappCredentialsTest updateCredentials 信息: Updating credentials... [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.431 s <<< FAILURE! - in it.auties.whatsapp4j.test.ci.WhatsappCredentialsTest [ERROR] it.auties.whatsapp4j.test.ci.WhatsappCredentialsTest.updateCredentials Time elapsed: 0.419 s <<< ERROR! java.lang.NullPointerException: Missing credentials at whatsapp4j@2.2.3-SNAPSHOT/it.auties.whatsapp4j.test.ci.WhatsappCredentialsTest.updateCredentials(WhatsappCredentialsTest.java:20)

[INFO] Running it.auties.whatsapp4j.test.ci.WhatsappTest 11月 23, 2021 9:05:20 下午 it.auties.whatsapp4j.test.ci.WhatsappTest createApi 信息: Initializing api to start testing... 11月 23, 2021 9:05:20 下午 it.auties.whatsapp4j.test.ci.WhatsappTest createApi 信息: Detected local environment 11月 23, 2021 9:05:20 下午 it.auties.whatsapp4j.test.ci.WhatsappTest loadConfig 信息: Loading configuration file... [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.048 s <<< FAILURE! - in it.auties.whatsapp4j.test.ci.WhatsappTest [ERROR] it.auties.whatsapp4j.test.ci.WhatsappTest Time elapsed: 0.048 s <<< ERROR! java.lang.IllegalArgumentException: Before running any unit test please create a config file at C:\Users\Testing\Desktop\WhatsappWeb4j.test\config.properties at whatsapp4j@2.2.3-SNAPSHOT/it.auties.whatsapp4j.test.ci.WhatsappTest.loadConfig(WhatsappTest.java:82) at whatsapp4j@2.2.3-SNAPSHOT/it.auties.whatsapp4j.test.ci.WhatsappTest.init(WhatsappTest.java:58)

[INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] WhatsappCredentialsTest.updateCredentials:20 ? NullPointer Missing credentials [ERROR] WhatsappTest.init:58->loadConfig:82 ? IllegalArgument Before running any unit ... [INFO] [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.423 s [INFO] Finished at: 2021-11-23T21:05:21+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project whatsappweb4j: There are test failures. [ERROR] [ERROR] Please refer to C:\Users\Testing\Desktop\WhatsappWeb4j\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

C:\Users\Testing\Desktop\WhatsappWeb4j>