TIBCO Business Connect Log Viewer throws 'java.lang.NullPointerException' when clicked

TIBCO Business Connect Log Viewer throws 'java.lang.NullPointerException' when clicked

book

Article ID: KB0076429

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect 7.0.0

Description

If you are not able to view the Business Connect Log Viewer and getting following error when you click on the BusinessConnect Log Viewer,the steps mentioned in the resolution may help to overcome this error
<<<<<
2020 Jan 08 23:55:07:902 GMT -0800 Error [Administrator] AESDKJ-0000 [http-bio-49080-exec-64]  java.lang.NullPointerException
    at com.tibco.ax.fw.db.LogViewImpl.<init>(LogViewImpl.java:80)
    at com.tibco.ax.fw.db.DbAccessFactory.getLogViewHandle(DbAccessFactory.java:576)
    at com.tibco.ax.gui.bcwebadmin.consoles.logviewer.TLogsCollectionPane.initLogEntityAdapters(TLogsCollectionPane.java:138)
    at com.tibco.ax.gui.bcwebadmin.consoles.logviewer.TLogsCollectionPane.init(TLogsCollectionPane.java:80)
    at com.tibco.ax.gui.bcwebadmin.consoles.logviewer.TLogsCollectionPane.refresh(TLogsCollectionPane.java:105)
    at com.tibco.administrator.ConsoleContentPane.showEntityList(ConsoleContentPane.java:41)
    at com.tibco.ax.gui.bcwebadmin.consoles.logviewer.TLogsConsolePane.<init>(TLogsConsolePane.java:21)
    at com.tibco.ax.gui.bcwebadmin.consoles.logviewer.TLogsConsole.createConsoleContentPane(TLogsConsole.java:42)
    at com.tibco.administrator.AbstractConsole.getConsolePane(AbstractConsole.java:88)
    at com.tibco.administrator.ConsoleFrame.setConsole(ConsoleFrame.java:27)
    at com.tibco.administrator.ApplicationFrame$ApplicationFrameset$ConsoleFrameset.showConsole(ApplicationFrame.java:178)
    at com.tibco.administrator.ConsoleSelectorPane.setCurrentConsole(ConsoleSelectorPane.java:156)
    at com.tibco.ax.gui.bcwebadmin.consoles.main.BCFolderListPane$2.actionPerformed(BCFolderListPane.java:67)
    at com.tibco.administrator.EntityCollectionViewer.notifyEntityClickListeners(EntityCollectionViewer.java:343)
    at com.tibco.administrator.EntityCollectionViewer$4.actionPerformed(EntityCollectionViewer.java:326)
    at com.tibco.wfc.AbstractComponent.notifyListeners(AbstractComponent.java:143)
    at com.tibco.wfc.AbstractComponent.fireActionPerformed(AbstractComponent.java:133)
    at com.tibco.wfc.AbstractComponent.processCommand(AbstractComponent.java:157)
    at com.tibco.wfc.AbstractFrame.processCommand(AbstractFrame.java:115)
    at com.tibco.wfc.FrameManager.a(FrameManager.java:259)
    at com.tibco.wfc.FrameManager.service(FrameManager.java:147)
    at com.tibco.administrator.AdministratorServlet.service(AdministratorServlet.java:958)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.tibco.administrator.AdministratorServletXSSFilter.doFilter(AdministratorServletXSSFilter.java:78)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.tibco.administrator.AdministratorServletFilter.doFilter(AdministratorServletFilter.java:56)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:748)
 >>>>>

Issue/Introduction

TIBCO Business Connect Log Viewer throws 'java.lang.NullPointerException' when clicked

Environment

All Environment

Resolution

This error can occur if the “Audit Log” database setting is not set to “None” inside “System Settings > Audit, Non-Repudiation and Runtime Database Configuration”.

Changing the 'None' that is selected in “Audit Log” database setting to correct "Database Connection" will resolve the issue.
 

Also for reference please see the attached error screenshot from admin GUI : LogViewerError.PNG

Attachments

TIBCO Business Connect Log Viewer throws 'java.lang.NullPointerException' when clicked get_app