Error: "java.lang.NullPointerException" & "java.lang.OutOfMemoryError: Java Heap Space" When Loading A Large Number Of Global Activity Code Values in P6 Web Access

(Doc ID 907248.1)

Last updated on FEBRUARY 06, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 6.0 and later
All Platforms
***Checked for relevance on 03-May-2013***


Symptoms

The following errors are received when loading a large number of the global activity codes values (50,000+) in P6 Web Access
"java.lang.NullPointerException" & "java.lang.OutOfMemoryError: Java Heap Space"

 

Exception in thread "AWT-EventQueue-3" java.lang.NullPointerException
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at com.primavera.infr.q.httpq.HttpQProxyObject.dequeue(Unknown Source)
at com.primavera.infr.q.AbstractQProxyObject.executeStaticMethod(Unknown Source)
at com.primavera.bo.remotable.qproxy.RemoteRequest.loadData(Unknown Source)
at com.primavera.pvapplets.actvcodes.GlobalActivityCodesContainer.loadActivityCodeData(GlobalActivityCodesContainer.java:85)
at com.primavera.pvapplets.actvcodes.ActivityCodesContainer$1.run(ActivityCodesContainer.java:143)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

 

Another error:

 

Exception in thread "AWT-EventQueue-5" java.lang.OutOfMemoryError: Java heap space
at java.io.ObjectInputStream$HandleTable.grow(Unknown Source)
at java.io.ObjectInputStream$HandleTable.assign(Unknown Source)
at java.io.ObjectInputStream.readArray(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.access$300(Unknown Source)
at java.io.ObjectInputStream$GetFieldImpl.readFields(Unknown Source)
at java.io.ObjectInputStream.readFields(Unknown Source)
at java.util.BitSet.readObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unkn own Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at com.primavera.bo.remoting.DefaultRemoteDataStore.a(Unknown Source)
at com.primavera.bo.remoting.DefaultRemoteDataStore.readExternal(Unknown Source)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInpu. tStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at com.primavera.infr.q.AbstractQProxyObject.readObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Sourc

 

Cause

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