We where getting an exception when executing some code that worked on PS3 on PS5. (We are reconstructing our menu based on user roles and we can masquerade as another user on click of a button) The stack trace of the error included: <SiteStructureResource><getChildren> javax.naming.NamingException [Root exception is java.lang.NullPointerException] at oracle.adfinternal.rc.jndi.CatalogContextWrapper.listBindings(CatalogContextWrapper.java:654) at oracle.adfinternal.rc.jndi.CatalogContextWrapper.listBindings(CatalogContextWrapper.java:616) Caused by: java.lang.NullPointerException at oracle.adfinternal.rc.jndi.FolderContext.loadCache(FolderContext.java:338) at oracle.adf.rc.spi.jndi.InMemoryContext.checkCacheLoaded(InMemoryContext.java:1401) at oracle.adfinternal.rc.jndi.FolderContext.loadCache(FolderContext.java:383) java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor916.invoke(Unknown Source) public v...
The Incident Archive: A blog to store my knowledge on the errors that I fix on a daily basis