You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Marek Malevič (JIRA)" <ji...@apache.org> on 2015/05/20 09:37:00 UTC
[jira] [Commented] (LENS-399) TestRewriting test is failing with
powermock incompatibility with jdk8
[ https://issues.apache.org/jira/browse/LENS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551945#comment-14551945 ]
Marek Malevič commented on LENS-399:
------------------------------------
I had the same issue in my code and the problem was in old javassist. Upgrade helped:
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.19.0-GA</version>
</dependency>
> TestRewriting test is failing with powermock incompatibility with jdk8
> ----------------------------------------------------------------------
>
> Key: LENS-399
> URL: https://issues.apache.org/jira/browse/LENS-399
> Project: Apache Lens
> Issue Type: Sub-task
> Components: build
> Reporter: Raju Bairishetti
> Assignee: Raju Bairishetti
> Fix For: 2.2
>
>
> Right now, TestRewriting is failing with the incompatible version of pwoermock on jdk8. We need to use latest version which is compatible for jdk8
> Current versions in lens:
> *<mockito.version>1.8.5</mockito.version>*
> *<powermock.version>1.4.12</powermock.version>*
> {noformat}
> An error occurred while instantiating class org.apache.lens.driver.cube.TestRewriting: Failed to transform class with name org.apache.lens.driver.cube.TestRewriting. Reason: java.io.IOException: invalid constant type: 18 at 1
> at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:398)
> at org.testng.internal.ClassHelper.createInstance(ClassHelper.java:299)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)