Edit Activematrix Administrator Server Configuration wizard of TIBCO Configuration Tool ("TCT") fails with: java.lang.NullPointerException ("NPE").

Edit Activematrix Administrator Server Configuration wizard of TIBCO Configuration Tool ("TCT") fails with: java.lang.NullPointerException ("NPE").

book

Article ID: KB0092927

calendar_today

Updated On: 01-13-2017

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
TIBCO ActiveMatrix BusinessWorks Service Engine -

Description

Description:
When using TCT to Edit Activematrix Administrator Server Configuration, an NPE is thrown when hitting: "Configure" or "Save" options. 
Symptoms:
Check log files at <TIBCO_HOME>/tct/1.4/eclipse/configuration folder. The following stack trace can be found.
====
java.lang.NullPointerException
at com.tibco.tct.amx.utils.TPCLShellsUtils.isHSQL(TPCLShellsUtils.java:226)
at com.tibco.tct.admin.editor.AdminEditorSaveDataModelAction.setDBDriver(AdminEditorSaveDataModelAction.java:88)
at com.tibco.tct.admin.editor.AdminEditorSaveDataModelAction.processDBData(AdminEditorSaveDataModelAction.java:69)
at com.tibco.tct.admin.editor.AdminEditorSaveDataModelAction.prepareDataModel(AdminEditorSaveDataModelAction.java:30)
at com.tibco.tct.framework.actions.SaveDataModelAction.saveDataModel(SaveDataModelAction.java:71)
at com.tibco.tct.framework.internal.swt.TCTWizardDialog.savePressed(TCTWizardDialog.java:254)
at com.tibco.tct.framework.internal.swt.TCTWizardDialog.buttonPressed(TCTWizardDialog.java:187)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.tibco.tct.framework.support.TCTProcessor.process(TCTProcessor.java:74)
at com.tibco.customwizard.internal.CustomWizardApplication.start(CustomWizardApplication.java:23)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
============

Cause:
This issue may be caused by the JDBC driver for the Administrator database being deleted when uninstalling a product/hotfix from TIBCO_HOME.

Issue/Introduction

Edit Activematrix Administrator Server Configuration wizard of TIBCO Configuration Tool ("TCT") fails with: java.lang.NullPointerException ("NPE").

Environment

Product: TIBCO ActiveMatrix Service Grid Version: OS: All Supported Operating Systems -------------------- Product: TIBCO ActiveMatrix Service Bus Version: OS: All Supported Operating Systems -------------------- Product: TIBCO ActiveMatrix BusinessWorks Service Engine Version: OS: All Supported Operating Systems -------------------- Product: TIBCO ActiveMatrix BPM Version: OS: All Supported Operating Systems --------------------

Resolution

Reconfigure the JDBC driver for the Administrator database using TCT -> Configure Third-Party Driver option. 

Additional Information