SSEO - Resolving java.lang.Exception During New Record Creation

Overview

This document outlines a recurring issue that occurs during new record creation using the SuperSync Email for Outlook integration with NetSuite. Users may encounter an error due to a mismatch between SuperSync’s form generation logic and NetSuite’s implicit required fields.

Error Message

When creating a new record (for example, a Contact), users may see:

java.lang.Exception: An unexpected error has occurred.
Error ID: m9ior2ij15kp3w49zgom0

Cause

By default, SuperSync Email scans all record forms in your NetSuite instance and generates a corresponding SuperSync form for each by collecting all marked mandatory fields.

However, due to a known NetSuite issue, certain fields such as Name are required by the system but not flagged as mandatory in the metadata. This causes SuperSync to omit these fields from the form, resulting in a submission failure and throwing a java.lang.Exception.

Resolution

To fix this issue, you need to customize the form in NetSuite and explicitly include all required fields, including those that are not visibly marked as mandatory.

Refer to the following article for detailed instructions:
How to Customize Record Forms

Best Practices

  • After customizing, test creating a new record from SuperSync to ensure the issue is resolved.

  • Review all record types configured in SuperSync to proactively include all required fields.

Support

If the error persists after following the above steps, contact Netgain Support at supersync@netgain.tech


Was this article helpful?