Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-42429

IntelliJ Build issue: value getArgument is not a member of org.mockito.invocation.InvocationOnMock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.2.4
    • 3.4.0
    • Build
    • None

    Description

      When running the tests with IntelliJ, sometime the error pops out:

       

      spark/sql/core/src/test/scala/org/apache/spark/sql/execution/command/PlanResolutionSuite.scala:149:18
      value getArgument is not a member of org.mockito.invocation.InvocationOnMock
      invocation.getArgument[Identifier](0).name match {

       

      It seems caused by some conflicts versioning of mockito in the IDE. 

      Attachments

        Activity

          People

            zhenli Zhen Li
            zhenli Zhen Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: