[
https://issues.apache.org/jira/browse/LENS-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375387#comment-14375387
]
Amareshwari Sriramadasu commented on LENS-331:
----------------------------------------------
NPE is because of missing acquire in the session. Test failures are
intermittent because if the thread acquired session because of an earlier call,
it was passing.
> TestLensDimensionTableCommands.testDimTableCommands failed in jenkins in one
> of the runs
> ----------------------------------------------------------------------------------------
>
> Key: LENS-331
> URL: https://issues.apache.org/jira/browse/LENS-331
> Project: Apache Lens
> Issue Type: Bug
> Components: client, test
> Reporter: Amareshwari Sriramadasu
>
> Here is a failure -
> https://builds.apache.org/job/Lens-Commit/org.apache.lens$lens-cli/378/testReport/junit/org.apache.lens.cli/TestLensDimensionTableCommands/testDimTableCommands/
> Exception in test :
> {noformat}
> Caused by: java.lang.NullPointerException
> at
> org.apache.lens.cube.metadata.CubeMetastoreClient.getInstance(CubeMetastoreClient.java:81)
> at
> org.apache.lens.server.session.LensSessionImpl.getCubeMetastoreClient(LensSessionImpl.java:151)
> at
> org.apache.lens.server.metastore.CubeMetastoreServiceImpl.getClient(CubeMetastoreServiceImpl.java:55)
> at
> org.apache.lens.server.metastore.CubeMetastoreServiceImpl.getStorageOfDim(CubeMetastoreServiceImpl.java:618)
> at
> org.apache.lens.server.metastore.MetastoreResource.getStorageOfDim(MetastoreResource.java:1274)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)