You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "wangweiyi (JIRA)" <ji...@apache.org> on 2016/08/29 06:35:20 UTC

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

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

wangweiyi updated PHOENIX-2922:
-------------------------------
    Comment: was deleted

(was: how to set phoenix.transactions.enable=true from jdbc client side?)

> 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.9.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)