AutoVue API Program Fails With java.lang.NullPointerException When Creating Markup on PDF File With Multiple Pages

(Doc ID 2266990.1)

Last updated on MAY 17, 2017

Applies to:

Oracle Autovue for Agile Product Lifecycle Management - Version 21.0.0 and later
Oracle AutoVue 2D Professional - Version 21.0.0 and later
Information in this document applies to any platform.


When running AutoVue API program to add text markup to PDF file with multiple pages, program fails unexpectedly with below error time to time:


  at javax.swing.text.FlowView$FlowStrategy.layoutRow(Unknown Source)
  at javax.swing.text.TextLayoutStrategy.layoutRow(Unknown Source)
  at javax.swing.text.FlowView$FlowStrategy.layout(Unknown Source)
  at javax.swing.text.TextLayoutStrategy.layout(Unknown Source)
  at javax.swing.text.FlowView.layout(Unknown Source)
  at javax.swing.text.BoxView.setSize(Unknown Source)
  at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
  at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
  at javax.swing.text.BoxView.layout(Unknown Source)
  at com.cimmetry.gui.swing.dw.layout(Unknown Source)
  at javax.swing.text.BoxView.setSize(Unknown Source)
  at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
  at javax.swing.plaf.basic.BasicTextUI.modelToView(Unknown Source)
  at javax.swing.plaf.basic.BasicTextUI.modelToView(Unknown Source)
  at javax.swing.text.JTextComponent.modelToView(Unknown Source)
  at com.cimmetry.gui.swing.dg.b(Unknown Source)
  at com.cimmetry.gui.swing.dg.a(Unknown Source)
  at com.cimmetry.gui.swing.dg.setText(Unknown Source)
  at com.cimmetry.gui.swing.dg.setText(Unknown Source)
  at com.cimmetry.markupbean.MarkupTextBox.setText(Unknown Source)
  at com.cimmetry.markupbean.MarkupText.setEntitySpec(Unknown Source)
  at com.cimmetry.markupbean.MarkupTextBox.setEntitySpec(Unknown Source)
  at com.cimmetry.markupbean.MarkupBean.addMarkupEntity(Unknown Source)

Steps to Reproduce

  1. Prepare PDF file with multiple pages
  2. Run AutoVue API program to add text markup to PDF file with multiple pages



Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms