My Oracle Support Banner

NullPointerException When Running the Powerflow Configuration Generator (Doc ID 2800806.1)

Last updated on SEPTEMBER 03, 2021

Applies to:

Oracle Network Management for Utilities - DMS - Version to [Release 2.5]
Oracle Utilities Network Management System - Version to [Release 2.5]
Information in this document applies to any platform.


On : version, Web Workspace

Enigneering work book errors

When attempting to generate Power Flow configuration using the workbook from, the Config Generator tool is getting NullPointerExceptions.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
  at nms.config.powerflow.Utilities.getDbPrimaryKey(
  at nms.config.powerflow.GenerateSqlData.parseSheet(
  at nms.config.powerflow.GenerateSqlData.generate(
  at nms.config.powerflow.GenerateSqlData.generate(
  at nms.config.powerflow.PowerFlowDataGenerator.generateConfigurationButtonActionPerformed(

The issue can be reproduced at will with the following steps:

1. Open an xterm to an NMS 2.5 system as the nms administrator
2. cd $NMS_BASE/bin
3. zip -r ~/ PowerFlowDataGenerator
4. transfer ~/ to a Windows desktop
5. unzip to the user's Desktop
6. Copy a PowerFlow workbook from a previous release onto the desktop
7. Open a cmd prompt in PowerFlowDataGenerator/bin
8. Run "java -jar -Xmx1024m PowerFlowDataGenerator.jar"
9. Observe the error(s)


Customer was upgrading from to


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Fix Description

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.