LMS

Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
Tasklist

FS#186 - Can't find method when module is uninstalled, then reinstalled

Attached to Project: LMS
Opened by Guillaume (Guillaume) - Friday, 05 August 2011, 13:27 GMT
Last edited by Guillaume (Guillaume) - Friday, 04 November 2011, 19:35 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Guillaume (Guillaume)
Operating System All
Severity Medium
Priority Normal
Reported Version alpha0
Due in Version alpha1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hi,

the scenario

Install UIToolkit
Uninstall UIToolkit
Install UIToolkit
Install a script using uitoolkit

You should got this error message:

6939750 ["http-nio-8080"-exec-23] ERROR org.apache.catalina.core.ContainerBase.[LMS].[localhost].[/LocalApp].[Browser Channel Ajax Servlet] - Servlet.service() for servlet [Browser Channel Ajax Servlet] in context with path [/LocalApp] threw exception
org.mozilla.javascript.EvaluatorException: Can't find method com.lobeo.lms.uitoolkit.component.ComponentBase.add(com.lobeo.lms.uitoolkit.component.Panel). (/var/lms/server0/bin/../repo-system/portal/portal.js#89)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:945)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1001)
at org.mozilla.javascript.Context.reportRuntimeError1(Context.java:964)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:167)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen._var_lms_server0_bin____repo_system_portal_portal_js_246._c_anonymous_8(/var/lms/server0/bin/../repo-system/portal/portal.js:89)
at org.mozilla.javascript.gen._var_lms_server0_bin____repo_system_portal_portal_js_246.call(/var/lms/server0/bin/../repo-system/portal/portal.js)
at com.lobeo.rhino.javascript.Inheritance.instanciate(Inheritance.java:176)
at org.mozilla.javascript.NativeFunction.construct(NativeFunction.java:77)
at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2440)
at org.mozilla.javascript.gen._var_lms_server0_bin____repo_system_portal_portal_js_246._c_anonymous_15(/var/lms/server0/bin/../repo-system/portal/portal.js:156)
at org.mozilla.javascript.gen._var_lms_server0_bin____repo_system_portal_portal_js_246.call(/var/lms/server0/bin/../repo-system/portal/portal.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
at org.mozilla.javascript.gen._var_lms_server0_bin____repo_system_portal_portal_js_246.call(/var/lms/server0/bin/../repo-system/portal/portal.js)
at org.mozilla.javascript.Context$1.run(Context.java:510)
at org.mozilla.javascript.Context.call(Context.java:521)
at org.mozilla.javascript.Context.call(Context.java:508)
at org.mozilla.javascript.JavaAdapter.callMethod(JavaAdapter.java:568)
at adapter5.createModel(<adapter>)
at com.lobeo.lms.uitoolkit.web.instance.handler.RetrieveNotificationHandler.handleNotification(RetrieveNotificationHandler.java:70)
at com.lobeo.lms.uitoolkit.web.instance.BrowserInstanceNotificationHandler.handle(BrowserInstanceNotificationHandler.java:70)
at com.lobeo.lms.browserchannel.AjaxController.open(AjaxController.java:99)
at com.lobeo.lms.browserchannel.BrowserChannel.handleBrowserChannelController(BrowserChannel.java:352)
at com.lobeo.lms.browserchannel.BrowserChannelServlet.service(BrowserChannelServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:391)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:357)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1531)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)



Guillaume
This task depends upon

Closed by  Guillaume (Guillaume)
Friday, 04 November 2011, 19:35 GMT
Reason for closing:  Unreproductible
Additional comments about closing:  it is not reproductible in the current version
Comment by Guillaume (Guillaume) - Friday, 05 August 2011, 13:29 GMT
delete the uitoolkit using the 'suppr' on the UIToolkit folder.
Comment by Ferdinand (PaGaisu) - Tuesday, 09 August 2011, 09:04 GMT
Waiting for the WebToolkit to be created before testing this one

Loading...