TIBCO ActiveMatrix BPM LogViewer throws a NullPointerException when trying to add log files through the File Manager.

TIBCO ActiveMatrix BPM LogViewer throws a NullPointerException when trying to add log files through the File Manager.

book

Article ID: KB0093677

calendar_today

Updated On:

Products Versions
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
Not Applicable -

Description

Description:
When Logviewer is launched and the Files menu option is selected to add log files, the Add File option is selected and a log file chosen. A NullPointerException is generated when trying to import the log.  An example of the exception is:

Stack trace:

java.lang.NullPointerException
        at com.tibco.n2.logging.logviewer.logsources.AbstractLogFileSource.<init>(AbstractLogFileSource.java:32)
        at com.tibco.n2.logging.logviewer.logsources.LogFileSource.<init>(LogFileSource.java:48)
        at com.tibco.n2.logging.logviewer.logsources.AbstractLogFileSource.create(AbstractLogFileSource.java:55)
        at com.tibco.n2.logging.logviewer.controllers.LoadOrEditFileController.closeOk(LoadOrEditFileController.java:58)
        at com.tibco.n2.logging.logviewer.views.GenericOkCancelDialog$1.actionPerformed(GenericOkCancelDialog.java:44)

Symptoms:
Unable to import log files into the File Manager. A NullPointerException error is generated.

Cause:
There is a product defect that will be corrected under JIRA WRM-7192

Issue/Introduction

TIBCO ActiveMatrix BPM LogViewer throws a NullPointerException when trying to add log files through the File Manager.

Resolution

The log files can be imported by dragging/dropping into the LogViewer, or a single log file can be imported using the -f option on the command line.