Forum LAMS for Tech-Heads - General Forum: Problem Using Support Activity - Error Message


 
You may request notification for Problem Using Support Activity - Error Message.
Search: 

1: Problem Using Support Activity - Error Message
09/01/09 11:17 PM
[ Reply | Forward ]
I have created a sequence that uses the 'Support Activity', but when previewing the sequence, the support activity doesn't open. The pop-up window opens, but displays an error message as follows:

Pop-up location url: lams/errorpages/error.jsp

Sorry, there has been an error.
There is a problem processing this request. Close the browser window and try again. If the problem persists please contact your system administrator or the technical forums on http://lamscommunity.org/.

org.lamsfoundation.lams.learning.service.LearnerServiceException: Unable to set up url as session does not exist. Activity 4157:Notebook learner 10:mdl_john Hide detail
org.lamsfoundation.lams.learning.service.LearnerServiceException: Unable to set up url as session does not exist. Activity 4157:Notebook learner 10:mdl_john at org.lamsfoundation.lams.learning.web.util.ActivityMapping.getLearnerToolURL(ActivityMapping.java:243) at org.lamsfoundation.lams.learning.web.util.ActivityMapping.calculateActivityURLForProgressView(ActivityMapping.java:320) at org.lamsfoundation.lams.learning.web.action.LearnerAction.getLearnerActivityURL(LearnerAction.java:473) at org.lamsfoundation.lams.learning.web.action.LearnerAction.forwardToLearnerActivityURL(LearnerAction.java:675) at sun.reflect.GeneratedMethodAccessor1705.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:142) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:121) at org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:67) at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:619)



Any ideas? Please help!

Posted by John Fitchett

2: Re: Problem Using Support Activity - Error Message
In response to 1 09/01/09 11:37 PM
[ Reply | Forward ]
John,

Any chance you can upload the sequence here so we can test it?

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Problem Using Support Activity - Error Message
In response to 2 09/02/09 10:59 PM
[ Reply | Forward ]
Hi Ernie

Thanks for your prompt reply!

Here is an example sequence using the support activity:

http://lamscommunity.org/dotlrn/file-storage/view/dotlrn_fs_748413_root_folder/dotlrn_fs_748413_shared_folder/Test_Support_Activity.zip


The problem presents itself occassionally in our regular LAMS install and always in our Moodle (via LAMS Two plugin).

Many thanks

John

Posted by John Fitchett

Attachments:
4: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 3 09/02/09 11:54 PM
[ Reply | Forward ]
Hey John,

Thanks for the sequence. I have managed to replicated your problem. It's quite an odd one, so let me have a thorough look and get back to you.

Cheers,

ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 4 09/03/09 09:35 PM
[ Reply | Forward ]
Thank you Ernie!

That is most kind of you!

I have no idea what the cause of the problem is...

Posted by John Fitchett

6: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 5 09/03/09 10:25 PM
[ Reply | Forward ]
Hi John,

We have created a bug report for it:

http://bugs.lamsfoundation.org/browse/LDEV-2438

You can track the progress on it there. We'll let you know as soon as this is fixed.

Thanks,

Ernie

Posted by Ernie Ghiglione

7: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 6 09/06/09 10:52 PM
[ Reply | Forward ]
Hi Ernie

Thank you for doing that. I see in the bug tracker that the problem has been fixed, but how do I implement the fix?

Should I upgrade my LAMS code to the latest version... or is there a setting or something?

Many thanks again

John

Posted by John Fitchett

8: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 7 09/06/09 11:45 PM
[ Reply | Forward ]
Hi John,

What version of LAMS are you running? If you are running the latest (2.3.2) I can build a patch and send it to you.

Thanks,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 8 09/07/09 08:21 PM
[ Reply | Forward ]
Hi Ernie

We currently have version 2.3.1.

Is a patch necessary? I assume if the bug has been closed that the patch has been incorporated into the current release? Or is this not how it works?

If not, a patch would be great! I am sure others would find it useful too.

Many thanks for all your kind support and help!

John

Posted by John Fitchett

10: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 9 09/08/09 12:55 AM
[ Reply | Forward ]
John,

Update to LAMS 2.3.2 first (see downloads). Once you are up to the latest, let me know and I'll email you a patch to fix this.

Cheers,

Ernie

Posted by Ernie Ghiglione

11: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 10 09/09/09 09:01 PM
[ Reply | Forward ]
Thanks Ernie

Have now upgraded to 2.3.2

Will the patch be integrated into the next release of LAMS?

Many thanks (in advance) for sending it to me!

Cheers

John

Posted by John Fitchett

12: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 10 03/10/10 09:34 AM
[ Reply | Forward ]
Hi,

I am using LAMS 2.3.3 and recently have the same problem. When trying to view learning sequence from Moodle I ahve the same problem for support activities.

It was ok before,I did not understand what happened now though.

Can you help me, its a bit urgent as my students started to use the system.

Thank you...
Muesser

Posted by Muesser Cemal Nat

13: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 12 03/10/10 05:31 PM
[ Reply | Forward ]
There is an issue fixed in 2.3.4 where if you 'live edit' a sequence and add a support activity, you will get the same error (http://bugs.lamsfoundation.org/browse/LDEV-2510). Is it the case that someone used live edit to add the support activity? If so updating to 2.3.4 should fix it.

Posted by Jun-Dir Liew

14: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 13 03/11/10 11:02 AM
[ Reply | Forward ]
Hi,

I am not sure what do you mean by live editing.

However, I tried to delete and new again, it did not work again.

At this moment I a bit scared to update LAMS because the system is in use.

Thank you,
Muesser

Posted by Muesser Cemal Nat

15: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem Using Support Activity - Error Message
In response to 14 03/11/10 01:30 PM
[ Reply | Forward ]
Hi,

Sorry for double posting.

I have updated to 2.3.4 and re-created/imported activities and it worked.

Thank you,
Muesser

Posted by Muesser Cemal Nat

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum