Forum Problems Installing LAMS: Activity: Chat


 
You may request notification for Activity: Chat.
Search: 

1: Activity: Chat
By: A S
06/05/13 04:46 PM
[ Reply | Forward ]
Hello, i am trying to use chat activity but it doesn't work. Is shows this error: Thanks


java.lang.NullPointerException: Unknown runtime exception! Hide detail
java.lang.NullPointerException at org.lamsfoundation.lams.util.XMPPUtil.createId(XMPPUtil.java:36) at org.lamsfoundation.lams.tool.chat.service.ChatService.createChatUser(ChatService.java:542) at sun.reflect.GeneratedMethodAccessor4631.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy173.createChatUser(Unknown Source) at org.lamsfoundation.lams.tool.chat.web.actions.LearningAction.getCurrentUser(LearningAction.java:189) at org.lamsfoundation.lams.tool.chat.web.actions.LearningAction.unspecified(LearningAction.java:102) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:249) 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:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:142) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:118) at org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:71) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:679)

Posted by A S

2: Re: Activity: Chat
In response to 1 06/05/13 05:40 PM
[ Reply | Forward ]
Hi,

Note that for LAMS 2.4 you still require the Wildfire/Openfire jabber server.

On the next release, 2.4.1, this is not longer required.

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Activity: Chat
By: A S
In response to 2 06/05/13 06:06 PM
[ Reply | Forward ]
Thank you for the reply, if you could please answer these two questions i would me most grateful.

Is it possible to force a student to the the branch withou the possibility to forward?

If a student misses the questions in multiple choices can we reroute to a especific activity?

Best Regards

Posted by A S

4: Re: Re: Re: Activity: Chat
In response to 3 06/05/13 06:19 PM
[ Reply | Forward ]

Is it possible to force a student to the the branch withou the possibility to forward?

I'm not so sure if I understand your question. Can you try to explain it a bit more?

If a student misses the questions in multiple choices can we reroute to a especific activity?

If he misses a question? Do you mean if he doesn't pass the MCQ?

Sorry, I'm not so sure if I'm understanding your questions properly.

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Activity: Chat
By: A S
In response to 4 06/05/13 06:29 PM
[ Reply | Forward ]
Sorry i will try to explain better.

So 1º question:

When i create a branch and preview it as a learner, the student is offered the chance to skip to the next activity. I want to force the student to see at lest one of the branches.

2º Question:

For example, i have an activity named (ISO, Aperture) and i test the student with multiple choices and he doesn't get the right answers, it is possible to switch automatically or reroute to the activity (ISO, Aperture)

Sorry if am not making myself clear (my first language isn't English)

Posted by A S

6: Re: Re: Re: Re: Re: Activity: Chat
In response to 5 06/05/13 06:58 PM
[ Reply | Forward ]

So 1º question:

When i create a branch and preview it as a learner, the student is offered the chance to skip to the next activity. I want to force the student to see at lest one of the branches.

Students aren't able to skip activities pass a branch. Meaning that they would have to do at least one branch in order to continue with the rest of the sequence.

The reason you can skip ahead in Preview, it's because you are a teacher and you might not want to go activity by activity until you hit the one you want to see how it plays. However, this behaviour is not allowed for students.


2º Question:

For example, i have an activity named (ISO, Aperture) and i test the student with multiple choices and he doesn't get the right answers, it is possible to switch automatically or reroute to the activity (ISO, Aperture)

I think what you are trying to do is to do a loop. But correct me if I'm wrong here... what you want to do is for the students to read some content about ISO and Aperture and then after this activity give them an Multiple choice question and if they do good, they can continue, if not they would need to go back to "ISO and Aperture" again.

Is this what you are after?


Sorry if am not making myself clear (my first language isn't English)

No worries, neither is mine! :-)

Posted by Ernie Ghiglione

7: Re: Re: Re: Re: Re: Re: Activity: Chat
By: A S
In response to 6 06/05/13 07:26 PM
[ Reply | Forward ]
1º Question: oh alright i thought that when you preview it as a learner you weren't given that option.

2º Question:

Yes that was what i was after.

I managed to figure out a workaroud with branches and Stop Gates with conditions, not sure if it's the right way to do it.

Posted by A S

8: Re: Re: Re: Re: Re: Re: Re: Activity: Chat
In response to 7 06/06/13 07:04 AM
[ Reply | Forward ]
Regarding question two, what you are doing is perfectly right.

Hopefully not so long from not we'll be able to have loops. That way you won't need to use stop gates for this.

Thanks,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Re: Re: Re: Activity: Chat
By: A S
In response to 8 06/06/13 08:49 AM
[ Reply | Forward ]
Thank you for the answers.

Good luck.

Best Regards,
AS

Posted by A S

Reply to first post on this page
Back to Problems Installing LAMS