My Oracle Support Banner

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

Last updated on JULY 31, 2018

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

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
Goal
Solution
References


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