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

Cannot set JNDI name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 11.1
    • 11.1
    • Import/Export
    • None
      1. Import any project with model
      2. Set connection profile for this model ('set JNDI name window' appears after)

      When I imported a project and set connection profile, I am not able to set JNDI name. The OK button is still disabled (screenshot1). When I click on the Cancel, shows empty error window (screenshot2) and in the error log is:|

      <Missing message for key "SetConnectionInfo.exceptionMessage" in: org.teiid.designer.ui.i18n>
      java.lang.NullPointerException
      	at org.teiid.designer.core.util.JndiUtil.addJavaPrefix(JndiUtil.java:7)
      	at org.teiid.designer.ui.util.JndiNameHelper.setJNDINameInTxn(JndiNameHelper.java:99)
      	at org.teiid.designer.ui.util.JndiNameHelper.ensureJndiNameExists(JndiNameHelper.java:139)
      	at org.teiid.designer.runtime.ui.connection.SetJBossDataSourceNameAction.run(SetJBossDataSourceNameAction.java:67)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5252)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4522)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4107)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1044)
      	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)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      

        1. screenshot1.png
          160 kB
          Matej Kralik
        2. screenshot2.png
          164 kB
          Matej Kralik

              blafond Barry LaFond
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: