« December 2008 | Main | June 2009 »

May 2009 Archives

May 27, 2009

Warning "Transient state added to StateManager. State may not be serialized."

We get a lot of questions about the following warnings displayed when running ADF Faces pages including a DVT graph component:

25-May-2009 3:22:02 PM oracle.adf.share.http.HttpSessionStateManagerImpl putState
WARNING: Transient state added to StateManager. State may not be serialized.
State id: data.view_graph1_pagePageDef.graph1__cubicDefinition
25-May-2009 3:22:03 PM oracle.adf.share.http.HttpSessionStateManagerImpl putState
WARNING: Transient state added to StateManager. State may not be serialized.
State id: data.view_graph1_pagePageDef.graph1__dataModel

We discussed the issue with our development team and here was their feedback:

The Graph puts persistent state objects on the StateManager, these objects are Serializable. In addition the Graph also puts transient state objects on the StateManager, these objects are not Serializable.
Note that Graph does not depend on these transient objects always being available on the StateManager, it only uses them for performance if they are there. These transient objects can be recreated from the persistent objects which will always be available.

In other words, you can ignore this warning.

About May 2009

This page contains all entries posted to Didier's Blog in May 2009. They are listed from oldest to newest.

December 2008 is the previous archive.

June 2009 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle