1 Reply Latest reply on Jan 5, 2018 1:10 PM by Barry LaFond

    Teiid designer cause 'A parser for teiid instance version 10 is not available' when execute Preview Data

    kevinyjn kevinyjn Newbie

      How to fix it?

       

      Backtrace is:

      java.lang.IllegalStateException: A parser for teiid instance version 10 is not available

      at org.teiid.query.parser.QueryParser.createTeiidParser(QueryParser.java:76)

      at org.teiid.query.parser.QueryParser.<init>(QueryParser.java:60)

      at org.teiid.query.metadata.SystemMetadata.<init>(SystemMetadata.java:145)

      at org.teiid.query.metadata.SystemMetadata.getInstance(SystemMetadata.java:68)

      at org.teiid.query.function.metadata.FunctionMetadataValidator.validateFunctionMethods(FunctionMetadataValidator.java:72)

      at org.teiid.query.function.SystemFunctionManager.getSystemFunctions(SystemFunctionManager.java:77)

      at org.teiid.runtime.client.query.QueryService.createFunctionLibrary(QueryService.java:137)

      at org.teiid.designer.udf.UdfManager.getSystemFunctionLibrary(UdfManager.java:373)

      at org.teiid.query.ui.sqleditor.sql.SqlSyntax.init(SqlSyntax.java:93)

      at org.teiid.query.ui.sqleditor.sql.SqlSyntax.<init>(SqlSyntax.java:61)

      at org.teiid.query.ui.sqleditor.sql.SqlCompletionProcessor.<init>(SqlCompletionProcessor.java:39)

      at org.teiid.designer.transformation.ui.editors.sqleditor.SqlSourceViewerConfiguration.getContentAssistant(SqlSourceViewerConfiguration.java:67)

      at org.teiid.designer.transformation.ui.editors.sqleditor.SqlTextViewer.<init>(SqlTextViewer.java:84)

      at org.teiid.designer.runtime.ui.preview.PreviewDataInputDialog.createSqlGroup(PreviewDataInputDialog.java:190)

      at org.teiid.designer.runtime.ui.preview.PreviewDataInputDialog.createSQLPanel(PreviewDataInputDialog.java:176)

      at org.teiid.designer.runtime.ui.preview.PreviewDataInputDialog.createSQLTab(PreviewDataInputDialog.java:161)

      at org.teiid.designer.runtime.ui.preview.PreviewDataInputDialog.createDialogArea(PreviewDataInputDialog.java:133)

      at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)

      at org.teiid.designer.runtime.ui.preview.PreviewDataInputDialog.createContents(PreviewDataInputDialog.java:142)

      at org.eclipse.jface.window.Window.create(Window.java:426)

      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)

      at org.eclipse.jface.window.Window.open(Window.java:783)

      at org.teiid.designer.runtime.ui.preview.PreviewDataWorker.internalRun(PreviewDataWorker.java:350)

      at org.teiid.designer.runtime.ui.preview.PreviewDataWorker.run(PreviewDataWorker.java:209)

      at org.teiid.designer.runtime.ui.preview.PreviewDataAction.run(PreviewDataAction.java:60)

      at org.teiid.designer.advisor.ui.actions.AdvisorActionFactory.executeAction(AdvisorActionFactory.java:597)

      at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.launchGuidesAction(TeiidGuidesSection.java:281)

      at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection.access$1(TeiidGuidesSection.java:271)

      at org.teiid.designer.advisor.ui.views.guides.TeiidGuidesSection$4.doubleClick(TeiidGuidesSection.java:174)

      at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:831)

      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

      at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)

      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)

      at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:828)

      at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1459)

      at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1258)

      at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:249)

      at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:247)

      at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:306)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)

      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4258)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1502)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1525)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1510)

      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1314)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4082)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3699)

      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)

      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)

      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)

      at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)

      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)

      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)

      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)

      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)

      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)

      at org.eclipse.equinox.launcher.Main.run(Main.java:1499)