NullPointerException occurs for some applications that use a JVMTuning configuration

NullPointerException occurs for some applications that use a JVMTuning configuration

book

Article ID: KB0074543

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.5.0 and earlier

Description

When attempting to start an application that uses a JVMTuning configuration (ref: https://docs.tibco.com/pub/str/10.5.0/doc/html/hocon/hocon-dtm-javaengine.html), the following exception occurs:
com.tibco.ep.dtm.runtime: System exception DSEBuiltin::ExceptionInvalidHandle caught when dispatching two way event,
 reason: 'java.lang.NullPointerException
        at com.tibco.ep.dtm.configuration.javaengine.UpdatingJavaEngineConfigCreator.toCreatorInfo(UpdatingJavaEngineConfigCreator.java:109)
        at com.tibco.ep.dtm.configuration.javaengine.UpdatingJavaEngineConfigCreator.<init>(UpdatingJavaEngineConfigCreator.java:64)
        at com.tibco.ep.dtm.configuration.javaengine.UpdatingJavaEngineConfigCreator.<init>(UpdatingJavaEngineConfigCreator.java:47)
        at com.tibco.ep.dtm.configuration.javaengine.JavaEngineConfigurationNotifier.$updateKDSImpl(JavaEngineConfigurationNotifier.java:306)
        at com.tibco.ep.dtm.configuration.javaengine.JavaEngineConfigurationNotifier.updateKDS(JavaEngineConfigurationNotifier.java)
        at com.tibco.ep.dtm.configuration.javaengine.JavaEngineConfigurationNotifier.$updateRuntimeSettingsImpl(JavaEngineConfigurationNotifier.java:230)
        at com.tibco.ep.dtm.configuration.javaengine.JavaEngineConfigurationNotifier.updateRuntimeSettings(JavaEngineConfigurationNotifier.java)
        at com.tibco.ep.dtm.configuration.javaengine.JavaEngineConfigurationNotifier.$auditActivateImpl(JavaEngineConfigurationNotifier.java:77)
        at com.tibco.ep.dtm.configuration.javaengine.JavaEngineConfigurationNotifier.auditActivate(JavaEngineConfigurationNotifier.java)
        at com.tibco.ep.streambase.configuration.sbengine.StreamBaseEngineConfigurationNotifier.$auditActivateImpl(StreamBaseEngineConfigurationNotifier.java:60)
        at com.tibco.ep.streambase.configuration.sbengine.StreamBaseEngineConfigurationNotifier.auditActivate(StreamBaseEngineConfigurationNotifier.java)

Issue/Introduction

NullPointerException occurs for some applications that use a JVMTuning configuration.

Resolution

This is a known defect in TIBCO Streaming 10.5.0 and earlier.  To work around this issue in 10.5.0 or earlier, remove the JVMTuning section in your engine configurations.  For details on the JVMTuning settings, refer to the Help under Home > Configuration Guide.