[
https://issues.jboss.org/browse/TEIIDDES-1887?page=com.atlassian.jira.plu...
]
Mark Drilling resolved TEIIDDES-1887.
-------------------------------------
Fix Version/s: 8.3
Resolution: Done
- added null checks at failure points from stacktraces.
pull request:
https://github.com/Teiid-Designer/teiid-designer/pull/255
Deploy and execute VDB throws exceptions if no server is defined
----------------------------------------------------------------
Key: TEIIDDES-1887
URL:
https://issues.jboss.org/browse/TEIIDDES-1887
Project: Teiid Designer
Issue Type: Feature Request
Affects Versions: 8.2
Environment: Teiid Designer 8.2.0.Final, JBDS 7.0.0.GA, jdk 1.7
Reporter: Lucie Fabrikova
Assignee: Mark Drilling
Priority: Minor
Fix For: 8.3
If no server is defined, deploy or execution of VDB causes an exception.
- rght click VDB: Modeling -> Deploy
Unhandled event loop exception
Caused by: java.lang.NullPointerException
at
org.teiid.designer.runtime.ui.actions.DeployVdbAction.checkForConnectedServer(DeployVdbAction.java:221)
at org.teiid.designer.runtime.ui.actions.DeployVdbAction.run(DeployVdbAction.java:125)
- rght click VDB: Modeling -> Execute
java.lang.NullPointerException
at
org.teiid.designer.runtime.ui.actions.ExecuteVDBAction.checkForConnectedServer(ExecuteVDBAction.java:127)
at org.teiid.designer.runtime.ui.actions.ExecuteVDBAction.run(ExecuteVDBAction.java:95)
- execute VDB via Guides view:
java.lang.NullPointerException
at
org.teiid.designer.runtime.ui.vdb.ExecuteVdbAction.checkForConnectedServer(ExecuteVdbAction.java:88)
at org.teiid.designer.runtime.ui.vdb.ExecuteVdbAction.run(ExecuteVdbAction.java:60)
at
org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:556)
at
org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.launchGuidesAction(TeiidGuidesSection.java:252)
at
org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.access$1(TeiidGuidesSection.java:244)
at
org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection$3.doubleClick(TeiidGuidesSection.java:153)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira