My Oracle Support Banner

R12: AP: Supplier Error Page “java.lang.NullPointerException..at oracle.apps.fnd.flexj.DescriptiveFlexfield.setContext” When Trying To Access Address Book – Manage Sites - Descriptive Flexfields (Doc ID 2986855.1)

Last updated on NOVEMBER 17, 2023

Applies to:

Oracle Payables - Version 12.2.12 and later
Information in this document applies to any platform.

Symptoms

 Upgrade application version from 11i to 12.2.12.

A new setup was made for Supplier Sites,  new Descriptive Flexfields were added:

  1. Go to Payables responsibility - Setup - Flexfields - Descriptive - Segments
    Search for
    >Application: Purchasing
    >Title: Vendor Sites
  2. Uncheck option "Freeze Flexfield Definition", then click OK
  3. Click on Global Data Elements line then Segments
  4. Add custom segment(s), then Save button
  5. Check option "Freeze Flexfield Definition", then click OK
  6. Click "Compile", then click OK.
  7. A Note is displayed "The flexfield was compiled succesfully. Submitted request to generate flexfield view PO_VENDOR_SITES_ALL_DFV", then click OK and Exit.
  8. Click View - Requests - Find, the concurrent program name 'Flexfield View Generator' (FDFVGN) has completed normal.
  9. Check the new custom segment(s) on Supplier page setup:
    Payables responsibility - Suppliers - Entry - Search for a supplier - Click on Update - Address Book - Manage Sites - Descriptive Flexfields
  10. The following error occurs:

    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.flexj.BindVariable.parseBindVariables(BindVariable.java:358)
    at oracle.apps.fnd.flexj.SQLStatement.<init>(SQLStatement.java:60)
    at oracle.apps.fnd.flexj.Segment.<init>(Segment.java:367)
    at oracle.apps.fnd.flexj.DescriptiveFlexfield.setContext(DescriptiveFlexfield.java:415)
    at oracle.apps.fnd.flexj.DescriptiveFlexfield.init(DescriptiveFlexfield.java:234)
    at oracle.apps.fnd.flexj.DescriptiveFlexfield.<init>(DescriptiveFlexfield.java:95)
    at oracle.apps.fnd.framework.webui.OADescriptiveFlexHelper.createFlex(OADescriptiveFlexHelper.java:1317)
    at oracle.apps.fnd.framework.webui.OADescriptiveFlexHelper.processFlex(OADescriptiveFlexHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanFlexHelper.processRequest(OAWebBeanFlexHelper.java:414)
    at oracle.apps.fnd.framework.webui.OADescriptiveFlexHelper.processRequest(OADescriptiveFlexHelper.java:2310)

    ## Detail 0 ##
    java.lang.NullPointerException
    at oracle.apps.fnd.flexj.BindVariable.parseBindVariables(BindVariable.java:358)
    at oracle.apps.fnd.flexj.SQLStatement.<init>(SQLStatement.java:60)
    at oracle.apps.fnd.flexj.Segment.<init>(Segment.java:367)
    at oracle.apps.fnd.flexj.DescriptiveFlexfield.setContext(DescriptiveFlexfield.java:415)
    at oracle.apps.fnd.flexj.DescriptiveFlexfield.init(DescriptiveFlexfield.java:234)
    at oracle.apps.fnd.flexj.DescriptiveFlexfield.<init>(DescriptiveFlexfield.java:95)
    at oracle.apps.fnd.framework.webui.OADescriptiveFlexHelper.createFlex(OADescriptiveFlexHelper.java:1317)
    at oracle.apps.fnd.framework.webui.OADescriptiveFlexHelper.processFlex(OADescriptiveFlexHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanFlexHelper.processRequest(OAWebBeanFlexHelper.java:414)
    at oracle.apps.fnd.framework.webui.OADescriptiveFlexHelper.processRequest(OADescriptiveFlexHelper.java:2310)
    at oracle.apps.fnd.framework.webui.beans.layout.OATableLayoutBean.processRequest(OATableLayoutBean.java:353)

Changes

 

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


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