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

Exception starting Designer with Empty VDB

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.6
    • Fix Version/s: 7.7
    • Component/s: VDB & Execution
    • Labels:
      None
    • Release Notes Text:
      Empty VDB in workspace at startup no longer causes exception.

      Description

      Create project in workspace, create an EMPTY VDB, save and exit.

      Restart Designer and get following:

      !ENTRY org.teiid.designer.dqp 4 0 2012-01-25 10:45:42.647
      !MESSAGE An error deleting orphaned Preview VDBs in "Project_A" occurred.
      !STACK 0
      java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
      at com.metamatrix.core.modeler.CoreModelerPlugin.toRuntimeException(CoreModelerPlugin.java:75)
      at com.metamatrix.core.modeler.util.OperationUtil.perform(OperationUtil.java:48)
      at org.teiid.designer.vdb.VdbUtil.isPreviewVdb(VdbUtil.java:71)
      at org.teiid.designer.runtime.preview.PreviewManager.isPreviewVdb(PreviewManager.java:248)
      at org.teiid.designer.runtime.preview.PreviewManager.findPvdbs(PreviewManager.java:595)
      at org.teiid.designer.runtime.preview.PreviewManager.handleModelProjectOpened(PreviewManager.java:809)
      at org.teiid.designer.runtime.preview.PreviewManager.done(PreviewManager.java:422)
      at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
      at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
      at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
      at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
      at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71)
      Caused by: java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(ZipFile.java:127)
      at java.util.zip.ZipFile.<init>(ZipFile.java:88)
      at org.teiid.designer.vdb.VdbUtil$1.tryToDo(VdbUtil.java:88)
      at com.metamatrix.core.modeler.util.OperationUtil.perform(OperationUtil.java:38)
      ... 11 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                elvisisking Daniel Florian
                Reporter:
                blafond Barry LaFond
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: