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)

Reply via email to