[
https://jira.jboss.org/browse/TEIIDDES-576?page=com.atlassian.jira.plugin...
]
Dan Florian resolved TEIIDDES-576.
----------------------------------
Resolution: Done
Problem was that the deploy status map was being cleared when preview was turned off.
Changed to just change the status flag "true" (needing to be deployed) for each
entry in the map.
NPE during Preview Data after turning Preview model off then back on
--------------------------------------------------------------------
Key: TEIIDDES-576
URL:
https://jira.jboss.org/browse/TEIIDDES-576
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview
Affects Versions: 7.1
Reporter: Barry LaFond
Assignee: Dan Florian
Priority: Blocker
Fix For: 7.1
1) Fresh workspace (Preview model = TRUE) and live Teiid server
2) Import Relational Model
3) Select Table and Preview Data
4) Turn Preview mode = FALSE
5) Turn Previfew Mode = TRUE
6) Preview Data with same table
7) Get NPE
Root exception:
java.lang.NullPointerException
at org.teiid.designer.runtime.preview.PreviewManager.getStatus(PreviewManager.java:633)
at
org.teiid.designer.runtime.preview.PreviewManager.needsToBeDeployed(PreviewManager.java:913)
at
org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1050)
at
com.metamatrix.modeler.internal.dqp.ui.actions.PreviewTableDataContextAction$1.run(PreviewTableDataContextAction.java:327)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira