How to solve an GFv3 pkg Toolkit AttributeError: 'NoneType' Object Has No Attribute 'encode' (Doc ID 1496207.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 3.0.1 to 3.1.2 [Release 3.0 to 3.1]
Information in this document applies to any platform.

Goal

The Goal is to resolve the error message: "AttributeError: 'NoneType' object has no attribute 'encode' " that is observed when trying to execute the Glassfish pkg toolkit command.

For example when we try to set a new publisher, or try to list existing publishers, an error stack can be seen like

 

Solution

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