You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhen Li (Jira)" <ji...@apache.org> on 2023/02/14 05:35:00 UTC
[jira] [Updated] (SPARK-42429) IntelliJ Build issue: value getArgument is not a member of org.mockito.invocation.InvocationOnMock
[ https://issues.apache.org/jira/browse/SPARK-42429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhen Li updated SPARK-42429:
----------------------------
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.
was:
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.
{{}}
> IntelliJ Build issue: value getArgument is not a member of org.mockito.invocation.InvocationOnMock
> --------------------------------------------------------------------------------------------------
>
> Key: SPARK-42429
> URL: https://issues.apache.org/jira/browse/SPARK-42429
> Project: Spark
> Issue Type: Improvement
> Components: Build
> Affects Versions: 3.2.4
> Reporter: Zhen Li
> Priority: Trivial
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org