question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependencies broken since 4.4.0-beta.8

See original GitHub issue

Trying out ‘4.4.0-beta.8’

Execution failed for task ':compileTestJava'.
> Could not resolve all files for configuration ':testCompileClasspath'.
   > Could not find com.michael-bull.kotlin-result:kotlin-result:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0-beta.8 > au.com.dius.pact:provider:4.4.0-beta.8
         project : > au.com.dius.pact.provider:junit5:4.4.0-beta.8 > au.com.dius.pact.core:pactbroker:4.4.0-beta.8
   > Could not find io.github.microutils:kotlin-logging-jvm:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0-beta.8 > au.com.dius.pact.core:support:4.4.0-beta.8
   > Could not find com.michael-bull.kotlin-result:kotlin-result-jvm:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0-beta.8 > au.com.dius.pact.core:support:4.4.0-beta.8
   > Could not find io.github.microutils:kotlin-logging:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0-beta.8 > au.com.dius.pact.core:pactbroker:4.4.0-beta.8

Trying out ‘4.4.0’

Execution failed for task ':compileTestJava'.
> Could not resolve all files for configuration ':testCompileClasspath'.
   > Could not find com.michael-bull.kotlin-result:kotlin-result:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0 > au.com.dius.pact:provider:4.4.0
         project : > au.com.dius.pact.provider:junit5:4.4.0 > au.com.dius.pact.core:pactbroker:4.4.0
   > Could not find io.github.microutils:kotlin-logging-jvm:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0 > au.com.dius.pact.core:support:4.4.0
   > Could not find com.michael-bull.kotlin-result:kotlin-result-jvm:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0 > au.com.dius.pact.core:support:4.4.0
   > Could not find io.github.microutils:kotlin-logging:.
     Required by:
         project : > au.com.dius.pact.provider:junit5:4.4.0 > au.com.dius.pact.core:pactbroker:4.4.0

No problems with ‘4.4.0-beta.7’

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
MahatmaFatalErrorcommented, Dec 6, 2022

I am facing the same issue as @mu2in

* What went wrong:
Execution failed for task ':my-service-pact:compileTestJava'.
> Could not resolve all files for configuration ':my-service-pact:testCompileClasspath'.
   > Could not resolve au.com.dius.pact.consumer:junit5:4.4.2.
     Required by:
         project :my-service-pact
      > Could not resolve au.com.dius.pact.consumer:junit5:4.4.2.
         > Failed to add into filestore '/home/gradle/.gradle/caches/modules-2/metadata-2.97/descriptors' at 'au.com.dius.pact.consumer/junit5/4.4.2/39b9944dde76b5f9987586cd566e2325/descriptor.bin' 
            > java.lang.NullPointerException (no error message)
      > Could not resolve au.com.dius.pact.consumer:junit5:4.4.2.
         > Failed to add into filestore '/home/gradle/.gradle/caches/modules-2/metadata-2.97/descriptors' at 'au.com.dius.pact.consumer/junit5/4.4.2/a8be1fe3b3911d3d3425fe720cf42835/descriptor.bin' 
            > java.lang.NullPointerException (no error message)
   > Could not resolve au.com.dius.pact.provider:junit5:4.4.2.
     Required by:
         project :my-service-pact
      > Could not resolve au.com.dius.pact.provider:junit5:4.4.2.
         > Failed to add into filestore '/home/gradle/.gradle/caches/modules-2/metadata-2.97/descriptors' at 'au.com.dius.pact.provider/junit5/4.4.2/39b9944dde76b5f9987586cd566e2325/descriptor.bin' 
            > java.lang.NullPointerException (no error message)
      > Could not resolve au.com.dius.pact.provider:junit5:4.4.2.
         > Failed to add into filestore '/home/gradle/.gradle/caches/modules-2/metadata-2.97/descriptors' at 'au.com.dius.pact.provider/junit5/4.4.2/a8be1fe3b3911d3d3425fe720cf42835/descriptor.bin' 
            > java.lang.NullPointerException (no error message)

Note that this issue only occurs in the jenkins ci pipeline. Locally it seems to work. Java 11.0.16 with gradle-7.1.1

EDIT: problem seems to be specific to the gradle version. After update to latest gradle(w) it works

2reactions
rholshausencommented, Nov 22, 2022

@WeronikaJargielo @artamonovkirill I have released 4.4.2 with the corrected dependency constraints for org.json:json and org.apache.httpcomponents.client5:httpclient5-fluent

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not resolve dependency · Issue #1289 - GitHub
You have dependency conflict (incorrect and potentially broken dependency) as it says, So try to to run the command with --force, or --legacy- ......
Read more >
How to fix dependencies / broken packages - Ask Ubuntu
0.0:i386 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)....
Read more >
How do I fix the npm UNMET PEER DEPENDENCY warning?
Oftentimes you can find breaking change about dependency like this. packageB v4.0.0-beta.0 BREAKING CHANGE package: requires packageA >= v4.0.0.
Read more >
you must install peer dependencies yourself Code Example
Install Peer Dependencies · npm WARN codelyzer@6.0.1 requires a peer of tslint@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies...
Read more >
Unity Hub Release Notes - Unity
After upgrading to new Hub versions, some users reported getting stuck in an infinite loading ... 3.3.0-beta.2. Sept. 8, 2022. Bug fixes &...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found