Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-139144

TestViewModule/TestView.java:260: error: cannot find symbol

XMLWordPrintable

    • Android
    • 2025wk38s2QtforAndroid

      missing type arguments for generic class Class<T>
      where T is a type-variable:
      T extends Object declared in class Class
      /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qtquickview/signallistener/android-build-tst_qtquickview_signallistener/build/qt_generated/qml/android-build-tst_qtquickview_signallistener_qml/src/org/qtproject/qt/android/qtquickview_signallistener_qml/tst_qtquickview_signallistener_qml/TestViewModule/TestView.java:260: error: cannot find symbol
      invokeMethod("wipeSpies");
      ^
      symbol:   method invokeMethod(String)
      location: class TestView
      1 error
      1 warning
      [Incubating] Problems report is available at: file:///home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qtquickview/signallistener/android-build-tst_qtquickview_signallistener/build/qt_generated/qml/android-build-tst_qtquickview_signallistener_qml/build/reports/problems/problems-report.html
      FAILURE: Build failed with an exception.
      * What went wrong:
      Execution failed for task ':compileReleaseJavaWithJavac'.
      > Compilation failed; see the compiler output below.
      /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qtquickview/signallistener/android-build-tst_qtquickview_signallistener/build/qt_generated/qml/android-build-tst_qtquickview_signallistener_qml/src/org/qtproject/qt/android/qtquickview_signallistener_qml/tst_qtquickview_signallistener_qml/TestViewModule/TestView.java:253: warning: [rawtypes] found raw type: Class
      return connectSignalListener("manyTypeArgSignal", new Class[]\{ Integer.class, Boolean.class, Double.class, String.class }, signalListener);
      ^
      missing type arguments for generic class Class<T>
      where T is a type-variable:
      T extends Object declared in class Class
      /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/qtquickview/signallistener/android-build-tst_qtquickview_signallistener/build/qt_generated/qml/android-build-tst_qtquickview_signallistener_qml/src/org/qtproject/qt/android/qtquickview_signallistener_qml/tst_qtquickview_signallistener_qml/TestViewModule/TestView.java:260: error: cannot find symbol
      invokeMethod("wipeSpies");
      ^
      symbol:   method invokeMethod(String)
      location: class TestView
      1 error
      1 warning
      * Try:
      > Check your code and dependencies to fix the compilation error(s)
      > Run with --scan to get full insights.
      Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
      You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
      For more on this, please refer to https://docs.gradle.org/8.14.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
      BUILD FAILED in 6s
      
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/e52e36d0be4de070c26b46f3acbd2aeae4fb920e/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86GCCqtci-linux-RHEL-8.10-x86_64-51-5c5fabAndroidTestRun_GenerateSBOM_Packaging_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/34987770758f52a632caca686b069e0ef529d43a/test_1755115523/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1755115230

      Tested changes (refs/builds/qtci/dev/1755102842):
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/667911/2 Update dependencies on 'dev' in qt/qtdeclarative

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            assam Assam Boudjelthia
            janihe Jani Heikkinen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes