phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swaroopa Kadam (Jira)" <j...@apache.org>
Subject [jira] [Closed] (PHOENIX-5416) Fix Array2IT testArrayRefToLiteral
Date Tue, 27 Aug 2019 19:06:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-5416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Swaroopa Kadam closed PHOENIX-5416.
-----------------------------------

bulk closing of jiras after 4.14.3 release

> Fix Array2IT testArrayRefToLiteral
> ----------------------------------
>
>                 Key: PHOENIX-5416
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5416
>             Project: Phoenix
>          Issue Type: Test
>    Affects Versions: 4.15.0, 5.1.0, 4.14.3
>            Reporter: Thomas D'Silva
>            Assignee: Chinmay Kulkarni
>            Priority: Major
>             Fix For: 4.15.0, 5.1.0, 4.14.3
>
>         Attachments: PHOENIX-5416-master-v2.patch, PHOENIX-5416-master-v3.patch, PHOENIX-5416-master-v4.patch,
PHOENIX-5416-master.patch
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> {{Array2IT.testArrayRefToLiteral}} fails with an NPE
> {code}
> java.lang.NullPointerException
>  at org.apache.phoenix.schema.types.PArrayDataTypeDecoder.positionAtArrayElement(PArrayDataTypeDecoder.java:124)
>  at org.apache.phoenix.schema.types.PArrayDataTypeDecoder.positionAtArrayElement(PArrayDataTypeDecoder.java:45)
>  at org.apache.phoenix.expression.function.ArrayIndexFunction.evaluate(ArrayIndexFunction.java:64)
>  at org.apache.phoenix.util.ExpressionUtil.getConstantExpression(ExpressionUtil.java:72)
>  at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:348)
>  at org.apache.phoenix.compile.ProjectionCompiler$SelectClauseVisitor.visitLeave(ProjectionCompiler.java:717)
>  at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:1)
>  at org.apache.phoenix.parse.FunctionParseNode.accept(FunctionParseNode.java:87)
>  at org.apache.phoenix.compile.ProjectionCompiler.compile(ProjectionCompiler.java:425)
>  at org.apache.phoenix.compile.QueryCompiler.compileSingleFlatQuery(QueryCompiler.java:637)
>  at org.apache.phoenix.compile.QueryCompiler.compileSingleQuery(QueryCompiler.java:574)
>  at org.apache.phoenix.compile.QueryCompiler.compileSelect(QueryCompiler.java:203)
>  at org.apache.phoenix.compile.QueryCompiler.compile(QueryCompiler.java:157)
>  at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:497)
>  at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:1)
>  at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:303)
>  at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:1)
>  at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
>  at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:291)
>  at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:284)
>  at org.apache.phoenix.jdbc.PhoenixPreparedStatement.executeQuery(PhoenixPreparedStatement.java:193)
>  at org.apache.phoenix.end2end.Array2IT.testArrayRefToLiteral(Array2IT.java:682)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>  at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
>  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>  at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>  at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89)
>  at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
>  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541)
>  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
>  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
>  at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message