- Saved searches
- Use saved searches to filter your results more quickly
- java.lang.NoSuchMethodError: No direct method #137
- java.lang.NoSuchMethodError: No direct method #137
- Comments
- Saved searches
- Use saved searches to filter your results more quickly
- java.lang.NoSuchMethodError: No direct method #45
- java.lang.NoSuchMethodError: No direct method #45
- Comments
- Saved searches
- Use saved searches to filter your results more quickly
- Exception in thread «WindowsNativeRunloopThread» java.lang.NoSuchMethodError: #57
- Exception in thread «WindowsNativeRunloopThread» java.lang.NoSuchMethodError: #57
- Comments
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoSuchMethodError: No direct method #137
java.lang.NoSuchMethodError: No direct method #137
Comments
Hi,
i have an issue in android when i want to upload file there is an exception
An uncaught Exception occured on «pool-8-thread-1» thread.
java.lang.NoSuchMethodError: No direct method (Landroid/content/Context;Ljava/lang/String;)V in class Landroid/support/v4/app/NotificationCompat$Builder; or its super classes(declaration of ‘android.support.v4.app.NotificationCompat$Builder’ appears in /data/app/org.nativescript.xxx-1/base.apk)
at
net.gotev.uploadservice.UploadTask.createNotification(UploadTask.java:453)
at
net.gotevuploadservice.UploadTask.run(UploadTask.java:145)
at
java.util.concurrent.ThreadPoolExecuter.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
i already search for similar issues like this one but still has no successful attempt. Many said we should change in build.gradle
compileSdkVersion 26 buildToolsVersion '26.0.2' defaultConfig < minSdkVersion 17 targetSdkVersion 26 //ndk < // abiFilters "armeabi-v7a", "x86" //>> dependencies
my CLI Version is 3.4.0. My package.json
< "description": "NativeScript Application", "license": "SEE LICENSE IN ", "readme": "NativeScript Application", "repository": "", "nativescript": < "id": "org.nativescript.xxx", "tns-android": < "version": "3.4.2" >>, "dependencies": < "@angular/animations": "~5.2.0", "@angular/common": "~5.2.0", "@angular/compiler": "~5.2.0", "@angular/core": "~5.2.0", "@angular/forms": "~5.2.0", "@angular/http": "~5.2.0", "@angular/platform-browser": "~5.2.0", "@angular/platform-browser-dynamic": "~5.2.0", "@angular/router": "~5.2.0", "email-validator": "^1.1.1", "nativescript-angular": "~5.2.0", "nativescript-background-http": "^3.2.5", "nativescript-file-picker": "0.0.2", "nativescript-social-login": "^4.0.0", "nativescript-social-share": "^1.5.0", "nativescript-theme-core": "~1.0.4", "nativescript-ui-dataform": "^3.6.0", "nativescript-ui-listview": "^3.5.1", "nativescript-ui-sidedrawer": "^3.5.1", "reflect-metadata": "~0.1.8", "rxjs": "~5.5.2", "tns-core-modules": "~3.4.0", "tns-platform-declarations": "^4.0.0", "zone.js": "~0.8.2" >, "devDependencies": < "babel-traverse": "6.4.5", "babel-types": "6.4.5", "babylon": "6.4.5", "lazy": "1.0.11", "nativescript-dev-typescript": "~0.6.0", "typescript": "~2.6.2" >>
Any idea why and how to solve it?
The text was updated successfully, but these errors were encountered:
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoSuchMethodError: No direct method #45
java.lang.NoSuchMethodError: No direct method #45
Comments
When I run the test, I get:
Test failed to run to completion. Reason: 'Test run failed to complete. Expected 1 tests, received 0'. Check device logcat for details Test running failed: Test run failed to complete. Expected 1 tests, received 0. There was 1 failure: 1) ua.test.appv6.fullTests.tests.ArchiveTests java.lang.NoSuchMethodError: No direct method (ILjava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V in class Lkotlin/jvm/internal/FunctionReferenceImpl; or its super classes (declaration of 'kotlin.jvm.internal.FunctionReferenceImpl' appears in /data/app/ua.test.app-rNa52u8s63fXK_YUpb6k6Q==/base.apk!classes4.dex) at io.qameta.allure.kotlin.util.AnnotationUtils$getLabels$1.(Unknown Source:10) at io.qameta.allure.kotlin.util.AnnotationUtils.getLabels(AnnotationUtils.kt:85) at io.qameta.allure.kotlin.junit4.AllureJunit4.extractLabels(AllureJunit4.kt:114) at io.qameta.allure.kotlin.junit4.AllureJunit4.createTestResult(AllureJunit4.kt:159) at io.qameta.allure.kotlin.junit4.AllureJunit4.testStarted(AllureJunit4.kt:46) at org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) at org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) at org.junit.internal.runners.model.EachTestNotifier.fireTestStarted(EachTestNotifier.java:42) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:323) 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.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) 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 org.junit.runner.JUnitCore.run(JUnitCore.java:115) at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2189) FAILURES. Tests found: 1, Tests run: 1, Failures: 1
Logcat for details:
E: failed: ua.test.appv6.fullTests.tests.ArchiveTests E: ----- begin exception ----- E: java.lang.NoSuchMethodError: No direct method (ILjava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V in class Lkotlin/jvm/internal/FunctionReferenceImpl; or its super classes (declaration of 'kotlin.jvm.internal.FunctionReferenceImpl' appears in /data/app/ua.test.app-Odx6Cq3l4mb5QBS1gFGn-A==/base.apk!classes4.dex) at io.qameta.allure.kotlin.util.AnnotationUtils$getLabels$1.(Unknown Source:10) at io.qameta.allure.kotlin.util.AnnotationUtils.getLabels(AnnotationUtils.kt:85) at io.qameta.allure.kotlin.junit4.AllureJunit4.extractLabels(AllureJunit4.kt:114) at io.qameta.allure.kotlin.junit4.AllureJunit4.createTestResult(AllureJunit4.kt:159) at io.qameta.allure.kotlin.junit4.AllureJunit4.testStarted(AllureJunit4.kt:46) at org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) at org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) at org.junit.internal.runners.model.EachTestNotifier.fireTestStarted(EachTestNotifier.java:42) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:323) 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.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) 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 org.junit.runner.JUnitCore.run(JUnitCore.java:115) at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56) at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:395) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2214) E: ----- end exception -----
testInstrumentationRunner "io.qameta.allure.android.runners.AllureAndroidJUnitRunner" . androidTestImplementation "io.qameta.allure:allure-kotlin-commons:$rootProject.properties.allureRunnerVersion" androidTestImplementation "io.qameta.allure:allure-kotlin-model:$rootProject.properties.allureRunnerVersion" androidTestImplementation "io.qameta.allure:allure-kotlin-android:$rootProject.properties.allureRunnerVersion" androidTestImplementation "io.qameta.allure:allure-kotlin-junit4:$rootProject.properties.allureRunnerVersion" /// kotlin_version = '1.3.72' . classpath 'com.android.tools.build:gradle:4.0.1' . allureRunnerVersion = '2.2.1'
Unfortunately, we ran out of ideas. I hope for your help. Thank you!
The effects of migration on allure-kotlin
The text was updated successfully, but these errors were encountered:
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread «WindowsNativeRunloopThread» java.lang.NoSuchMethodError: #57
Exception in thread «WindowsNativeRunloopThread» java.lang.NoSuchMethodError: #57
Comments
This issue happens when running the non-modular sample for IntelliJ when running gradle run inside IntelliJ.
JDK 12 (AdoptOpenJDK 12.0.2 with HotSpot)
Exception in thread "WindowsNativeRunloopThread" java.lang.NoSuchMethodError: at javafx.graphics/com.sun.glass.ui.win.WinApplication.staticScreen_getScreens(Native Method) at javafx.graphics/com.sun.glass.ui.Screen.initScreens(Screen.java:412) at javafx.graphics/com.sun.glass.ui.Application.lambda$run$1(Application.java:152) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174) at java.base/java.lang.Thread.run(Thread.java:835) Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at javafx.graphics/com.sun.prism.d3d.D3DPipeline.getAdapterOrdinal(D3DPipeline.java:205) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.assignScreensAdapters(QuantumToolkit.java:738) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runToolkit(QuantumToolkit.java:334) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$startup$10(QuantumToolkit.java:279) at javafx.graphics/com.sun.glass.ui.Application.lambda$run$1(Application.java:153) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174) at java.base/java.lang.Thread.run(Thread.java:835)
My guess is that the DLLs included in the platform dependencies are not getting loaded for some reason.
Edit: I have also created an issue on IntelliJ IDEA’s bug tracker just in case the issue comes from their end https://youtrack.jetbrains.com/issue/IDEA-219912
The text was updated successfully, but these errors were encountered: