TheRealAgentK/facebook-cf-sdk

Element SESSIONMANAGEMENT is undefined in a Java object of type class coldfusion.runtime.StructBean

Closed this issue · 8 comments

Element SESSIONMANAGEMENT is undefined in a Java object of type class coldfusion.runtime.StructBean

What does this mean?

When do you get this error?
Could you give us more details?
Thanks.

I close this issue since no more details have been given to reproduce the issue.

Hi,

I've the same problem.

I installed CF10 on a Debian server.

This problem occures in:

Expression Exception - in /mnt/web/09janrain/fbsdk/FacebookBase.cfc : line 232
Element SESSIONMANAGEMENT is undefined in a Java object of type class coldfusion.runtime.StructBean.

Which informations could I give to help you?

thanks,

Christophe

Hi,

You can see this error here: http://178.33.197.209:1080/fbtest/examples/website/

Thanks for your help,

Christophe

We do not have CF10 installed here.
It looks like there is some changes...

Can you try to dump application.getApplicationSettings() to see if there is 'sessionManagement' in the struct?

If it doesn't, as a workaround, you can change
return application.getApplicationSettings().sessionManagement;
by
return true;
Since session management is enabled most of the time...

Hi

Here's the cfdump :

object of coldfusion.runtime.ApplicationSettings
Class Name coldfusion.runtime.ApplicationSettings
Methods
Method Return Type
getAuthCookieTimeout() int
getInMemorySize() int
getSessionCookieDomain() java.lang.String
getSessionCookieTimeout() int
isAuthCookieUpdateDisabled() boolean
isHttpOnlySessionCookie() boolean
isInMemoryEnabled() boolean
isInvokeAccessorEnabled() boolean
isSecureSessionCookie() boolean
isSessionCookieUpdateDisabled() boolean
Fields
Field Value
java.lang.String AUTH_COOKIE AUTHCOOKIE
java.lang.String DISABLEUPDATE DISABLEUPDATE
java.lang.String DOMAIN DOMAIN
java.lang.String HTTPONLY HTTPONLY
java.lang.String INMEMORY_FILESYSTEM inmemoryfilesystem
java.lang.String INMEMORY_FILESYSTEM_ENABLED enabled
java.lang.String INMEMORY_FILESYSTEM_SIZE size
java.lang.String INVOKE_ACCESSOR invokeimplicitaccessor
java.lang.String SECURE SECURE
java.lang.String SESSION_COOKIE SESSIONCOOKIE
java.lang.String TIMEOUT TIMEOUT

Thanks for your help, it works with "return true"!

Christophe

I've pushed a fix that always return true for isPersistentEnabled().

Thank you very much for your help !!!