You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/05/20 05:21:12 UTC

[jira] [Created] (PHOENIX-2922) NPE when selecting from transactional table if transactions disabled

James Taylor created PHOENIX-2922:
-------------------------------------

             Summary: NPE when selecting from transactional table if transactions disabled 
                 Key: PHOENIX-2922
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2922
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor
             Fix For: 4.8.0


0: jdbc:phoenix:jtaylor-lt9.internal.salesfor> select * from tx1;
java.lang.NullPointerException
        at org.apache.tephra.TransactionContext.start(TransactionContext.java:91)
        at org.apache.phoenix.execute.MutationState.startTransaction(MutationState.java:419)
        at org.apache.phoenix.execute.MutationState.sendUncommitted(MutationState.java:1308)
        at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:277)
        at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:266)
        at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
        at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:265)
        at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1444)
        at sqlline.Commands.execute(Commands.java:822)
        at sqlline.Commands.sql(Commands.java:732)
        at sqlline.SqlLine.dispatch(SqlLine.java:807)
        at sqlline.SqlLine.begin(SqlLine.java:681)
        at sqlline.SqlLine.start(SqlLine.java:398)
        at sqlline.SqlLine.main(SqlLine.java:292)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)