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.

Are there any plans to update to kotlin 1.3.72? https://github.com/streem/pbandk/blob/1b7205c68ff86e1fe6eb68fcf7f506109c287fe8/buildSrc/src/main/kotlin/Versions.kt#L2

I am experiencing issues after I upgraded to koltin to 1.3.72 in my project.

java.lang.NoSuchMethodError: kotlinx.serialization.json.JsonConfiguration.copy$default(Lkotlinx/serialization/json/JsonConfiguration;ZZZZZLjava/lang/String;ZLjava/lang/String;Lkotlinx/serialization/UpdateMode;ILjava/lang/Object;)Lkotlinx/serialization/json/JsonConfiguration;

	at pbandk.Message$DefaultImpls.jsonMarshal(Message.kt:11)
	at com.generated.analytics.model.AppAnalyticsEvent.jsonMarshal(app.kt:35)
	at com.analytics.rapidfire.retrofit.pbandk.ConverterFactoryTest.ResponseBodyConverter - given json content type, should return message(ConverterFactoryTest.kt:185)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sebleclerccommented, Apr 28, 2020

I will update Kotlin version to 1.3.72 in PR #29. It is currently using 1.3.71, so it shouldn’t be of any problem.

1reaction
garypcommented, Apr 25, 2020

Hi @aminghadersohi. PR https://github.com/streem/pbandk/pull/29 that adds Kotlin/Native support is also updating pbandk to Kotlin 1.3.72. That will probably get merged in the next couple weeks and included in pbandk 0.9.0.

I believe the cause of your problem is that your project is using Kotlin 1.3.72 but pbandk depends on kotlinx.serialization 0.14.0. The kotlinx.serialization library has a tight dependency to the version of Kotlin used. So kotlinx.serialization 0.14.0 only works with Kotlin 1.3.6x, whereas you need kotlinx.serialization 0.20.0 if you’re using Kotlin 1.3.7x.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kotlin releases
Release details ; 1.7.20. Released: September 29, 2022. Release on GitHub. An incremental release with new language features, the support for several compiler ......
Read more >
org.jetbrains.kotlin : kotlin-gradle-plugin : 1.3.72 - Maven Central
Source code, https://github.com/JetBrains/kotlin. Developers. Kotlin Team , JetBrains. org.jetbrains.kotlin:kotlin-gradle-plugin 1.3.72. content_copy.
Read more >
org.jetbrains.kotlin » kotlin-gradle-plugin » 1.3.72
Kotlin Gradle Plugin » 1.3.72 ; jar (3.5 MB) View All · CentralKotlin DevMulesoft · #847 in MvnRepository (See Top Artifacts) · 504...
Read more >
Compatibility issue with Kotlin 1.3.72 #813 - GitHub
0 and Kotlin version 1.3.72 : java.lang.AbstractMethodError: Receiver class org.jetbrains.kotlinx.serialization.compiler.extensions.
Read more >
Kotlin 1.3.72 and 1.4-M1 are not available for Android Studio ...
That is very inconvenient as I'm using OptIn in many places in my Kotlin 1.3.72 project (with the IDE plugin currently stuck at...
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