[
https://issues.jboss.org/browse/TEIIDDES-1227?page=com.atlassian.jira.plu...
]
Dan Florian resolved TEIIDDES-1227.
-----------------------------------
Release Notes Text: Empty VDB in workspace at startup no longer causes exception.
Resolution: Done
Changed new VDB wizard to always create new VDBs with a vdb.xml entry. Also, if a 0 byte
VDB is found, it uses the VDB name to determine if the VDB is a preview VDB.
Exception starting Designer with Empty VDB
------------------------------------------
Key: TEIIDDES-1227
URL:
https://issues.jboss.org/browse/TEIIDDES-1227
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 7.6
Reporter: Barry LaFond
Assignee: Dan Florian
Fix For: 7.7
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira