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

Exception in TeiidServerVersion parsing "8.4.1-redhat-7"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 8.3.4
    • 8.3.3
    • Teiid Integration
    • None

      Tried to preview against a DV6 V4 server version and received exceptions in TeiidServerVersion trying to parse "8.4.1-redhat-7" version string.

      This was fixed in 8.5 and needs to get back-ported to 8.3.4

      java.lang.NumberFormatException: For input string: "1-redhat-7"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:481)
      at java.lang.Integer.parseInt(Integer.java:514)
      at org.teiid.designer.runtime.version.spi.TeiidServerVersion.isLessThan(TeiidServerVersion.java:285)
      at org.teiid.datatools.connectivity.ConnectivityUtil.getTeiidDriverDefinitionId(ConnectivityUtil.java:100)
      at org.teiid.datatools.connectivity.ConnectivityUtil.createDriverProps(ConnectivityUtil.java:133)
      at org.teiid.datatools.connectivity.ConnectivityUtil.createTransientTeiidProfile(ConnectivityUtil.java:161)
      at org.teiid.designer.runtime.ui.preview.PreviewDataWorker.internalRun(PreviewDataWorker.java:388)
      at org.teiid.designer.runtime.ui.preview.PreviewDataWorker.run(PreviewDataWorker.java:261)
      at org.teiid.designer.runtime.ui.preview.PreviewTableDataContextAction.run(PreviewTableDataContextAction.java:99)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)

      GIT commit: https://github.com/Teiid-Designer/teiid-designer/commit/df52ff62ae4ff022ccf14dcb5b27ba0ef0ecbb1d

              blafond Barry LaFond
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: