openmeetings-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <solomax...@gmail.com>
Subject Re: Confirm duplicate hash issue in custom plugin please
Date Sun, 05 Apr 2020 13:08:45 GMT
Not sure what does it mean
I accidentally found this bug and have fixed it in M4, so most probably it
will be reproducible using any version with cookie from M4

On Sun, 5 Apr 2020 at 20:06, Daniel Baker <info@collisiondetection.biz>
wrote:

> Ok will do .  And  here  is a successful  login  using  4.6
>
> success with 4.6
>
> /opt/red5406/log$ tail -f openmeetings.log
> DEBUG 04-01 16:09:29.410 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-1] -
> Rss d
> DEBUG 04-01 16:19:29.417 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-9] -
> Rss d
> DEBUG 04-01 16:29:29.417 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-3] -
> Rss d
> DEBUG 04-01 16:39:29.413 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-9] -
> Rss d
> DEBUG 04-01 16:49:29.414 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-3] -
> Rss d
> DEBUG 04-01 16:59:29.421 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-9] -
> Rss d
> DEBUG 04-01 17:09:29.409 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-2] -
> Rss d
> DEBUG 04-01 17:19:29.422 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-4] -
> Rss d
> DEBUG 04-01 17:29:29.419 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-3] -
> Rss d
> DEBUG 04-01 17:39:29.416 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-4] -
> Rss d
> DEBUG 04-01 17:48:08.654 o.a.o.w.UserWebService:102 [0.0-5080-exec-9] -
> Login user
> DEBUG 04-01 17:48:08.695 o.a.o.d.d.u.UserDao:654 [0.0-5080-exec-9] -
> login:: 1 users were found
> DEBUG 04-01 17:48:10.118 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-9] -
> Level Login :: [GRANTED]
> DEBUG 04-01 17:48:10.147 o.a.o.d.d.u.UserDao:671 [0.0-5080-exec-9] -
> loginUser [GroupUser [id=1, moderator=false, group=Group [id=1,
> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
> lastname=lastname, login=admin, pictureuri=null, deleted=false,
> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
> zip=null, deleted=false, email=info@collisiondetection.biz, phone=null],
> externalId=null, externalType=null, type=user]]]
> DEBUG 04-01 17:48:10.224 o.a.o.d.d.s.SessiondataDao:87 [0.0-5080-exec-9] -
> create :: create
> DEBUG 04-01 17:48:10.226 o.a.o.d.d.s.SessiondataDao:57 [0.0-5080-exec-9] -
> startsession :: startsession
> DEBUG 04-01 17:48:10.254 o.a.o.w.UserWebService:109 [0.0-5080-exec-9] -
> Login user: 1
> DEBUG 04-01 17:48:10.358 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-7] -
> Level Soap :: [GRANTED]
> DEBUG 04-01 17:48:10.432 o.a.o.w.UserWebService:102 [0.0-5080-exec-4] -
> Login user
> DEBUG 04-01 17:48:10.458 o.a.o.d.d.u.UserDao:654 [0.0-5080-exec-4] -
> login:: 1 users were found
> DEBUG 04-01 17:48:12.314 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-4] -
> Level Login :: [GRANTED]
> DEBUG 04-01 17:48:12.318 o.a.o.d.d.u.UserDao:671 [0.0-5080-exec-4] -
> loginUser [GroupUser [id=1, moderator=false, group=Group [id=1,
> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
> lastname=lastname, login=admin, pictureuri=null, deleted=false,
> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
> zip=null, deleted=false, email=info@collisiondetection.biz, phone=null],
> externalId=null, externalType=null, type=user]]]
> DEBUG 04-01 17:48:12.477 o.a.o.d.d.s.SessiondataDao:87 [0.0-5080-exec-4] -
> create :: create
> DEBUG 04-01 17:48:12.480 o.a.o.d.d.s.SessiondataDao:57 [0.0-5080-exec-4] -
> startsession :: startsession
> DEBUG 04-01 17:48:12.492 o.a.o.w.UserWebService:109 [0.0-5080-exec-4] -
> Login user: 1
> DEBUG 04-01 17:48:12.593 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-6] -
> Level Soap :: [GRANTED]
> DEBUG 04-01 17:48:12.594 o.a.o.w.UserWebService:311 [0.0-5080-exec-6] -
> RemoteSessionObject [username=teacher, firstname=teacher, lastname=1,
> pictureUrl=null, email=test@test.com, externalUserId=3,
> externalUserType=moodle]
> DEBUG 04-01 17:48:12.598 o.a.o.w.UserWebService:315 [0.0-5080-exec-6] -
> xmlString
> teacher
> teacher
> 1
> test@test.com
> 3
> moodle
>
> ERROR 04-01 17:48:12.843 o.a.o.w.a.WebSession:208 [0.0-5080-exec-1] -
> Unexpected exception while checking hashes
> java.lang.IllegalArgumentException: No enum constant
> org.apache.openmeetings.db.entity.user.User.Type.USER
> at java.lang.Enum.valueOf(Enum.java:238)
> at org.apache.openmeetings.db.entity.user.User$Type.valueOf(User.java:121)
> at
> org.apache.openmeetings.web.app.WebSession.isSignedIn(WebSession.java:166)
> at
> org.apache.openmeetings.web.app.WebSession.checkHashes(WebSession.java:182)
> at
> org.apache.openmeetings.web.pages.HashPage.onInitialize(HashPage.java:102)
> at org.apache.wicket.Component.fireInitialize(Component.java:871)
> at
> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1037)
> at org.apache.wicket.Page.isPageStateless(Page.java:461)
> at
> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageInfo(AbstractBookmarkableMapper.java:473)
> at
> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:420)
> at
> org.apache.wicket.core.request.mapper.MountedMapper.mapHandler(MountedMapper.java:155)
> at
> org.apache.openmeetings.web.app.Application$NoVersionMapper.mapHandler(Application.java:286)
> at
> org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:210)
> at
> org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:449)
> at
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:233)
> at
> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:202)
> at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:912)
> at
> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
> at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:283)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> at
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:204)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:286)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:748)
> ^C
> om@om:/opt/red5406/log$ tail -f openmeetings.log
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:748)
> DEBUG 04-01 17:49:14.513 o.a.o.w.UserWebService:102 [0.0-5080-exec-3] -
> Login user
> DEBUG 04-01 17:49:14.541 o.a.o.d.d.u.UserDao:654 [0.0-5080-exec-3] -
> login:: 1 users were found
> DEBUG 04-01 17:49:15.597 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-3] -
> Level Login :: [GRANTED]
> DEBUG 04-01 17:49:15.598 o.a.o.d.d.u.UserDao:671 [0.0-5080-exec-3] -
> loginUser [GroupUser [id=1, moderator=false, group=Group [id=1,
> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
> lastname=lastname, login=admin, pictureuri=null, deleted=false,
> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
> zip=null, deleted=false, email=info@collisiondetection.biz, phone=null],
> externalId=null, externalType=null, type=user]]]
> DEBUG 04-01 17:49:15.759 o.a.o.d.d.s.SessiondataDao:87 [0.0-5080-exec-3] -
> create :: create
> DEBUG 04-01 17:49:15.760 o.a.o.d.d.s.SessiondataDao:57 [0.0-5080-exec-3] -
> startsession :: startsession
> DEBUG 04-01 17:49:15.776 o.a.o.w.UserWebService:109 [0.0-5080-exec-3] -
> Login user: 1
> DEBUG 04-01 17:49:15.877 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-2] -
> Level Soap :: [GRANTED]
> DEBUG 04-01 17:49:15.933 o.a.o.w.UserWebService:102 [0.0-5080-exec-4] -
> Login user
> DEBUG 04-01 17:49:15.948 o.a.o.d.d.u.UserDao:654 [0.0-5080-exec-4] -
> login:: 1 users were found
> DEBUG 04-01 17:49:17.245 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-4] -
> Level Login :: [GRANTED]
> DEBUG 04-01 17:49:17.265 o.a.o.d.d.u.UserDao:671 [0.0-5080-exec-4] -
> loginUser [GroupUser [id=1, moderator=false, group=Group [id=1,
> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
> lastname=lastname, login=admin, pictureuri=null, deleted=false,
> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
> zip=null, deleted=false, email=info@collisiondetection.biz, phone=null],
> externalId=null, externalType=null, type=user]]]
> DEBUG 04-01 17:49:17.424 o.a.o.d.d.s.SessiondataDao:87 [0.0-5080-exec-4] -
> create :: create
> DEBUG 04-01 17:49:17.425 o.a.o.d.d.s.SessiondataDao:57 [0.0-5080-exec-4] -
> startsession :: startsession
> DEBUG 04-01 17:49:17.553 o.a.o.w.UserWebService:109 [0.0-5080-exec-4] -
> Login user: 1
> DEBUG 04-01 17:49:17.780 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-6] -
> Level Soap :: [GRANTED]
> DEBUG 04-01 17:49:17.781 o.a.o.w.UserWebService:311 [0.0-5080-exec-6] -
> RemoteSessionObject [username=teacher, firstname=teacher, lastname=1,
> pictureUrl=null, email=test@test.com, externalUserId=3,
> externalUserType=moodle]
> DEBUG 04-01 17:49:17.783 o.a.o.w.UserWebService:315 [0.0-5080-exec-6] -
> xmlString
> teacher
> teacher
> 1
> test@test.com
> 3
> moodle
>
> DEBUG 04-01 17:49:29.418 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-3] -
> Rss disabled by Admin
> DEBUG 04-01 17:49:29.719 o.a.o.w.UserWebService:102 [0.0-5080-exec-5] -
> Login user
> DEBUG 04-01 17:49:29.743 o.a.o.d.d.u.UserDao:654 [0.0-5080-exec-5] -
> login:: 1 users were found
> DEBUG 04-01 17:49:30.956 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-5] -
> Level Login :: [GRANTED]
> DEBUG 04-01 17:49:30.965 o.a.o.d.d.u.UserDao:671 [0.0-5080-exec-5] -
> loginUser [GroupUser [id=1, moderator=false, group=Group [id=1,
> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
> lastname=lastname, login=admin, pictureuri=null, deleted=false,
> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
> zip=null, deleted=false, email=info@collisiondetection.biz, phone=null],
> externalId=null, externalType=null, type=user]]]
> DEBUG 04-01 17:49:31.093 o.a.o.d.d.s.SessiondataDao:87 [0.0-5080-exec-5] -
> create :: create
> DEBUG 04-01 17:49:31.094 o.a.o.d.d.s.SessiondataDao:57 [0.0-5080-exec-5] -
> startsession :: startsession
> DEBUG 04-01 17:49:31.226 o.a.o.w.UserWebService:109 [0.0-5080-exec-5] -
> Login user: 1
> DEBUG 04-01 17:49:31.420 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-9] -
> Level Soap :: [GRANTED]
> DEBUG 04-01 17:49:31.496 o.a.o.w.UserWebService:102 [0.0-5080-exec-7] -
> Login user
> DEBUG 04-01 17:49:31.517 o.a.o.d.d.u.UserDao:654 [0.0-5080-exec-7] -
> login:: 1 users were found
> DEBUG 04-01 17:49:32.590 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-7] -
> Level Login :: [GRANTED]
> DEBUG 04-01 17:49:32.595 o.a.o.d.d.u.UserDao:671 [0.0-5080-exec-7] -
> loginUser [GroupUser [id=1, moderator=false, group=Group [id=1,
> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
> lastname=lastname, login=admin, pictureuri=null, deleted=false,
> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
> zip=null, deleted=false, email=info@collisiondetection.biz, phone=null],
> externalId=null, externalType=null, type=user]]]
> DEBUG 04-01 17:49:32.634 o.a.o.d.d.s.SessiondataDao:87 [0.0-5080-exec-7] -
> create :: create
> DEBUG 04-01 17:49:32.635 o.a.o.d.d.s.SessiondataDao:57 [0.0-5080-exec-7] -
> startsession :: startsession
> DEBUG 04-01 17:49:32.649 o.a.o.w.UserWebService:109 [0.0-5080-exec-7] -
> Login user: 1
> DEBUG 04-01 17:49:32.725 o.a.o.d.u.AuthLevelUtil:42 [.0-5080-exec-10] -
> Level Soap :: [GRANTED]
> DEBUG 04-01 17:49:32.728 o.a.o.w.UserWebService:311 [.0-5080-exec-10] -
> RemoteSessionObject [username=teacher, firstname=teacher, lastname=1,
> pictureUrl=null, email=test@test.com, externalUserId=3,
> externalUserType=moodle]
> DEBUG 04-01 17:49:32.732 o.a.o.w.UserWebService:315 [.0-5080-exec-10] -
> xmlString
> teacher
> teacher
> 1
> test@test.com
> 3
> moodle
>
> DEBUG 04-01 17:49:33.053 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-8] -
> Level Admin :: [DENIED]
> DEBUG 04-01 17:49:33.245 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-8] -
> Level Admin :: [DENIED]
> DEBUG 04-01 17:49:33.246 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-8] -
> Level GroupAdmin :: [DENIED]
> DEBUG 04-01 17:49:33.251 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-8] -
> Level Admin :: [DENIED]
> DEBUG 04-01 17:49:33.255 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-8] -
> Level Admin :: [DENIED]
> DEBUG 04-01 17:49:34.655 o.a.o.w.a.ClientManager:93 [0.0-5080-exec-7] -
> Adding online client: 766240bf-25f4-4b82-9107-e5cc26ba1031, room: null
> DEBUG 04-01 17:49:34.695 o.a.o.w.c.MainPanel:156 [0.0-5080-exec-7] -
> WebSocketBehavior::onConnect [uid: 766240bf-25f4-4b82-9107-e5cc26ba1031,
> session: 422AC2EDEBBB2AA2E32B2E7E3F2573BD, key:
> org.apache.wicket.protocol.ws.api.registry.PageIdKey@0]
> DEBUG 04-01 17:49:34.738 o.a.o.d.d.r.PollDao:87 [0.0-5080-exec-7] - ::
> getPoll :: 27
> DEBUG 04-01 17:49:34.749 o.a.o.d.d.r.PollDao:98 [0.0-5080-exec-7] - ::
> getArchived :: 27
> DEBUG 04-01 17:49:34.769 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-7] -
> Level Admin :: [DENIED]
> DEBUG 04-01 17:49:34.849 o.a.o.d.d.f.FileItemDao:55 [0.0-5080-exec-7] -
> getByOwner() started
> DEBUG 04-01 17:49:34.857 o.a.o.d.d.f.FileItemDao:50 [0.0-5080-exec-7] -
> getByRoom roomId :: 27
> DEBUG 04-01 17:49:34.889 o.a.o.w.c.MainPanel:165 [0.0-5080-exec-7] -
> WebSocketBehavior:: pingTimer is attached
> DEBUG 04-01 17:49:34.941 o.a.o.w.a.ClientManager:177 [0.0-5080-exec-7] -
> Adding online room client: 766240bf-25f4-4b82-9107-e5cc26ba1031, room: 27
> DEBUG 04-01 17:49:36.754 o.a.o.w.r.RoomPanel:124 [0.0-5080-exec-8] -
> RoomPanel::roomEnter
> DEBUG 04-01 17:49:36.758 o.a.o.d.d.l.ConferenceLogDao:54 [0.0-5080-exec-8]
> - [add]: org.apache.openmeetings.db.entity.log.ConferenceLog@79adb27
> DEBUG 04-01 17:49:36.827 o.a.o.c.u.WebSocketHelper:151 [0.0-5080-exec-8] -
> Sending WebSocket message: roomEnter
> DEBUG 04-01 17:49:36.845 o.a.o.w.r.RoomPanel:156 [0.0-5080-exec-8] -
> RoomPanel::roomEnter, mods IS EMPTY ? false, is MOD ? true
> DEBUG 04-01 17:49:36.875 o.a.o.d.d.f.FileItemDao:55 [Thread-1089] -
> getByOwner() started
> DEBUG 04-01 17:49:36.876 o.a.o.d.d.f.FileItemDao:50 [Thread-1089] -
> getByRoom roomId :: 27
> DEBUG 04-01 17:49:36.879 o.a.o.d.d.r.PollDao:104 [Thread-1089] - ::
> hasPoll :: 27
> DEBUG 04-01 17:49:36.896 o.a.o.d.d.r.PollDao:98 [Thread-1089] - ::
> getArchived :: 27
> DEBUG 04-01 17:49:37.406 o.a.o.w.r.RoomBroadcaster:57 [0.0-5080-exec-1] -
> ----------- sendUpdatedClient
> DEBUG 04-01 17:49:37.427 o.a.o.c.r.ScopeApplicationAdapter:791
> [Thread-1090] - [MessageSender] -> 'Unable to send message to NULL scope'
> clientUpdated, null
> DEBUG 04-01 17:49:37.438 o.a.o.c.u.WebSocketHelper:151 [0.0-5080-exec-1] -
> Sending WebSocket message: rightUpdated 766240bf-25f4-4b82-9107-e5cc26ba1031
> DEBUG 04-01 17:49:37.438 o.a.o.w.r.RoomBroadcaster:57 [0.0-5080-exec-1] -
> ----------- sendUpdatedClient
> DEBUG 04-01 17:49:37.454 o.a.o.w.r.RoomBroadcaster:57 [0.0-5080-exec-1] -
> ----------- sendUpdatedClient
> DEBUG 04-01 17:49:37.470 o.a.o.c.r.ScopeApplicationAdapter:791
> [Thread-1093] - [MessageSender] -> 'Unable to send message to NULL scope'
> clientUpdated, null
> DEBUG 04-01 17:49:37.491 o.a.o.c.u.WebSocketHelper:151 [0.0-5080-exec-1] -
> Sending WebSocket message: rightUpdated 766240bf-25f4-4b82-9107-e5cc26ba1031
> DEBUG 04-01 17:49:37.496 o.a.o.c.r.ScopeApplicationAdapter:791
> [Thread-1094] - [MessageSender] -> 'Unable to send message to NULL scope'
> clientUpdated, null
> DEBUG 04-01 17:49:37.506 o.a.o.d.d.r.PollDao:104 [Thread-1092] - ::
> hasPoll :: 27
> DEBUG 04-01 17:49:37.508 o.a.o.d.d.r.PollDao:98 [Thread-1092] - ::
> getArchived :: 27
> DEBUG 04-01 17:49:37.573 o.a.o.d.d.r.PollDao:104 [Thread-1096] - ::
> hasPoll :: 27
> DEBUG 04-01 17:49:37.574 o.a.o.d.d.r.PollDao:98 [Thread-1096] - ::
> getArchived :: 27
> DEBUG 04-01 17:49:37.848 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-3] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:37.885 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-1] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:37.974 o.a.o.c.u.WebSocketHelper:229 [.0-5080-exec-10] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.007 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-6] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.056 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-4] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.155 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-9] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.222 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-8] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.315 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-7] -
> Level Admin :: [DENIED]
> DEBUG 04-01 17:49:38.399 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-2] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.464 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-3] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.519 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-1] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.568 o.a.o.c.u.WebSocketHelper:229 [.0-5080-exec-10] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.607 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-6] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.645 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-4] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.705 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-5] -
> Sending WebSocket message: {"type":"wb"}
> DEBUG 04-01 17:49:38.736 o.a.o.c.u.WebSocketHelper:229 [0.0-5080-exec-9] -
> Sending WebSocket message: {"type":"wb"}
> On 05/04/2020 14:01, Maxim Solodovnik wrote:
>
> Your stacktrace is caused by the fact:
> 1) you logged in to M4 with option "Remeber me"
> 2) replace version to be M3
> 3) tried to log in
>
> You need to clean cookies to get rid of this
>
> On Sun, 5 Apr 2020 at 19:58, Daniel Baker <info@collisiondetection.biz>
> wrote:
>
>> OpenMeetingsVersion5.0.0-M3
>>
>> Revision  b739f87
>>
>> Build date  2019-12-11T11:42:09Z
>>
>>
>>
>>
>> On 05/04/2020 13:47, Maxim Solodovnik wrote:
>>
>> What Om version is this?
>>
>> On Sun, 5 Apr 2020 at 19:44, Daniel Baker <info@collisiondetection.biz>
>> wrote:
>>
>>> Hi Maxim  can you please  confirm  you are  seeing a  duplicate  hash (
>>> or some other issue )   issue  here.  It  will help us  narrow  down  the
>>> problem in our  CUSTOM  moodle plugin :
>>>
>>> root@om-VirtualBox:/opt/logs# tail -f openmeetings.log
>>>         at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>>>         at
>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
>>>         at
>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>>>         at
>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
>>>         at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1591)
>>>         at
>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>>>         at
>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>>         at
>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>>         at
>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>>         at java.base/java.lang.Thread.run(Thread.java:834)
>>> DEBUG 03-18 17:14:57.707 o.a.o.w.UserWebService:107 [nio-5443-exec-3] -
>>> Login user
>>> DEBUG 03-18 17:14:57.717 o.a.o.d.d.u.UserDao:623 [nio-5443-exec-3] -
>>> login:: 1 users were found
>>> DEBUG 03-18 17:14:58.639 o.a.o.d.u.AuthLevelUtil:40 [nio-5443-exec-3] -
>>> Level Login :: [GRANTED]
>>> DEBUG 03-18 17:14:58.640 o.a.o.d.d.u.UserDao:640 [nio-5443-exec-3] -
>>> login user groups [GroupUser [id=1, moderator=false, group=Group [id=1,
>>> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
>>> lastname=lastname, login=admin, pictureuri=null, deleted=false,
>>> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
>>> zip=null, deleted=false, email=info@collisiondetection.biz,
>>> phone=null], externalId=null, type=user]]]
>>> DEBUG 03-18 17:14:58.658 o.a.o.d.d.s.SessiondataDao:78 [nio-5443-exec-3]
>>> - create :: create
>>> DEBUG 03-18 17:14:58.659 o.a.o.d.d.s.SessiondataDao:48 [nio-5443-exec-3]
>>> - startsession :: startsession
>>> DEBUG 03-18 17:14:58.672 o.a.o.w.UserWebService:114 [nio-5443-exec-3] -
>>> Login user: 1
>>> DEBUG 03-18 17:14:58.770 o.a.o.d.u.AuthLevelUtil:40 [io-5443-exec-10] -
>>> Level Soap :: [GRANTED]
>>> DEBUG 03-18 17:14:58.864 o.a.o.w.UserWebService:107 [nio-5443-exec-9] -
>>> Login user
>>> DEBUG 03-18 17:14:58.874 o.a.o.d.d.u.UserDao:623 [nio-5443-exec-9] -
>>> login:: 1 users were found
>>> DEBUG 03-18 17:14:59.831 o.a.o.d.u.AuthLevelUtil:40 [nio-5443-exec-9] -
>>> Level Login :: [GRANTED]
>>> DEBUG 03-18 17:14:59.832 o.a.o.d.d.u.UserDao:640 [nio-5443-exec-9] -
>>> login user groups [GroupUser [id=1, moderator=false, group=Group [id=1,
>>> name=kam270, deleted=false], user=User [id=1, firstname=firstname,
>>> lastname=lastname, login=admin, pictureuri=null, deleted=false,
>>> languageId=1, address=Address [id=1, country=GB, street=null, town=null,
>>> zip=null, deleted=false, email=info@collisiondetection.biz,
>>> phone=null], externalId=null, type=user]]]
>>> DEBUG 03-18 17:14:59.840 o.a.o.d.d.s.SessiondataDao:78 [nio-5443-exec-9]
>>> - create :: create
>>> DEBUG 03-18 17:14:59.840 o.a.o.d.d.s.SessiondataDao:48 [nio-5443-exec-9]
>>> - startsession :: startsession
>>> DEBUG 03-18 17:14:59.849 o.a.o.w.UserWebService:114 [nio-5443-exec-9] -
>>> Login user: 1
>>> DEBUG 03-18 17:14:59.947 o.a.o.d.u.AuthLevelUtil:40 [nio-5443-exec-6] -
>>> Level Soap :: [GRANTED]
>>> DEBUG 03-18 17:14:59.948 o.a.o.w.UserWebService:308 [nio-5443-exec-6] -
>>> RemoteSessionObject [username=teacher, firstname=teacher, lastname=1,
>>> pictureUrl=null, email=teacher1@teacher1.com, externalUserId=3,
>>> externalUserType=moodle]
>>> DEBUG 03-18 17:14:59.951 o.a.o.w.UserWebService:312 [nio-5443-exec-6] -
>>> xmlString <remoteSessionObject>
>>>    <username>teacher</username>
>>>    <firstname>teacher</firstname>
>>>    <lastname>1</lastname>
>>>    <email>teacher1@teacher1.com</email>
>>>    <externalUserId>3</externalUserId>
>>>    <externalUserType>moodle</externalUserType>
>>> </remoteSessionObject>
>>> ERROR 03-18 17:15:00.193 o.a.o.w.a.WebSession:223 [nio-5443-exec-2] - *Unexpected
>>> exception while checking hashes*
>>> java.lang.IllegalArgumentException: No enum constant
>>> org.apache.openmeetings.db.entity.user.User.Type.USER
>>>         at java.base/java.lang.Enum.valueOf(Enum.java:240)
>>>         at
>>> org.apache.openmeetings.db.entity.user.User$Type.valueOf(User.java:133)
>>>         at
>>> org.apache.openmeetings.web.app.WebSession.isSignedIn(WebSession.java:181)
>>>         at
>>> org.apache.openmeetings.web.app.WebSession.checkHashes(WebSession.java:197)
>>>         at
>>> org.apache.openmeetings.web.pages.HashPage.onInitialize(HashPage.java:113)
>>>         at org.apache.wicket.Component.fireInitialize(Component.java:874)
>>>         at
>>> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1038)
>>>         at org.apache.wicket.Page.isPageStateless(Page.java:461)
>>>         at
>>> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageInfo(AbstractBookmarkableMapper.java:473)
>>>         at
>>> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:420)
>>>         at
>>> org.apache.wicket.core.request.mapper.MountedMapper.mapHandler(MountedMapper.java:155)
>>>         at
>>> org.apache.openmeetings.web.app.Application$NoVersionMapper.mapHandler(Application.java:336)
>>>         at
>>> org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:210)
>>>         at
>>> org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:454)
>>>         at
>>> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:233)
>>>         at
>>> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:202)
>>>         at
>>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:917)
>>>         at
>>> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:63)
>>>         at
>>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:283)
>>>         at
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:254)
>>>         at
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:222)
>>>         at
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:71)
>>>         at
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:207)
>>>         at
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:300)
>>>         at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>         at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>         at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
>>>         at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>>>         at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:643)
>>>         at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
>>>         at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
>>>         at
>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
>>>         at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
>>>         at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>>>         at
>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
>>>         at
>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>>>         at
>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860)
>>>         at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1591)
>>>         at
>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>>>         at
>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>>         at
>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>>         at
>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>>         at java.base/java.lang.Thread.run(Thread.java:834)
>>> ^C
>>> root@om-VirtualBox:/opt/logs#
>>>
>>>
>>> Thanks  for your  help
>>>
>>> Dan
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>>
>
> --
> Best regards,
> Maxim
>
>

-- 
Best regards,
Maxim

Mime
View raw message