Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-3080

Teiid Connection Import throwing NumberFormatException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 10.1
    • Import/Export
    • None

      I'm trying to do a Teiid Connection Import. I already have a VDB deployed locally, so I select it and walk through the prompts. The screen where it actually does the work threw a NumberFormatException because the VDB I'm trying to import has a strange data field definition. All the BigDecimal fields have a precision of 0 and a scale of -127. Teiid Designer imported them like that for some reason.

      The negative symbol on the -127 is where it choked on. I pressed back and exported the DDL file to my workspace, did a search and replace of -127 to 0, then did a DDL import from my updated file. It worked that time around. Not sure if the DDL Import and the Teiid Connection Import are using the same lines of code (it looks like it might be though), so this might not be an accurate diagnosis.

      The bug can be why did it import -127, or why did it choke on the negative field.

            Unassigned Unassigned
            stran@redhat.com Steve Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: