My Oracle Support Banner

'...File "__pyclasspath__/encodings/__init__.py", line 31, in <module> java.lang.NullPointerException...' Signalled When Running an ODI 11g Specific Procedure Invoking a Jython Script (Doc ID 1664187.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 11.1.1.7.0 to 11.1.1.9.99 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

After upgrading to ODI 11g, and when executing an ODI 11g Specific Procedure on the Jython technology, the following error stack is signalled:

org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
 File "<string>", line 2, in <module>
 File "__pyclasspath__/encodings/__init__.py", line 31, in <module>
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at java.lang.Package$1.run(Package.java:527)
at java.lang.Package.defineSystemPackage(Package.java:520)
at java.lang.Package.getSystemPackages(Package.java:511)
at java.lang.ClassLoader.getPackages(ClassLoader.java:1513)
at java.lang.ClassLoader.getPackages(ClassLoader.java:1511)
at java.lang.ClassLoader.getPackages(ClassLoader.java:1511)
at java.lang.ClassLoader.getPackages(ClassLoader.java:1511)
at java.lang.ClassLoader.getPackages(ClassLoader.java:1511)
at java.lang.Package.getPackages(Package.java:281)
at org.python.core.JavaImportHelper.buildLoadedPackages(JavaImportHelper.java:161)
at org.python.core.JavaImportHelper.tryAddPackage(JavaImportHelper.java:60)

Changes

Upgraded to ODI 11.1.1.7.0 and using JRockit JVM.

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
References


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