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 2.5.0.0.0 to 2.5.0.1.0 [Release 2.5]
Oracle Utilities Network Management System - Version 2.5.0.0.0 to 2.5.0.1.0 [Release 2.5]
Information in this document applies to any platform.

Symptoms

On : 2.5.0.0.0 version, Web Workspace

Enigneering work book errors

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


Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
  at nms.config.powerflow.Utilities.getDbPrimaryKey(Utilities.java:244)
  at nms.config.powerflow.GenerateSqlData.parseSheet(GenerateSqlData.java:57)
  at nms.config.powerflow.GenerateSqlData.generate(GenerateSqlData.java:145)
  at nms.config.powerflow.GenerateSqlData.generate(GenerateSqlData.java:112)
  at nms.config.powerflow.PowerFlowDataGenerator.generateConfigurationButtonActionPerformed(PowerFlowDataGenerator.java:489)
...




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 ~/pfdata.zip PowerFlowDataGenerator
4. transfer ~/pfdata.zip to a Windows desktop
5. unzip pfdata.zip 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)

Changes

Customer was upgrading from 2.4.0.1 to 2.5.0.1.

Cause

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
Symptoms
Changes
Cause
Solution
 Fix Description
 Migration
References


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