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

NPE after deploy incorrect VDB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 11.1
    • 11.1
    • Dialogs
    • None

    Description

      I have VDB (f.e. with user defined function in the attachment) but a table is incorrect (missing data type after insert SQL transformation). I didn't notice that so I wanted to deploy vdb. But when I clicked on the deploy button, nothing happened. In the error log was this error:

      java.lang.NullPointerException
      	at org.teiid.runtime.client.admin.v8.VdbCacheManager.doDeploy(VdbCacheManager.java:398)
      	at org.teiid.runtime.client.admin.v8.VdbCacheManager.deploy(VdbCacheManager.java:379)
      	at org.teiid.runtime.client.admin.ExecutionAdmin.deployVdb(ExecutionAdmin.java:180)
      	at org.teiid.designer.runtime.TeiidServer.deployVdb(TeiidServer.java:626)
      	at org.teiid.designer.runtime.ui.vdb.VdbDeployer.deploy(VdbDeployer.java:318)
      	at org.teiid.designer.runtime.ui.actions.DeployVdbAction$1.run(DeployVdbAction.java:330)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      

      I think that designer should show some error or something that VDB is not valid.

      Attachments

        1. screenshot.png
          screenshot.png
          491 kB
        2. udfProject.zip
          57 kB

        Activity

          People

            blafond Barry LaFond
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: