phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-3562) NPE from BaseTest#deletePriorSchemas() due to missing schema
Date Mon, 06 Feb 2017 18:20:42 GMT

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

Ted Yu updated PHOENIX-3562:
----------------------------
    Description: 
I was running SaltedIndexIT where I saw:
{code}
2376) testPartiallyQualifiedRVCInList[](org.apache.phoenix.end2end.QueryIT)
java.lang.NullPointerException
  at org.apache.phoenix.query.BaseTest.deletePriorSchemas(BaseTest.java:905)
  at org.apache.phoenix.query.BaseTest.deletePriorMetaData(BaseTest.java:938)
  at org.apache.phoenix.end2end.BaseClientManagedTimeIT.cleanUpAfterTest(BaseClientManagedTimeIT.java:59)
{code}
Here is related code:
{code}
                String schemaName = rs.getString(PhoenixDatabaseMetaData.TABLE_SCHEM);
                if (schemaName.equals(PhoenixDatabaseMetaData.SYSTEM_SCHEMA_NAME)) {
{code}

I checked the code in master branch. The issue is there as well.

  was:
I was running SaltedIndexIT where I saw:
{code}
2376) testPartiallyQualifiedRVCInList[](org.apache.phoenix.end2end.QueryIT)
java.lang.NullPointerException
  at org.apache.phoenix.query.BaseTest.deletePriorSchemas(BaseTest.java:905)
  at org.apache.phoenix.query.BaseTest.deletePriorMetaData(BaseTest.java:938)
  at org.apache.phoenix.end2end.BaseClientManagedTimeIT.cleanUpAfterTest(BaseClientManagedTimeIT.java:59)
{code}
Here is related code:
{code}
                String schemaName = rs.getString(PhoenixDatabaseMetaData.TABLE_SCHEM);
                if (schemaName.equals(PhoenixDatabaseMetaData.SYSTEM_SCHEMA_NAME)) {
{code}
I checked the code in master branch. The issue is there as well.


> NPE from BaseTest#deletePriorSchemas() due to missing schema
> ------------------------------------------------------------
>
>                 Key: PHOENIX-3562
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3562
>             Project: Phoenix
>          Issue Type: Test
>    Affects Versions: 4.7.0
>            Reporter: Ted Yu
>            Assignee: Kevin Liew
>            Priority: Minor
>
> I was running SaltedIndexIT where I saw:
> {code}
> 2376) testPartiallyQualifiedRVCInList[](org.apache.phoenix.end2end.QueryIT)
> java.lang.NullPointerException
>   at org.apache.phoenix.query.BaseTest.deletePriorSchemas(BaseTest.java:905)
>   at org.apache.phoenix.query.BaseTest.deletePriorMetaData(BaseTest.java:938)
>   at org.apache.phoenix.end2end.BaseClientManagedTimeIT.cleanUpAfterTest(BaseClientManagedTimeIT.java:59)
> {code}
> Here is related code:
> {code}
>                 String schemaName = rs.getString(PhoenixDatabaseMetaData.TABLE_SCHEM);
>                 if (schemaName.equals(PhoenixDatabaseMetaData.SYSTEM_SCHEMA_NAME)) {
> {code}
> I checked the code in master branch. The issue is there as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message