Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1130

NPE when using exportVDB from adminshell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0
    • 7.0
    • Server
    • None

      After deploying a VDB, I tried to export it and received an NPE.

      groovy:000> getVDBs()
      ===> [one.1[Parts_MySQL[Parts_MySQL/mysql/9cc74d93-435a-4b64-b81b-2e1f42ee15fb__monday_Parts_MySQL], SYS[SYS/SYS/SYS]], two.1[Parts_Oracle[Parts_Oracle/oracle/7fd04942-83de-4a84-a916-de398455e491__m1_Parts_Oracle], Parts_MySQL[Parts_MySQL/mysql/7fd04942-83de-4a84-a916-de398455e491__m1_Parts_MySQL], SYS[SYS/SYS/SYS]]]

      groovy:000> exportVDB("two",1,"two_v1.vdb")
      ERROR java.lang.NullPointerException:
      null
      at org.teiid.core.util.ObjectConverterUtil.write (ObjectConverterUtil.java:173)
      at org.teiid.core.util.ObjectConverterUtil.write (ObjectConverterUtil.java:158)
      at org.teiid.adminshell.AdminShell.writeFile (AdminShell.java:310)
      at org.teiid.adminshell.AdminShell.exportVDB (AdminShell.java:319)
      at org.teiid.adminshell.AdminShell$exportVDB.callStatic (Unknown Source)
      at groovysh_evaluate.run (groovysh_evaluate:3)

              rhn-engineering-shawkins Steven Hawkins
              pnittel_jira Paul Nittel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: