Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8030

NullPointerException on getSchemas

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.13.1
    • Fix Version/s: None
    • Component/s: Database/Schema, JDBC
    • Labels:
    • Environment:

      Linux (Ubuntu 12.04)

    • Release Note:
      Fix for NullPointerException on getSchemas

      Description

      java.lang.NullPointerException
      at java.util.ArrayList.<init>(ArrayList.java:164)
      at org.apache.hadoop.hive.jdbc.HiveMetaDataResultSet.<init>(HiveMetaDataResultSet.java:32)
      at org.apache.hadoop.hive.jdbc.HiveDatabaseMetaData$3.<init>(HiveDatabaseMetaData.java:482)
      at org.apache.hadoop.hive.jdbc.HiveDatabaseMetaData.getSchemas(HiveDatabaseMetaData.java:481)
      at org.apache.hadoop.hive.jdbc.HiveDatabaseMetaData.getSchemas(HiveDatabaseMetaData.java:476)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$DatabaseMetaDataInvocationHandler.invoke(DriverProxyInvocationChain.java:368)
      at com.sun.proxy.$Proxy20.getSchemas(Unknown Source)
      at org.pentaho.di.core.database.Database.getSchemas(Database.java:3857)
      at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.getSchemaNames(TableOutputDialog.java:1036)
      at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.access$2400(TableOutputDialog.java:94)
      at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog$24.widgetSelected(TableOutputDialog.java:863)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.open(TableOutputDialog.java:884)
      at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:124)
      at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8648)
      at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3020)
      at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:737)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1297)
      at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7801)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9130)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:638)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.pentaho.commons.launcher.Launcher.main(Launcher.java:151)

        Attachments

        1. Screenshot from 2014-09-15 01_57_41.png
          146 kB
          Shiv Prakash
        2. Screenshot from 2014-09-15 01_58_41.png
          177 kB
          Shiv Prakash
        3. Screenshot from 2014-09-15 01_59_18.png
          318 kB
          Shiv Prakash
        4. Screenshot from 2014-09-15 02_00_38.png
          181 kB
          Shiv Prakash

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shivps3003 Shiv Prakash
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: